Saturday, April 27, 2024
9
rated 0 times [  9] [ 0]  / answers: 1 / hits: 6876  / 2 Years ago, wed, october 19, 2022, 1:23:18

I'm using Ubuntu 21.10 impish indri.


For some specific hardware support, I'm advised to upgrade to kernel 5.16 (mainline). I tried manually installing the .deb files and installing them using dpkg -i. However, I'm getting dependency issues:


The following packages have unmet dependencies:
linux-headers-5.16.0-051600-generic : Depends: libssl3 (>= 3.0.0~~alpha1) but it is not installable

I ran sudo apt -f install and it suggested removing the 5.16 kernel packages. So, I removed them for now.


How can I install kernel 5.16 on Ubuntu 21.10 impish indri? I've all the repositories enabled with no additional PPAs.


More From » package-management

 Answers
2

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

[#833] Thursday, October 20, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
exceeeelh

Total Points: 21
Total Questions: 109
Total Answers: 120

Location: Marshall Islands
Member since Wed, Jan 5, 2022
2 Years ago
exceeeelh questions
;