尝试更新内核时遇到错误

尝试更新内核时遇到错误

我正在尝试在 Ubuntu 18.04 上将内核从 5.4 更新到 5.14,但出现了这个 dpkg 错误。有人能帮忙解决吗?

下载目录下的文件:

linux-headers-5.14.6-051406_5.14.6-051406.202109181232_all.deb
linux-headers-5.14.6-051406-generic_5.14.6-051406.202109181232_amd64.deb
linux-image-unsigned-5.14.6-051406-generic_5.14.6-051406.202109181232_amd64.deb
linux-modules-5.14.6-051406-generic_5.14.6-051406.202109181232_amd64.deb

终端:

computer@computer:~/Downloads$ sudo dpkg -i *.deb
(Reading database ... 152907 files and directories currently installed.)
Preparing to unpack linux-headers-5.14.6-051406_5.14.6-051406.202109181232_all.deb ...
Unpacking linux-headers-5.14.6-051406 (5.14.6-051406.202109181232) over (5.14.6-051406.202109181232) ...
Selecting previously unselected package linux-headers-5.14.6-051406-generic.
Preparing to unpack linux-headers-5.14.6-051406-generic_5.14.6-051406.202109181232_amd64.deb ...
Unpacking linux-headers-5.14.6-051406-generic (5.14.6-051406.202109181232) ...
Preparing to unpack linux-image-unsigned-5.14.6-051406-generic_5.14.6-051406.202109181232_amd64.deb ...
Unpacking linux-image-unsigned-5.14.6-051406-generic (5.14.6-051406.202109181232) over (5.14.6-051406.202109181232) ...
Preparing to unpack linux-modules-5.14.6-051406-generic_5.14.6-051406.202109181232_amd64.deb ...
Unpacking linux-modules-5.14.6-051406-generic (5.14.6-051406.202109181232) over (5.14.6-051406.202109181232) ...
Setting up linux-headers-5.14.6-051406 (5.14.6-051406.202109181232) ...
dpkg: dependency problems prevent configuration of linux-headers-5.14.6-051406-generic:
 linux-headers-5.14.6-051406-generic depends on libc6 (>= 2.34); however:
  Version of libc6:amd64 on system is 2.27-3ubuntu1.4.

dpkg: error processing package linux-headers-5.14.6-051406-generic (--install):
 dependency problems - leaving unconfigured
Setting up linux-modules-5.14.6-051406-generic (5.14.6-051406.202109181232) ...
Setting up linux-image-unsigned-5.14.6-051406-generic (5.14.6-051406.202109181232) ...
Processing triggers for linux-image-unsigned-5.14.6-051406-generic (5.14.6-051406.202109181232) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.14.6-051406-generic
I: The initramfs will attempt to resume from /dev/nvme0n1p6
I: (UUID=80f48344-6855-4294-a155-f314f4771cbc)
I: Set the RESUME variable to override this.
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.14.6-051406-generic
Found initrd image: /boot/initrd.img-5.14.6-051406-generic
Found linux image: /boot/vmlinuz-5.4.0-84-generic
Found initrd image: /boot/initrd.img-5.4.0-84-generic
Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
done
Errors were encountered while processing:
 linux-headers-5.14.6-051406-generic

相关内容