如何解决:处理 linux-image-5.4.0-77-generic 时 dpkg 错误退出状态 1

如何解决:处理 linux-image-5.4.0-77-generic 时 dpkg 错误退出状态 1

我刚刚在我的笔记本电脑上安装了 Linux Mint。当我尝试更新系统或安装语言包时,出现与 linux-image-5.4.0-77-generic 相关的错误。

例如,如果我执行命令sudo dpkg --configure -a(我发现这可以解决某些网页中的错误,但它不起作用,并且是重现错误的一种方法),我得到:

Setting up linux-image-5.4.0-77-generic (5.4.0-77.86) ...
Processing triggers for linux-image-5.4.0-77-generic (5.4.0-77.86) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.4.0-77-generic
   ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.4.0-77-generic
I: The initramfs will attempt to resume from /dev/sdb3
I: (UUID=d98bd037-090b-4643-8d5d-f0db45378205)
I: Set the RESUME variable to override this.
Error 24 : Write error : cannot write compressed block 
E: mkinitramfs failure cpio 141 lz4 -9 -l 24
update-initramfs: failed for /boot/initrd.img-5.4.0-77-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-5.4.0-77-generic (--configure):
 installed linux-image-5.4.0-77-generic package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 linux-image-5.4.0-77-generic

操作系统 Linux Mint 20.1 Cinnamon
Cinamon 版本 4.8.6
Linux 内核 5.4.0-74-generic
处理器 Intel© Core™ i5-8300H CPU @ 2.30GHz × 4
内存 15.5 GiB
硬盘 1756.4 GB
显卡 Intel Corporation UHD Graphics 630(移动版) ) (prog-if 00 [VGA 控制器])

相关内容