-   Ubuntu (
-   -   2 packages not upgraded after apt-get (USN-347-1 and USN-348-1) (

win32sux 09-18-2006 02:25 PM

2 packages not upgraded after apt-get (USN-347-1 and USN-348-1)
hi, i've just done an apt-get update/upgrade in order to take care of USN-347-1 and USN-348-1... i rebooted after doing that, as instructed (see below)... my question is regarding what i get now when i do apt-get update/ugrade:

win32sux@lisa:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
The following packages have been kept back:
  linux-image-386 linux-restricted-modules-386
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

what's the deal there?? plus i'm also having the GUI desktop tool telling me there are 4 updates available regardless... :confused:

i'm pretty new to ubuntu, so i apologize if this question has an obvious answer... oh, and here's what the USN said:

ATTENTION: Due to an unavoidable ABI change the Ubuntu 6.06 kernel
update has been given a new version number, which requires you to
recompile and reinstall all third party kernel modules you might have
installed. If you use linux-restricted-modules, you have to update
that package as well to get modules which work with the new kernel
version. Unless you manually uninstalled the standard kernel
metapackages (linux-386, linux-powerpc, linux-amd64-generic), a
standard system upgrade will automatically perform this as well.
i know it's definitely related to what is happening, but i'm not sure where i should proceed from here... any help would be, as always, greatly appreciated...

win32sux 09-18-2006 02:40 PM

okay i went into synaptic and the linux-restricted-modules and linux-image-386 packages appear as upgradable... i'm assuming that if i do an upgrade with synaptic things will work-out (hopefully)... but i would still very much like to learn how to deal with this using the command-line, since i don't like depending on any GUI administration tools... so any insight you could provide would be welcome... :study:

win32sux 09-18-2006 02:48 PM

okay i found this article and it seems that what i need to do is a:

apt-get dist-upgrade
i quote from the article in case it disappears in the future:

Sometimes when you go to upgrade your machine with apt-get you will see that a package is being "kept back".

Normally to upgrade a machine you would run:

apt-get update
apt-get upgrade

This should upgrade all the installed packages upon your machine (well at least all those packages which you have installed that have a newer version available), but it doesn't always do that.

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".

For example my apt-get upgrade today showed this:

root@sun:~# apt-get upgrade
Building Dependency Tree... Done
The following packages have been kept back:
  bind9-host dnsutils imagemagick libmagick6
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

There we can see four packages haven't been upgraded, even though newer packages are available. This is because two new packages were introduced, and these upgrades depend upon it.

To fix this you must run :

apt-get dist-upgrade
This will upgrade the packages that have newer versions available, and install any new dependencies which are required to do that.

root@sun:~# apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following NEW packages will be installed:
  libdns16 libdps1
The following packages will be upgraded:
  bind9-host dnsutils imagemagick libmagick6
4 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 3697kB of archives.
After unpacking 1860kB of additional disk space will be used.
Do you want to continue? [Y/n]

Here we can see the two new packages which are required to satisfy the dependencies of the upgrades, libdns16 and libdps1.
i'll try that then... i'm sure it'll do the trick... :)

win32sux 09-18-2006 03:11 PM

worked like a charm... cool!!! :)

All times are GMT -5. The time now is 06:06 PM.