I want to update my Kernel to the latest stable version which is v5.16.1
I followed a guide which showed how to install kernel 5.16
. Everything went fine until I received this error:
dpkg: dependency problems prevent configuration of linux-headers-5.16.1-051601-generic:
linux-headers-5.16.1-851601-generic depends on libc6 (>= 2.34); however:
Version of libc6:amd64 on system is 2.31-8ubuntu9.2.
linux-headers-5.16.1-851601-generic depends on libssl3 (>= 3.8.0--alphal); however:
Package libssl3 is not installed.
dpkg: error processing package linux-headers-5.16.1-051601-generic (--install):
dependency problems - leaving unconfigured Setting up linux-image-unsigned-5.16.1-051601-generic (5.16.1-051601.282201160933) ...
I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.13.0-27-generic
I: /boot/initrd.img.old is now a symlink to initrd.img-5.13.0-27-generic
I: /boot/vmlinuz is now a symlink to vmlinuz-5.16.1-051601-generic
I: /boot/initrd.img is now a symlink to initrd.img-5.16.1-051601-generic
Setting up linux-modules-5.16.1-051601-generic (5.16.1-051601.202201160933)
Processing triggers for linux-image-unsigned-5.16.1-051601-generic (5.16.1-051601.202201160933)
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.16.1-851681-generic
I: The initramfs will attempt to resume from /dev/sda2
I: (UUID=91b5f7d6-87fe-498a-a823-88828fa8256a)
I: Set the RESUME variable to override this.
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file 7etc/default/grub.
Sourcing file 7etc/default/grub.d/99_breeze-grub.cfg.
Sourcing file 7etc/default/grub.d/init-select.cfg. Generating grub configuration file ...
Found theme: /boot/grub/themes/breeze/theme.txt
Found linux image: /boot/vmlinuz-5.16.1-851681-generic
Found initrd image: /boot/initrd.img-5.16.1-051601-generic
Found linux image: /boot/vmlinuz-5.15.15-051515-generic
Found initrd image: /boot/initrd.img-5.15.15-851515-generic
Found linux image: /boot/vmlinuz-5.13.8-27-generic
Found initrd image: /boot/initrd.img-5.13.8-27-generic
Found linux image: /boot/vmlinuz-5.11.0-46-generic
Found initrd image: /boot/initrd.img-5.11.0-46-generic
Found linux image: /boot/vmlinuz-5.4.0-96-generic
Found initrd image: /boot/initrd.img-5.4.0-96-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
done
Errors were encountered while processing:
linux-headers-5.16.1-051681-generic
What are the dependencies and why are not they installed automatically while updating the kernel? I need a step by step guide to update the kernel to the latest one. Please help. I watched many youtube videos and they didn't have this error even after following the exact same steps.
I didn't get any satisfactory answers to this problem, please help me. My os is fully up-to-date. I'm new to linux and I can't use linux because of this problem because I want the latest kernel.
Hardware info:
- OS : Kubuntu 21.10 (Currently running Kernel 5.13)
- CPU: i3-8100
- Storage: 250GB NVMe M.2 SSD
- GPU : Nvidia GeForce GTX 1650
- RAM: 8GB 2400 MHz