Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
running lsb_release -a tells me I'm running jessie 8.0. I would like to upgrade to 8.8. After running aptitude update and then aptitude full-upgrade, it tells me that 0b will be installed.
this is what i get when i run apt-get upgrade:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
There's a certain magic for the sources.list. Which is probably better advertised in #debian on irc.freenode.org. But it looks something like this:
FILE: /etc/apt/sources.list
Code:
deb http://security.debian.org jessie/updates main contrib non-free
deb http://httpredir.debian.org/debian jessie main contrib non-free
deb http://httpredir.debian.org/debian jessie-updates main contrib non-free
deb-src http://httpredir.debian.org/debian jessie main contrib non-free
deb-src http://httpredir.debian.org/debian jessie-updates main contrib non-free
Where by default without customization it probably looks like this:
Code:
deb http://httpredir.debian.org/debian jessie main
full-upgrade is probably invalid, try apt-get upgrade
He was using aptitude full-upgrade, which certainly is not invalid. It is same as apt-get dist-upgrade. Anyway, if OP ran regular updates and upgrades, he should be on 8.8 now. What do you get from this:
Just a usage note for all those who might wonder what the difference is between apt-get upgrade and apt-get dist-upgrade.
Ignore the names. The only difference is that dist-upgrade handles changing dependencies of new versions of packages using a conflict resolution system (it attempts to upgrade the more important packages at the expense of less important ones if necessary). It may remove some packages as a result.
So, you're always safer with apt-get upgrade (after an apt-get update of course so that the latest repository information is downloaded). You should only use dist-upgrade as a possible means of resolving dependency conflicts if they arise.
Just a usage note for all those who might wonder what the difference is between apt-get upgrade and apt-get dist-upgrade.
Ignore the names. The only difference is that dist-upgrade handles changing dependencies of new versions of packages using a conflict resolution system (it attempts to upgrade the more important packages at the expense of less important ones if necessary). It may remove some packages as a result.
So, you're always safer with apt-get upgrade (after an apt-get update of course so that the latest repository information is downloaded). You should only use dist-upgrade as a possible means of resolving dependency conflicts if they arise.
Or, install new packages, which is what you get more often when you use it, specially on debian testing/ubuntu/mint where change of packages are more often. And that part with you are always safer with apt-get upgrade is not entirely true. Because some of those updates require new packages for security reasons and new kernels also require apt-get dist-upgrade.
True. I have never seen this on Mint, however, except during version number changes where it can be done in a more organised and controlled manner through Mint's update manager.
Quote:
Originally Posted by dejank
And that part with you are always safer with apt-get upgrade is not entirely true.
Fair enough. Replace "always" with "usually".
Quote:
Originally Posted by dejank
Because some of those updates require new packages for security reasons and new kernels also require apt-get dist-upgrade.
Once more, fair enough (although I have never seen the former).
Thanks, dejank, for providing some useful nuance to my black and white post.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.