ubuntu16.04 dpkg: error processing package *** (--configure): 大量包依赖错误

在给系统升级内核版本,执行了apt-get -f install,出现如下报错:

dpkg: error processing package plymouth-theme-ubuntu-text (--configure):
 dependency problems - leaving triggers unprocessed
No apport report written because MaxReports is reached already
                                                              dpkg: too many errors, stopping
Errors were encountered while processing:
 plymouth-theme-ubuntu-text
 plymouth-theme-ubuntu-text
 plymouth-theme-ubuntu-text
 plymouth-theme-ubuntu-text

……

plymouth-theme-ubuntu-text
plymouth-theme-ubuntu-text

Processing was halted because there were too many errors.

E: Sub-process /usr/bin/dpkg returned an error code (1)

解决办法:

vim /var/lib/dpkg/status

在该文件下面找到Package: plymouth-theme-ubuntu-text开头的整段内容,大概25行左右。删除,保存退出(25dd, :wq)

就是报错的包。

再执行apt-get -f install

报错&#x

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值