Either I'm confused or my PC is.
Ubuntu 14.10, relatively recent installation. apt-get update / upgrade / dist-upgrade completed and rebooted.
$ uname -r 3.13.0-46-generic
$ sudo apt-get install linux-headers-generic The following extra packages will be installed: linux-headers-3.16.0-34 linux-headers-3.16.0-34-generic The following NEW packages will be installed linux-headers-3.16.0-34 linux-headers-3.16.0-34-generic linux-headers-generic 0 to upgrade, 3 to newly install, 0 to remove and 0 not to upgrade.
Surely the headers should be matching the current kernel, and if 3.16.0 is out there why aren't I running it?
I discovered this off the back of trying to get VirtualBox to start, which it won't because it can't compile its drivers, because the headers are missing for the kernel it is running.
On 09/04/15 11:27, Mark Rogers wrote:
[]
Surely the headers should be matching the current kernel, and if 3.16.0 is out there why aren't I running it?
[] Nope, not necessarily. At boot time, grub displays (or more often than not nowadays, does not display) a boot-menu, from which you can choose which kernel version is loaded. Grub can be told to auto-load the most recent (topmost entry), or something like the third one down the list (I think), or a specific one. Depends how your grub is configured, and, it depends if you've rebooted since installing kernel updates. Could be you booted to 3.13, then installed kernel updates to 3.16, but haven't rebooted since.
To fix it, if you don't get a boot menu, google how to get it - esc, f1, space or f8 are possibilities. Then reboot, obtain a boot menu, see what it says, let it boot, then see what kernel version you get then!
Regards Steve
On 9 April 2015 at 15:35, steve-ALUG@hst.me.uk wrote:
Nope, not necessarily. At boot time, grub displays (or more often than not nowadays, does not display) a boot-menu, from which you can choose which kernel version is loaded.
I didn't check the boot menu but I did check /boot and I only had the older kernel.
I have however fixed it. For some reason I did not have linux-generic installed, it looks like I had a specific kernel version installed (not sure how?). Therefore I wasn't getting any kernel updates, and the assumption that linux-headers-generic would coincide with my kernel was false.
I'd love to know how I got latched onto a single kernel though.