This question is related to this one also. So I want to understand how do I find the last stable kernel for Ubuntu 14.04.2? Because with point release 2 it still confuses me. This is my current kernel:
apt-cache policy linux-image-`uname -r`
linux-image-3.16.0-30-generic:
Installed: 3.16.0-30.40~14.04.1
Candidate: 3.16.0-30.40~14.04.1
Version table:
*** 3.16.0-30.40~14.04.1 0
500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main i386 Packages
100 /var/lib/dpkg/status
As you know 14.04.2 is shipped with 3.16.0.30 kernel, though when I run:
apt-cache policy linux-image-generic
I get:
linux-image-generic:
Installed: (none)
Candidate: 3.13.0.52.59
Version table:
3.13.0.52.59 0
500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main i386 Packages
500 http://archive.ubuntu.com/ubuntu/ trusty-security/main i386 Packages
3.13.0.24.28 0
500 http://archive.ubuntu.com/ubuntu/ trusty/main i386 Packages
What's the point of installing linux-image-generic
if it shows kernels older than I'm even currently running?
Next, if I run:
apt-cache policy linux-image* | grep -i 14.04.1
I'll get listed with lots of kernels newer than mine. e.g.:
Candidate: 3.16.0-36.48~14.04.1
3.16.0-36.48~14.04.1 0
Candidate: 3.16.0-34.47~14.04.1
3.16.0-34.47~14.04.1 0
And if I run:
sudo apt-get dist-upgrade
It does nothing, the kernel stays the same. How should I behave in this situation? Should I upgrade the kernel manually?
UPDATE
Thanks to @Oli I finally solved my issue that confused me for a long time. In point release 2 of 14.04 LTS to check the current available HWE kernel:
apt-cache policy linux-generic-lts-utopic
it'll relpy e.g.:
linux-generic-lts-utopic:
Installed: 3.16.0.37.29
Candidate: 3.16.0.37.29
Version table:
*** 3.16.0.37.29 0
500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main i386 Packages
500 http://archive.ubuntu.com/ubuntu/ trusty-security/main i386 Packages
100 /var/lib/dpkg/status
If it has newer candidate you can upgrade it using the commands in the answer below.
-lts-utopic
packages installed. These meta packages will keep you on the latest Utopic kernels. When the-lts-vivid
HWE stack is released you can move to that. – Oli May 05 '15 at 12:23