LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 09-18-2006, 02:25 PM   #1
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Question 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:
Code:
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...

i'm pretty new to ubuntu, so i apologize if this question has an obvious answer... oh, and here's what the USN said:
Quote:
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...
 
Old 09-18-2006, 02:40 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Original Poster
Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
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...

Last edited by win32sux; 09-18-2006 at 03:03 PM.
 
Old 09-18-2006, 02:48 PM   #3
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Original Poster
Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
okay i found this article and it seems that what i need to do is a:
Code:
apt-get dist-upgrade
i quote from the article in case it disappears in the future:
Quote:
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:
Code:
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:
Code:
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 :
Code:
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.
Code:
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...
 
Old 09-18-2006, 03:11 PM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Original Poster
Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
worked like a charm... cool!!!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gslapt/slapt-get upgraded packages saf Slackware 4 05-31-2006 12:34 AM
apt-get: why is libssl0.9.8 not upgraded? coralsaw Debian 7 01-25-2006 12:44 PM
mount external usn hard-disk alaios Linux - Hardware 1 04-22-2005 02:14 PM
Keeping APT packages from being upgraded pilot1 Linux - General 0 04-12-2004 09:18 AM
Problems with upgraded XFree86 packages pmehta1613 Linux - Software 1 11-18-2003 08:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration