首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法安装或卸载软件

无法安装或卸载软件
EN

Ask Ubuntu用户
提问于 2023-01-11 07:03:24
回答 1查看 43关注 0票数 0

我一直试图删除Ubuntu20.04.4LTS机器上的一些软件,并收到了如下错误:

代码语言:javascript
复制
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'wine' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 356 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up initramfs-tools (0.136ubuntu6.7) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.136ubuntu6.7) ...
update-initramfs: Generating /boot/initrd.img-5.14.0-1038-oem
I: The initramfs will attempt to resume from /dev/sda5
I: (UUID=53828a0a-2523-4597-b0e3-3ae0138fc4e9)
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.14.0-1038-oem with 1.
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned 
error exit status 1
Errors were encountered while processing:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)  

我无法安装或删除任何软件。我怎样才能解决这个问题?

EN

回答 1

Ask Ubuntu用户

发布于 2023-01-11 16:01:19

试一试

代码语言:javascript
复制
sudo apt-get update

然后试着安装。请确保您已连接到互联网。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1449717

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档