升级出现问题后无法安装/清除/升级

升级出现问题后无法安装/清除/升级

我尝试将我的 Ubuntu 版本从 18 升级到 20。升级过程已完成,但实际上我的操作系统并未完全升级。我仍然看到旧的 GUI,并且有几项功能不起作用(备份、更新、设置窗口甚至没有打开)。

apt update然后我尝试了apt upgrade我的包但我总是收到与未满足的依赖关系相关的错误。

The following packages have unmet dependencies:
 account-plugin-tools : Depends: python3-gi but it is not going to be installed
 appmenu-qt : Depends: libqtcore4 (>= 4:4.8) but it is not installable
 apport : Depends: python3-gi but it is not going to be installed
 apport-gtk : Depends: python3-gi but it is not going to be installed
 aptdaemon : Depends: python3-gi but it is not going to be installed
 apturl : Depends: python3-gi but it is not going to be installed
 compiz-gnome : Depends: python3-gi but it is not going to be installed
 gedit : Depends: python3-gi (>= 3.0) but it is not going to be installed
 gnome-terminal : Depends: python3-gi but it is not going to be installed
 hplip : Depends: python3-gi but it is not going to be installed
 ibus : Depends: python3-gi but it is not going to be installed
 language-selector-gnome : Depends: python3-gi but it is not going to be installed
 libdbusmenu-qt2 : Depends: libqtcore4 (>= 4:4.7.0~beta1) but it is not installable
 libnss-systemd : Depends: systemd (= 237-3ubuntu10.57)
 libpam-systemd : Depends: systemd (= 237-3ubuntu10.57)
 libqt4-declarative : Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not installable
 libqt4-designer : Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not installable
 libqt4-help : Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not installable
 libqt4-network : Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not installable
 libqt4-script : Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not installable
 libqt4-scripttools : Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not installable
 libqt4-sql : Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not installable
 libqt4-sql-sqlite : Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not installable
 libqt4-svg : Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not installable
 libqt4-test : Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not installable
 libqt4-xml : Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not installable
 libqt4-xmlpatterns : Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not installable
 libqtassistantclient4 : Depends: libqtcore4 (>= 4:4.8.1) but it is not installable
 libqtdbus4 : Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not installable
 libqtgui4 : Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not installable
 libreoffice-common : Breaks: libreoffice-style-galaxy (>= 1:6.1~) but 1:6.4.7-0ubuntu0.20.04.8 is to be installed
                      Breaks: libreoffice-style-tango (>= 1:6.1~) but 1:6.4.7-0ubuntu0.20.04.8 is to be installed
 libsmbclient : Depends: samba-libs (= 2:4.7.6+dfsg~ubuntu-0ubuntu2.29) but 2:4.15.13+dfsg-0ubuntu0.20.04.7 is to be installed
 meld : Depends: python3-gi (>= 3.14) but it is not going to be installed
 networkd-dispatcher : Depends: python3-gi but it is not going to be installed
 onboard : Depends: python3 (>= 3.8~) but 3.6.7-1~18.04 is to be installed
 orca : Depends: python3-gi (>= 3.18) but it is not going to be installed
 pyqt4-dev-tools : Depends: libqtcore4 (>= 4:4.8.0-1~) but it is not installable
 python-qt4 : Depends: libqtcore4 (>= 4:4.8.0-1~) but it is not installable
 python-qt4-dbus : Depends: libqtcore4 (>= 4:4.8.0-1~) but it is not installable
 python-samba : Depends: python-tdb but it is not installable
                Depends: samba-libs (= 2:4.7.6+dfsg~ubuntu-0ubuntu2.29) but 2:4.15.13+dfsg-0ubuntu0.20.04.7 is to be installed
 python3 : PreDepends: python3-minimal (= 3.6.7-1~18.04) but 3.8.2-0ubuntu2 is to be installed
           Depends: libpython3-stdlib (= 3.6.7-1~18.04) but 3.8.2-0ubuntu2 is to be installed
 python3-all : Depends: python3 (= 3.8.2-0ubuntu2) but 3.6.7-1~18.04 is to be installed
 python3-all-dev : Depends: python3 (= 3.8.2-0ubuntu2) but 3.6.7-1~18.04 is to be installed
 python3-aptdaemon : Depends: python3-gi but it is not going to be installed
 python3-aptdaemon.gtk3widgets : Depends: python3-gi but it is not going to be installed
 python3-cairo : Depends: python3 (>= 3.8~) but 3.6.7-1~18.04 is to be installed
 python3-click-package : Depends: python3-gi but it is not going to be installed
 python3-dbus.mainloop.pyqt5 : Depends: python3 (>= 3.8~) but 3.6.7-1~18.04 is to be installed
 python3-dev : Depends: python3 (= 3.8.2-0ubuntu2) but 3.6.7-1~18.04 is to be installed
 python3-distutils : Depends: python3:any (>= 3.8.2-0~)
 python3-gi-cairo : Depends: python3-gi (= 3.26.1-2ubuntu1) but it is not going to be installed
 python3-lib2to3 : Depends: python3:any (>= 3.8.2-0~)
 python3-oneconf : Depends: python3-gi but it is not going to be installed
 python3-pyatspi : Depends: python3-gi (>= 2.90.1) but it is not going to be installed
 python3-pyqt4 : Depends: libqtcore4 (>= 4:4.8.0-1~) but it is not installable
 python3-pyqt5 : Depends: python3 (>= 3.8~) but 3.6.7-1~18.04 is to be installed
 python3-pyqt5.qtmultimedia : Depends: python3 (>= 3.8~) but 3.6.7-1~18.04 is to be installed
 python3-pyqt5.qtopengl : Depends: python3 (>= 3.8~) but 3.6.7-1~18.04 is to be installed
 python3-pyqt5.qtsvg : Depends: python3 (>= 3.8~) but 3.6.7-1~18.04 is to be installed
 python3-pyqt5.qtwebkit : Depends: python3 (>= 3.8~) but 3.6.7-1~18.04 is to be installed
 python3-renderpm : Depends: python3 (>= 3.8~) but 3.6.7-1~18.04 is to be installed
 python3-reportlab-accel : Depends: python3 (>= 3.8~) but 3.6.7-1~18.04 is to be installed
 python3-sip : Depends: python3 (>= 3.8~) but 3.6.7-1~18.04 is to be installed
 python3-software-properties : Depends: python3-gi but it is not going to be installed
 python3-systemd : Depends: python3 (>= 3.8~) but 3.6.7-1~18.04 is to be installed
 qdbus : Depends: libqtcore4 (= 4:4.8.7+dfsg-7ubuntu1) but it is not installable
 qt-at-spi : Depends: libqtcore4 (>= 4:4.8~) but it is not installable
 rhythmbox-plugin-alternative-toolbar : Depends: python3-gi but it is not going to be installed
 rhythmbox-plugins : Depends: python3-gi but it is not going to be installed
 samba : Depends: samba-libs (= 2:4.7.6+dfsg~ubuntu-0ubuntu2.29) but 2:4.15.13+dfsg-0ubuntu0.20.04.7 is to be installed
 samba-common-bin : Depends: samba-libs (= 2:4.7.6+dfsg~ubuntu-0ubuntu2.29) but 2:4.15.13+dfsg-0ubuntu0.20.04.7 is to be installed
 samba-dsdb-modules : Depends: samba-libs (= 2:4.7.6+dfsg~ubuntu-0ubuntu2.29) but 2:4.15.13+dfsg-0ubuntu0.20.04.7 is to be installed
                      Depends: libwbclient0 (= 2:4.7.6+dfsg~ubuntu-0ubuntu2.29) but 2:4.15.13+dfsg-0ubuntu0.20.04.7 is to be installed
 samba-libs : Depends: libldb2 (>= 2:2.4.4-0ubuntu0.20.04.2) but it is not going to be installed
              Depends: python3-ldb (>= 2:2.1.0) but it is not going to be installed
              Depends: python3-talloc (>= 2.3.1~) but it is not going to be installed
 samba-vfs-modules : Depends: samba-libs (= 2:4.7.6+dfsg~ubuntu-0ubuntu2.29) but 2:4.15.13+dfsg-0ubuntu0.20.04.7 is to be installed
 smbclient : Depends: samba-libs (= 2:4.7.6+dfsg~ubuntu-0ubuntu2.29) but 2:4.15.13+dfsg-0ubuntu0.20.04.7 is to be installed
 software-center-aptdaemon-plugins : Depends: python3-gi but it is not going to be installed
 software-properties-common : Depends: python3-gi but it is not going to be installed
 software-properties-gtk : Depends: python3-gi but it is not going to be installed
 system-config-printer : Depends: python3-gi but it is not going to be installed
 system-config-printer-common : Depends: python3-gi but it is not going to be installed
 system-image-common : Depends: python3-gi but it is not going to be installed
 systemd : Depends: libsystemd0 (= 245.4-4ubuntu3.22) but 237-3ubuntu10.57 is to be installed
 totem-plugins : Depends: python3-gi (>= 2.90.3) but it is not going to be installed
 ubuntu-release-upgrader-gtk : Depends: python3-gi (>= 3.8) but it is not going to be installed
 ubuntu-system-service : Depends: python3-gi but it is not going to be installed
 unattended-upgrades : Depends: python3-gi but it is not going to be installed
 unity : Depends: python3-gi but it is not going to be installed
 unity-scope-calculator : Depends: python3-gi but it is not going to be installed
 unity-scope-chromiumbookmarks : Depends: python3-gi but it is not going to be installed
 unity-scope-colourlovers : Depends: python3-gi but it is not going to be installed
 unity-scope-devhelp : Depends: python3-gi but it is not going to be installed
 unity-scope-firefoxbookmarks : Depends: python3-gi but it is not going to be installed
 unity-scope-manpages : Depends: python3-gi but it is not going to be installed
 unity-scope-openclipart : Depends: python3-gi but it is not going to be installed
 unity-scope-texdoc : Depends: python3-gi but it is not going to be installed
 unity-scope-tomboy : Depends: python3-gi but it is not going to be installed
 unity-scope-virtualbox : Depends: python3-gi but it is not going to be installed
 unity-scope-yelp : Depends: python3-gi but it is not going to be installed
 unity-scope-zotero : Depends: python3-gi but it is not going to be installed
 update-manager : Depends: python3-gi (>= 3.8) but it is not going to be installed
 usb-creator-gtk : Depends: python3-gi but it is not going to be installed
 xdiagnose : Depends: python3-gi (>= 3.2.0-3) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

我也尝试了它的建议:sudo apt --fix-broken install但再次出现了同样的错误。

另外还遵循了其他解决方案: 在更新中启用“universe”组件 使用 Aptitude,清除软件包,

sudo apt configure -a

无论我怎么尝试,我总是得到未满足依赖关系的消息

相关内容