使用“sudo apt upgrade”安装和更新软件时出错

使用“sudo apt upgrade”安装和更新软件时出错

我对 Linux 还不太熟悉,我运行的是 POP!OS。最近,当我尝试运行“sudo apt upgrade”时,出现了此错误

The following packages have unmet dependencies:
 aptitude : Depends: aptitude-common (= 0.8.13-3ubuntu1) but it is not going to be installed
            Depends: libcwidget4 (>= 0.5.18-1) but it is not going to be installed
            Depends: libxapian30 (>= 1.4.17~) but it is not going to be installed
 libavahi-client3:i386 : Depends: libdbus-1-3:i386 (>= 1.9.14) but it is not going to be installed
 libdrm-amdgpu1:i386 : Depends: libdrm2:i386 (>= 2.4.101) but it is not going to be installed
 libdrm-intel1:i386 : Depends: libdrm2:i386 (>= 2.4.38) but it is not going to be installed
 libdrm-nouveau2:i386 : Depends: libdrm2:i386 (>= 2.4.38) but it is not going to be installed
 libdrm-radeon1:i386 : Depends: libdrm2:i386 (>= 2.4.38) but it is not going to be installed
 libfontconfig1:i386 : Depends: libexpat1:i386 (>= 2.0.1) but it is not going to be installed
 libgbm1:i386 : Depends: libdrm2:i386 (>= 2.4.75) but it is not going to be installed
                Depends: libexpat1:i386 (>= 2.0.1) but it is not going to be installed
 libgudev-1.0-0:i386 : Depends: libudev1:i386 (>= 199) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

我试过跑

apt --fix-broken install

但这只会产生同样的错误

E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies

有人知道我该怎么做才能解决这个问题吗?

相关内容