我想将我的内核更新到最新的稳定版本,即v5.16.1。
我按照一个指南来安装内核5.16。一切都进行得很顺利,直到我遇到了这个错误:
什么是依赖关系,为什么在更新内核时它们不会自动安装?我需要一份逐步指南来将内核更新到最新版本。请帮忙。我看了很多YouTube视频,即使按照完全相同的步骤操作,也没有出现这个错误。
对于这个问题,我没有得到任何令人满意的答案,请帮助我。我的操作系统已经完全更新。我是Linux的新手,因为这个问题无法使用Linux,而我想要最新的内核。
硬件信息:
- 操作系统:Kubuntu 21.10(当前运行的内核版本为5.13) - CPU:i3-8100 - 存储:250GB NVMe M.2 SSD - GPU:Nvidia GeForce GTX 1650 - RAM:8GB 2400 MHz
我按照一个指南来安装内核5.16。一切都进行得很顺利,直到我遇到了这个错误:
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
什么是依赖关系,为什么在更新内核时它们不会自动安装?我需要一份逐步指南来将内核更新到最新版本。请帮忙。我看了很多YouTube视频,即使按照完全相同的步骤操作,也没有出现这个错误。
对于这个问题,我没有得到任何令人满意的答案,请帮助我。我的操作系统已经完全更新。我是Linux的新手,因为这个问题无法使用Linux,而我想要最新的内核。
硬件信息:
- 操作系统:Kubuntu 21.10(当前运行的内核版本为5.13) - CPU:i3-8100 - 存储:250GB NVMe M.2 SSD - GPU:Nvidia GeForce GTX 1650 - RAM:8GB 2400 MHz