[other] linux-image-unsigned-5.3.0-42-generic报错
Tofloor
poster avatar
追梦空间
deepin
2023-09-26 03:58
Author

cao@cao-PC:~/Desktop$ sudo apt-get -f install
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
有 1 个软件包没有被完全安装或卸载。
解压缩后会消耗 0 B 的额外空间。
正在设置 linux-image-unsigned-5.3.0-42-generic (5.3.0-42.34) ...
正在处理用于 linux-image-unsigned-5.3.0-42-generic (5.3.0-42.34) 的触发器 ...
/etc/kernel/postinst.d/dkms:
Error! echo
Your kernel headers for kernel 5.3.0-42-generic cannot be found at
/lib/modules/5.3.0-42-generic/build or /lib/modules/5.3.0-42-generic/source.
Error! echo
Your kernel headers for kernel 5.3.0-42-generic cannot be found at
/lib/modules/5.3.0-42-generic/build or /lib/modules/5.3.0-42-generic/source.
Error! echo
Your kernel headers for kernel 5.3.0-42-generic cannot be found at
/lib/modules/5.3.0-42-generic/build or /lib/modules/5.3.0-42-generic/source.
Error! echo
Your kernel headers for kernel 5.3.0-42-generic cannot be found at
/lib/modules/5.3.0-42-generic/build or /lib/modules/5.3.0-42-generic/source.
Error! The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch. This indicates that it should not be built.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.3.0-42-generic
cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries
nor crypto modules. If that's on purpose, you may want to uninstall the
'cryptsetup-initramfs' package in order to disable the cryptsetup initramfs
integration and avoid this warning.
setupcon is missing. Please install the 'console-setup' package.
I: The initramfs will attempt to resume from /dev/nvme0n1p3
I: (UUID=5c430ceb-8d0b-4178-b17e-e26acb926ed1)
I: Set the RESUME variable to override this.
live-boot: core filesystems devices utils udev blockdev dnsE: /usr/share/initramfs-tools/hooks/live failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.3.0-42-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: 处理软件包 linux-image-unsigned-5.3.0-42-generic (--configure)时出错:
已安装 linux-image-unsigned-5.3.0-42-generic 软件包 post-installation 脚本 子进程返回错误状态 1
在处理时有错误发生:
linux-image-unsigned-5.3.0-42-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

Reply Favorite View the author
All Replies

No replies yet