UbuntuThis forum is for the discussion of Ubuntu Linux.
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.
When i do apt-get upgrade, i sometimes get this message:
Code:
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.
Why are they kept back? How can i 'unkeep' them for all successive upgrades? I always have to specially say apt-get install to upgrade them.
Click here to see the post LQ members have rated as the most helpful post in this thread.
As far as I can tell, it's a kernel upgrade. If so, it's probably best to upgrade manually in case you have any third party kernel modules installed etc.
So, that's the only reason? I'm wondering because update-manager automatically upgrades every package it finds while apt-get keeps some back. And not only kernel updates, but also sometimes chromium-browser etc..
I've had similar experiences with the update-manager where it would upgrade the kernel and then some hardware wouldn't work correctly (e.g DVB-S2 cards using 3rd party modules such as s2-lilianin). Not sure why it would hold back the likes of chromium - maybe it had some unmet dependency which conflicted with something installed.
When i do apt-get upgrade, i sometimes get this message ...
Why are they kept back? How can i 'unkeep' them for all successive upgrades?
Instead of running: sudo apt-get upgrade you should run: sudo apt-get dist-upgrade. This will install any new packages that are in the updates.
From a lot of testing that I have done, using the GUI update-manager in Ubuntu is the same as doing:
Code:
sudo apt-get update
sudo apt-get dist-upgrade
Both update-manager and dist-upgrade will remove old packages and install new ones that are in the updates. Just running sudo apt-get upgrade will only install new versions of packages that you already have on your system.
Write back if you need more help.
Last edited by tommcd; 10-01-2010 at 01:28 AM.
Reason: corrected careless typo!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.