Score:3

I have Ubuntu 20.04.3 but not Linux 5.11, what's up?

us flag

I've confirmed that I got the point release update to 20.04.3 LTS with lsb_release -a, but uname -r shows that my kernel is still on 5.4.0-81-generic. Should I not be on 5.11? My machine running Ubuntu 21.04 is on 5.11.0-31-generic.

I found an old thread here which proposes using apt to install linux-generic, but I wanted to make sure it was still good advice.

Nmath avatar
ng flag
See also: [Why don't the Ubuntu repositories have the latest versions of software?](https://askubuntu.com/questions/151283/why-dont-the-ubuntu-repositories-have-the-latest-versions-of-software)
guiverc avatar
cn flag
Ubuntu 20.04 LTS Server defaults to the GA kernel; as do *flavors* of Ubuntu 20.04 LTS (eg. Lubuntu) with installs using the 20.04 & 20.04.1 media. Ubuntu 20.04 LTS Desktop & *flavors* using 20.04.2 or higher media however default to using the HWE kernel; so it's the ISO used to install your Ubuntu 20.04 LTS system which dictates which kernel set is default. It can be changed, and you can have both GA & HWE installed (selecting which you use at boot time, ie. `grub`)
Score:4
zw flag

You have to enable HWE stack for kernel by

sudo apt install --install-recommends linux-generic-hwe-20.04 

See release cycle for actual kernel versions.

raj avatar
cn flag
raj
Isn't this installed by default automatically? I have Ubuntu 20.04 and have the HWE kernel, but don't remember specifically installing the above package.
rs flag
@raj I may be completely wrong... it might be that if you install 20.04.1 or above it defaults to having hwe enabled, while if you install 20.04 (i.e. first release) it doesn't. I have some memory of something like this, but I'm very fuzzy on the details...
Score:4
ng flag

Presumably you are running Ubuntu 20.04 LTS on this machine because you have determined that it's more important for this machine to be stable rather than having newer, more bleeding edge software.

Ubuntu 20.04 currently uses Linux Kernel 5.4 unless you have enabled HWE or have manually upgraded the kernel beyond the version in repositories.

Unless you actually need the newer kernel version, it might be better to leave it alone if stability is more important to you than the newest versions of software.

KneadToKnow avatar
us flag
Thank you, Nmath! That explains the discrepancy perfectly.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.