Ubuntu – kernel 5.8 ppa for ubuntu 20.04

aptkernelppaupdates

I have a laptop with an AMD Ryzen 7 and ubuntu 20.04 installed. Various things wouldn't work initially: The screen wouldn't turn back on when resuming from sleep, the screen brightness fn-keys wouldn't work properly, I wasn't able to switch to wayland (I swear, there was no gear icon in the login screen). Possibly more, but that is what bothered me.

I was able to resolve all these issues by installing the 5.8 kernel line. Because I did this by manually downloading and installing .deb packages, I now have a few problems:

  • apt thinks it's appropriate to install the 5.4 kernel again once that package (linux-headers-…) receives updates.
  • To receive 5.8 kernel updates, I have to manually download and install the latest .deb packages.

All the sites that pop up when searching for "ubuntu 20.04 kernel 5.8 {ppa,updates}" only present manual solutions, be it via wget-ing .deb's, using a script, or using some other GUI application.

What I'm used to from ubuntu, would be to add a ppa to my /etc/apt/sources.list and after doing $ apt install linux-headers-5.8.x-x once, I would continue to receive updates by doing $ apt update && apt upgrade.

Is there such a ppa?

Best Answer

You can install the 5.8 kernel to Ubuntu 20.04 now by running

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

The kernel will get updates.

But if you wait some time (it is a matter of days) linux-generic-hwe-20.04 (without edge) will also pull the 5.8 kernel.

Update: Now we have linux-generic-hwe-20.04 pointing to the 5.8 kernel. If you've installed the edge, it is better to remove it by

sudo apt remove linux-{image,headers}-generic-hwe-20.04-edge
sudo apt install linux-generic-hwe-20.04