无法在 Ubuntu 中安装或卸载任何东西 - 处理因错误太多而停止 [英] Can't install or uninstall anything in Ubuntu - Processing was halted because there were too many errors

查看:61
本文介绍了无法在 Ubuntu 中安装或卸载任何东西 - 处理因错误太多而停止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试安装和卸载许多不同的程序.例如:

I tried to install and uninstall many different programs. For example:

sudo apt-get remove --purge ussp-push

sudo apt-get purge ruby

每次我在终端中得到这个输出.这似乎是在我尝试在我的机器上安装 MongoDB 后开始的.

And everytime I get this output in my terminal. This seems to have started after I tried installing MongoDB on my machine.

No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 libpam-systemd:amd64
 grub-pc
 virtualbox-dkms
 grub-efi-amd64-signed
 libssl1.1:amd64
 postgresql-common
 libdns-export1100
 openssl
 unattended-upgrades
 libdns1100:amd64
 mongodb-org-server
 bind9-host
 libisc169:amd64
 linux-headers-5.0.0-37-generic
 libisccc160:amd64
 libqt5network5:amd64
 linux-headers-generic-hwe-18.04
 libqt5webkit5:amd64
 mongodb-org-shell
 libisc-export169:amd64
 qtbase5-dev:amd64
 libirs160:amd64
 libbind9-160:amd64
//etc
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)

推荐答案

我遇到了同样的错误,这个命令帮了我

I got the same error and this command helped me out

dpkg --configure -a

这篇关于无法在 Ubuntu 中安装或卸载任何东西 - 处理因错误太多而停止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆