ubuntu Error 24 : Write error : cannot write compressed block
ubuntu 卸载linux-image Error 24 : Write error : cannot write compressed block
·
ubuntu 20.04因/boot空间不够,需要卸载不用的linux-image,通过命令查看linux-image:
dpkg --list | grep linux-image
输出:
> % dpkg --list | grep linux-image
rc linux-image-5.13.0-32-generic 5.13.0-32.35~20.04.1 amd64 Signed kernel image generic
rc linux-image-5.13.0-35-generic 5.13.0-35.40~20.04.1 amd64 Signed kernel image generic
rc linux-image-5.13.0-36-generic 5.13.0-36.41~20.04.1 amd64 Signed kernel image generic
rc linux-image-5.13.0-37-generic 5.13.0-37.42~20.04.1 amd64 Signed kernel image generic
rc linux-image-5.13.0-39-generic 5.13.0-39.44~20.04.1 amd64 Signed kernel image generic
rc linux-image-5.13.0-40-generic 5.13.0-40.45~20.04.1 amd64 Signed kernel image generic
rc linux-image-5.13.0-41-generic 5.13.0-41.46~20.04.1 amd64 Signed kernel image generic
rc linux-image-5.13.0-44-generic 5.13.0-44.49~20.04.1 amd64 Signed kernel image generic
rc linux-image-5.13.0-48-generic 5.13.0-48.54~20.04.1 amd64 Signed kernel image generic
ii linux-image-5.13.0-51-generic 5.13.0-51.58~20.04.1 amd64 Signed kernel image generic
ii linux-image-5.13.0-52-generic 5.13.0-52.59~20.04.1 amd64 Signed kernel image generic
ii linux-image-5.15.0-41-generic 5.15.0-41.44~20.04.1 amd64 Signed kernel image generic
it linux-image-5.15.0-43-generic 5.15.0-43.46~20.04.1 amd64 Signed kernel image generic
ii linux-image-generic-hwe-20.04 5.15.0.43.46~20.04.14 amd64 Generic Linux kernel image
执行卸载命令:
sudo apt purge linux-image-5.13.0-32-generic linux-image-5.13.0-35-generic
报错:
I: (UUID=e169a009-6ecc-4fb7-8279-757c1ebcd0bb)
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.15.0-41-generic with 1.
dpkg: 处理软件包 linux-firmware (--configure)时出错:
已安装 linux-firmware 软件包 post-installation 脚本 子进程返回错误状态 1
正在处理用于 linux-image-5.15.0-43-generic (5.15.0-43.46~20.04.1) 的触发器 ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.15.0-43-generic
W: Possible missing firmware /lib/firmware/amdgpu/yellow_carp_gpu_info.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vangogh_gpu_info.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_mec2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_me.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_pfp.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_ce.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_sdma1.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_sdma.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_mes.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi10_mes.bin for module amdgpu
I: The initramfs will attempt to resume from /dev/nvme0n1p5
I: (UUID=e169a009-6ecc-4fb7-8279-757c1ebcd0bb)
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.15.0-43-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: 处理软件包 linux-image-5.15.0-43-generic (--configure)时出错:
已安装 linux-image-5.15.0-43-generic 软件包 post-installation 脚本 子进程返回错误状态 1
在处理时有错误发生:
linux-firmware
linux-image-5.15.0-43-generic
改用 dpkg --purge --force-remove-reinstreq 卸载成功:
sudo dpkg --purge --force-remove-reinstreq linux-image-5.13.0-32-generic linux-image-5.13.0-35-generic
输出:
(正在读取数据库 ... 系统当前共安装有 382845 个文件和目录。)
正在清除 linux-image-5.13.0-32-generic (5.13.0-32.35~20.04.1) 的配置文件 ...
正在清除 linux-image-5.13.0-35-generic (5.13.0-35.40~20.04.1) 的配置文件 ...
更多推荐
已为社区贡献1条内容
所有评论(0)