"packages have been kept back"

3 replies [Last post]
WootMoon
Offline
Joined: 03/06/2013

I run Trisquel 6.0 64bits on VBox. When updating I get the following message:

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

uname -r tells me the current kernel is "3.2.0-38-generic", but on the "lib/modules" folder I have a "3.2.0-40-generic" one as well. Why apt-get is keeping the system from upgrading the kernel, even though I already have some downloaded packages from the new one?

GustavoCM

I am a member!

Offline
Joined: 11/20/2012

Try "apt-get dist-upgrade". See the man page for apt-get(8) for more info.

patu
Offline
Joined: 05/25/2013

Try:

apt-cache show linux-image-generic

It will show you the latest kernel available in the first "depends" section.

Packages are kept back when there is a new package that needs to be installed to satisfy dependencies while upgrading.
If you want to upgrade your kernel, type:

sudo apt-get dist-upgrade

WootMoon
Offline
Joined: 03/06/2013

Ok, I got it. Upgrading now, thank you! :)