Ubuntu 6.06 Server

Brazen

Diamond Member
Jul 14, 2000
4,259
0
0
can someone tell me what this means:
sudo apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
The following packages have been kept back:
linux-image-server
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
 

Brazen

Diamond Member
Jul 14, 2000
4,259
0
0
Ok, answered my own question. From here:
If the dependencies have changed on one of the packages you have installed so that a new package must be installed to perform the upgrade then that will be listed as "kept-back".

To tell apt-get to go ahead and install the new dependancies, I need to use this:
sudo apt-get dist-upgrade
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
dist-upgrade should only be used when switching distributions and not for normal upgrades. If you get into the habit of dist-upgrading whenever apt says something odd eventually you'll screw yourself. This is one of the reasons why I use aptitude (and used to use dselect before it was deprecated), they give you more information and control over what's going on before you actually commit and do it.
 

Brazen

Diamond Member
Jul 14, 2000
4,259
0
0
In this case anyway, it looks like it was just wanting to update my kernel. The article doesn't seem to be wary of doing a dist-upgrade. My repositories are all just the standard Dapper repos, so I find it hard to believe this would ever be an issue.

Just for kicks though, I am just now switching to the Edgy repos and doing a dist-upgrade to see if this file server will survive it :) I don't think I'm going to end up using Ubuntu, though it is working a lot better than testing with my CentOS file server (basically, due to Ubuntu supporting XFS and a newer version of Samba). I think I'm probably going to end up using Debian stable.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
My repositories are all just the standard Dapper repos, so I find it hard to believe this would ever be an issue.

Doesn't matter, dist-upgrade gives apt the power to remove packages and such so you could be surprised to see something disappear if you're not careful. IMO it's better overall to learn how to use aptitude anyway, it lets you do more and actually tells you why something needs done or is broken.
 

Brazen

Diamond Member
Jul 14, 2000
4,259
0
0
Ah, I see what you're saying. Apt-get did tell me, though, what packages were going to be installed (and I did read it, not just blindly answered "Y") and I would assume would tell you if anything was going to be removed. Eventually, I may try to get comfortable with aptitude.