View Full Version : [SOLVED] Upgrade kernel via apt-get

July 3rd, 2012, 05:54 PM
Hi all,

I'm attempting to upgrade the kernel in 12.04 via apt-get, which by default has the three relevant packages held back (linux-generic, linux-headers-generic, linux-image-generic). I figured the standard method of unholding packages via dpkg would solve this, so I tried:

sudo su
echo "linux-generic install" | dpkg --set-selections
echo "linux-headers-generic install" | dpkg --set-selections
echo "linux-image-generic install" | dpkg --set-selections
sudo apt-get update
sudo apt-get upgrade
However the packages still remain held back. What am I missing here?

(Note: I want to upgrade the kernel via apt-get from the default source(s), so alternative methods using PPAs, .debs or compiling manually are not what I want)

July 3rd, 2012, 05:56 PM

sudo apt-get update; sudo apt-get dist-upgrade

July 3rd, 2012, 06:08 PM
Ha, completely slipped my mind about dist-upgrade. Been too long since I last used apt-get!