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 220.127.116.11 kernel, though when I run:
apt-cache policy linux-image-generic
linux-image-generic: Installed: (none) Candidate: 18.104.22.168.59 Version table: 22.214.171.124.59 0 500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main i386 Packages 500 http://archive.ubuntu.com/ubuntu/ trusty-security/main i386 Packages 126.96.36.199.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?
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: 188.8.131.52.29 Candidate: 184.108.40.206.29 Version table: *** 220.127.116.11.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.