4

I just manually installed the mainline 5.16.2 kernel. I need it for the new alder lake cpu/igpu support.

The problem is that the headers for this kernel were not installed (and not installable), since a newer version of libc6 is required, as well as libssl.

The following packages have unmet dependencies:
 linux-headers-5.16.2-051602-generic : Depends: libc6 (>= 2.34) but 2.31-0ubuntu9.2 is installed
                                       Depends: libssl3 (>= 3.0.0~~alpha1) but it is not installable

Is there a workaround? If not, I can attempt and compile and configure the kernel from scratch, but all the links and guides I found about that are incredibly old, so I don't trust them.

EDIT: I'm on Kubuntu 20.04. I have an Alder Lake CPU, and also a Nvidia A6000 video card. The integrated graphics on Alder Lake has to provide the video output, so that the A6000 is left alone for computation. That's why I needed the 5.16 kernel.

EDIT2: I solved the problem by uplifting my whole distro to 22.04. Hardly the best solution (for obvious reasons).

Error404
  • 8,278
  • 3
  • 35
  • 60
MadHatter
  • 501

1 Answers1

2

TL;DR: Upgrade your system to 21.10 or wait for 22.04 to be released; Kernel 5.16 is unstable.

There are two problems, libc6 and libssl3.

After reading the above we can conclude that one can NOT install kernel 5.16 on Ubuntu 20.04 LTS focal fossa.

Don't want to lose hope? There are a few things to try.

  • Most of the drivers from 5.16 are also available in 5.13.9, you can try installing that kernel.

  • Upgrade to Ubuntu 21.10

  • Upgrade to Ubuntu 22.04

  • There is a PPA for mainline kernels available for LTS. If you'd like to test the PPA then run the following commands:

    sudo add-apt-repository ppa:tuxinvader/lts-mainline
    sudo apt update
    

    Install the kernel:

    sudo apt update
    sudo apt install linux-5.16.2
    sudo apt -f install
    
  • You may try installing all the packages manually from deb files but they may fully break, It may convert your system to a toaster! Don't go for that.

  • The only thing to try is temporarily adding the Jammy repositories and manually installing the correct version of packages. But Jammy repositories are unstable and they may also convert your system to a toaster!

N.B: If you're using NVIDIA graphics cards, your drivers may fail to compile. Kernel 5.16 is mainline and pretty unstable. Make sure to have a backup before doing something that can convert your system into a toaster ;)

"toaster" means it can make your system unopertable. Just like using Linux on a toaster.

Error404
  • 8,278
  • 3
  • 35
  • 60