TL;DR: You can manually install the package from 22.04 repositories.
Ubuntu mainline kernel 5.15.7+ and 5.16 bumps the requirement from libssl1.1 (>= 1.1.0)
to libssl3 (>= 3.0.0~~alpha1)
. However, package libssl3
is not available for Ubuntu 21.10 impish indri.. It's only available for Ubuntu 22.04 jammy jellyfish which is not yet released.
libssl3
further depends on libc6
>=2.34
and debconf
which are available in 21.10 repositories.
So, you can manually install libssl3
from Jammy Jellyfish repositories. You'll not have any problems in doing that unless you've done something really strange with your system.
To install libssl3
on Ubuntu 21.10, run the following commands:
sudo apt update
sudo apt install libc6 debconf
wget http://mirrors.kernel.org/ubuntu/pool/main/o/openssl/libssl3_3.0.1-0ubuntu1_amd64.deb
sudo dpkg -i libssl3_3.0.1-0ubuntu1_amd64.deb
sudo apt -f install
Now, you can install the kernel 5.16 on Ubuntu 21.10 without any issues.
Keep in mind that mainline kernels have not been tested with their release of Ubuntu. That means YOU are doing the testing. You may encounter the unexpected. Ubuntu prefers stable LTS kernels over unstable mainline kernels.
You can use the following commands to install the unsigned kernel 5.16 (don't worry about unsigned unless you are using secure boot):
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.16/amd64/linux-headers-5.16.0-051600_5.16.0-051600.202201092355_all.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.16/amd64/linux-headers-5.16.0-051600-generic_5.16.0-051600.202201092355_amd64.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.16/amd64/linux-image-unsigned-5.16.0-051600-generic_5.16.0-051600.202201092355_amd64.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.16/amd64/linux-modules-5.16.0-051600-generic_5.16.0-051600.202201092355_amd64.deb
sudo dpkg -i linux*.deb
sudo apt -f install