Sometimes ubuntu forgets to update the kernel on upgrade

published Feb 04, 2016 10:06   by admin ( last modified Feb 04, 2016 10:06 )

On an Ubuntu 15.04 computer I could not install linux-headers for the right kernel versions. Turned out that the kernel installed was from an older Ubuntu, that did not have any corresponding kernel headers in the enabled repositories. Doing the apt-get update && apt-get upgrade dance made no difference.

Sneaky.

I did sudo apt-get install linux-generic and bob's your uncle.

 

This is a bug in the distribution upgrade script. You can install the correct kernel by running: sudo apt-get install linux-generic After a reboot you should have the 4.2 kernel.


Read more: Link - upgrade - Ubuntu kernel not updating with 15.10 - Ask Ubuntu