PDA

View Full Version : [SOLVED] Unable to upgrade certain packages



patman0623
January 13th, 2010, 04:28 AM
I am unable to upgrade certain core packages, and I can't seem to find a reason.

Let me show you my apt-get and aptitude output:
apt-get:

The following packages have been kept back:
linux-generic linux-headers-generic linux-image-generic
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
aptitude why-not:

patrick@patrick-laptop:~$ aptitude why-not linux-headers-generic
Unable to find a reason to remove linux-headers-generic.
patrick@patrick-laptop:~$ aptitude why-not linux-generic
Unable to find a reason to remove linux-generic.
patrick@patrick-laptop:~$ aptitude why-not linux-image-generic
Unable to find a reason to remove linux-image-generic.

There seems to be little on the internet concerning this return code for aptitude why-not. Any thoughts on how I can get my linux image upgraded?

slakkie
January 13th, 2010, 03:23 PM
do

aptitude -s full-upgrade and post the output.

Ps. which version are you running (lsb_release -a)?

patman0623
January 13th, 2010, 11:39 PM
Ubuntu 9.10 64

My output (I changed the actual output on my last statement, I also have a conflict with wine but I know the reason behind that:


The following NEW packages will be installed:
linux-headers-2.6.31-17{a} linux-headers-2.6.31-17-generic{a}
linux-image-2.6.31-17-generic
The following packages will be REMOVED:
lib32nss-mdns{u} winbind{u} wine{a} wine-gecko{u}
The following packages will be upgraded:
linux-generic linux-headers-generic linux-image-generic
3 packages upgraded, 3 newly installed, 4 to remove and 0 not upgrade

patman0623
January 15th, 2010, 06:34 PM
bump

slakkie
January 15th, 2010, 09:20 PM
You can upgrade them safely from what I can see.

If you run aptitude safe-upgrade (I should have told you that in the previous post) prior to the full upgrade you will even have less to worry about.

patman0623
January 15th, 2010, 10:28 PM
Thanks a million - I can presume then that my previous version of the Linux image had been mismarked as "keep" in the package manager? I'm still a bit unclear even after reading the documentation.