首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >运行软件更新后使用Ubuntu18.04的坏包系统

运行软件更新后使用Ubuntu18.04的坏包系统
EN

Ask Ubuntu用户
提问于 2020-07-14 02:37:20
回答 1查看 3.1K关注 0票数 0

运行软件更新后使用Ubuntu18.04的坏包系统

我从gui运行了软件更新程序,这个错误弹出了,我没有启用任何ppa或存储库

我怎么才能解决这个问题?

我也跑了

sudo apt --修复坏了的安装

代码语言:javascript
运行
复制
useoh@s12s72:~$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libllvm10 libllvm10:i386 linux-gcp-5.3-tools-5.3.0-1026 linux-gcp-5.3-tools-5.3.0-1029
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  linux-image-4.15.0-111-generic
Suggested packages:
  fdutils linux-doc-4.15.0 | linux-source-4.15.0 linux-headers-4.15.0-111-generic
The following NEW packages will be installed:
  linux-image-4.15.0-111-generic
0 upgraded, 1 newly installed, 0 to remove and 22 not upgraded.
2 not fully installed or removed.
Need to get 0 B/8,008 kB of archives.
After this operation, 8,411 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 972697 files and directories currently installed.)
Preparing to unpack .../linux-image-4.15.0-111-generic_4.15.0-111.112_amd64.deb ...
Unpacking linux-image-4.15.0-111-generic (4.15.0-111.112) ...
dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
dpkg-deb: error: <decompress> subprocess returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/linux-image-4.15.0-111-generic_4.15.0-111.112_amd64.deb (--unpack):
 dpkg-deb --fsys-tarfile subprocess returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-4.15.0-111-generic_4.15.0-111.112_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2020-07-14 03:32:53

它就在你的输出中:一个损坏的包。

代码语言:javascript
运行
复制
    Unpacking linux-image-4.15.0-111-generic (4.15.0-111.112) ...
    dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
  1. 从存档中删除损坏的包: sudo apt干净的linux-image-4.15.0-111-泛型
  2. 重新下载正确的软件包: sudo apt升级
票数 2
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1258859

复制
相关文章

相似问题

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