损坏的软件包和 Ubuntu 从 20.10 升级到 21.04 的问题

损坏的软件包和 Ubuntu 从 20.10 升级到 21.04 的问题

之前我从 20.04 升级到了 20.10

为了将 Ubuntu 从 20.10 升级到 21.04,我这样做了

sudo do-release-upgrade 

发生以下错误

An unresolvable problem occurred while calculating the upgrade. 

If none of this applies, then please report this bug using the 
command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal. If 
you want to investigate this yourself the log files in 
'/var/log/dist-upgrade' will contain details about the upgrade. 
Specifically, look at 'main.log' and 'apt.log'. 

通过执行此命令

 grep Broken /var/log/dist-upgrade/apt.log

我收到了一份破损包裹的清单。

Broken libsmbclient:amd64 Depends on libwbclient0:amd64 < 2:4.12.5+dfsg-3ubuntu4.4 -> 2:4.13.3+dfsg-1ubuntu2.1 @ii umU > (= 2:4.12.5+dfsg-3ubuntu4.4)
Broken sssd:amd64 Depends on sssd-ad:amd64 < 2.3.1-3ubuntu4 @ii umH Ib > (= 2.4.0-1ubuntu6)
Broken libtss2-mu0:amd64 Breaks on libtss2-esys0:amd64 < 3.0.1-1 @ii mK > (< 3.0.1-2)
Broken vim:amd64 Depends on vim-common:amd64 < 2:8.2.0716-3ubuntu2 -> 2:8.2.2434-1ubuntu1 @ii umU > (= 2:8.2.0716-3ubuntu2)
Broken hplip:amd64 Depends on hplip-data:amd64 < 3.20.5+dfsg0-3build1 -> 3.21.2+dfsg1-2 @ii umU > (= 3.20.5+dfsg0-3build1)
Broken hplip:amd64 Depends on libhpmud0:amd64 < 3.20.5+dfsg0-3build1 -> 3.21.2+dfsg1-2 @ii umU > (= 3.20.5+dfsg0-3build1)
Broken hplip:amd64 Depends on libsane-hpaio:amd64 < 3.20.5+dfsg0-3build1 -> 3.21.2+dfsg1-2 @ii umU IPb > (= 3.20.5+dfsg0-3build1)
Broken hplip:amd64 Depends on printer-driver-hpcups:amd64 < 3.20.5+dfsg0-3build1 -> 3.21.2+dfsg1-2 @ii umU > (= 3.20.5+dfsg0-3build1)
Broken hplip:amd64 Depends on python3:amd64 < 3.8.6-0ubuntu1 -> 3.9.4-1 @ii umU > (< 3.9)
Broken libsrt1.4-gnutls:amd64 Breaks on libsrt1-gnutls:amd64 < 1.4.1-5build1 @ii mK >
Broken sssd-ad:amd64 Depends on libsss-idmap0:amd64 < 2.3.1-3ubuntu4 -> 2.4.0-1ubuntu6 @ii umU > (= 2.3.1-3ubuntu4)
Broken sssd-ipa:amd64 Depends on libipa-hbac0:amd64 < 2.3.1-3ubuntu4 -> 2.4.0-1ubuntu6 @ii umU > (= 2.3.1-3ubuntu4)
Broken sssd-ipa:amd64 Depends on libsss-idmap0:amd64 < 2.3.1-3ubuntu4 -> 2.4.0-1ubuntu6 @ii umU > (= 2.3.1-3ubuntu4)
Broken python3-talloc:amd64 Depends on libtalloc2:amd64 < 2.3.1-1 -> 2.3.1-2ubuntu1 @ii umU > (= 2.3.1-1)
Broken python3-ldb:amd64 Depends on libldb2:amd64 < 2:2.1.4-2ubuntu0.1 -> 2:2.2.0-3ubuntu2 @ii umU > (= 2:2.1.4-2ubuntu0.1)
Broken python3-dev:amd64 Depends on python3:amd64 < 3.8.6-0ubuntu1 -> 3.9.4-1 @ii umU > (= 3.8.6-0ubuntu1)
Broken sssd-ad-common:amd64 Depends on samba-libs:amd64 < 2:4.12.5+dfsg-3ubuntu4.4 @ii umH Ib > (>= 2:4.13.3+dfsg)
Broken libomp5-12:amd64 Conflicts on libomp-x.y:amd64 < none @un H >
Broken samba-libs:amd64 Depends on python3-ldb:amd64 < 2:2.1.4-2ubuntu0.1 @ii umR > (>= 2:2.1.0)
Broken samba-libs:amd64 Depends on python3-talloc:amd64 < 2.3.1-1 @ii umR > (>= 2.3.1~)
Broken python3-talloc:amd64 Depends on libtalloc2:amd64 < 2.3.1-1 -> 2.3.1-2ubuntu1 @ii umU > (= 2.3.1-1)
Broken python3-ldb:amd64 Depends on libldb2:amd64 < 2:2.1.4-2ubuntu0.1 -> 2:2.2.0-3ubuntu2 @ii umU > (= 2:2.1.4-2ubuntu0.1)
Broken samba-libs:amd64 Depends on python3-ldb:amd64 < 2:2.1.4-2ubuntu0.1 @ii umR > (>= 2:2.1.0)
Broken samba-libs:amd64 Depends on python3-talloc:amd64 < 2.3.1-1 @ii umR > (>= 2.3.1~)
Broken python3-talloc:amd64 Depends on libtalloc2:amd64 < 2.3.1-1 -> 2.3.1-2ubuntu1 @ii umU > (= 2.3.1-1)
Broken python3-ldb:amd64 Depends on libldb2:amd64 < 2:2.1.4-2ubuntu0.1 -> 2:2.2.0-3ubuntu2 @ii umU > (= 2:2.1.4-2ubuntu0.1)
Broken samba-libs:amd64 Depends on python3-ldb:amd64 < 2:2.1.4-2ubuntu0.1 @ii umR > (>= 2:2.1.0)
Broken libsmbclient:amd64 Depends on samba-libs:amd64 < 2:4.12.5+dfsg-3ubuntu4.4 @ii umR > (= 2:4.12.5+dfsg-3ubuntu4.4)
Broken gnome-control-center:amd64 Depends on libsmbclient:amd64 < 2:4.12.5+dfsg-3ubuntu4.4 @ii umR > (>= 2:4.0.3+dfsg1)
Broken libsmbclient:amd64 Depends on samba-libs:amd64 < 2:4.12.5+dfsg-3ubuntu4.4 @ii umR > (= 2:4.12.5+dfsg-3ubuntu4.4)
Broken samba-libs:amd64 Depends on python3-ldb:amd64 < 2:2.1.4-2ubuntu0.1 @ii umR > (>= 2:2.1.0)
Broken samba-libs:amd64 Depends on python3-talloc:amd64 < 2.3.1-1 @ii umR > (>= 2.3.1~)
Broken libsmbclient:amd64 Depends on samba-libs:amd64 < 2:4.12.5+dfsg-3ubuntu4.4 @ii umR > (= 2:4.12.5+dfsg-3ubuntu4.4)
Broken gnome-control-center:amd64 Depends on libsmbclient:amd64 < 2:4.12.5+dfsg-3ubuntu4.4 @ii umR > (>= 2:4.0.3+dfsg1)
Broken gvfs-backends:amd64 Depends on libsmbclient:amd64 < 2:4.12.5+dfsg-3ubuntu4.4 @ii umR > (>= 2:4.12.0+dfsg)
Broken ubuntu-desktop-minimal:amd64 Depends on gnome-control-center:amd64 < 1:3.38.3-0ubuntu1 | 1:3.38.5-1ubuntu1 @ii umR >
Broken ubuntu-desktop:amd64 Depends on gnome-control-center:amd64 < 1:3.38.3-0ubuntu1 | 1:3.38.5-1ubuntu1 @ii umR >
Broken libsmbclient:amd64 Depends on samba-libs:amd64 < 2:4.12.5+dfsg-3ubuntu4.4 @ii ugR > (= 2:4.12.5+dfsg-3ubuntu4.4)
Broken hplip:amd64 Depends on hplip-data:amd64 < 3.20.5+dfsg0-3build1 -> 3.21.2+dfsg1-2 @ii ugU > (= 3.20.5+dfsg0-3build1)
Broken hplip:amd64 Depends on libhpmud0:amd64 < 3.20.5+dfsg0-3build1 -> 3.21.2+dfsg1-2 @ii ugU > (= 3.20.5+dfsg0-3build1)
Broken hplip:amd64 Depends on libsane-hpaio:amd64 < 3.20.5+dfsg0-3build1 -> 3.21.2+dfsg1-2 @ii ugU IPb > (= 3.20.5+dfsg0-3build1)
Broken hplip:amd64 Depends on printer-driver-hpcups:amd64 < 3.20.5+dfsg0-3build1 -> 3.21.2+dfsg1-2 @ii ugU > (= 3.20.5+dfsg0-3build1)
Broken hplip:amd64 Depends on python3:amd64 < 3.8.6-0ubuntu1 -> 3.9.4-1 @ii umU > (< 3.9)
Broken samba-libs:amd64 Depends on python3-ldb:amd64 < 2:2.1.4-2ubuntu0.1 @ii ugR > (>= 2:2.1.0)
Broken libsmbclient:amd64 Depends on samba-libs:amd64 < 2:4.12.5+dfsg-3ubuntu4.4 @ii ugR > (= 2:4.12.5+dfsg-3ubuntu4.4)
Broken samba-libs:amd64 Depends on python3-ldb:amd64 < 2:2.1.4-2ubuntu0.1 @ii ugR > (>= 2:2.1.0)
Broken libsmbclient:amd64 Depends on samba-libs:amd64 < 2:4.12.5+dfsg-3ubuntu4.4 @ii ugR > (= 2:4.12.5+dfsg-3ubuntu4.4)
Broken samba-libs:amd64 Depends on python3-ldb:amd64 < 2:2.1.4-2ubuntu0.1 @ii ugR > (>= 2:2.1.0)
Broken samba-libs:amd64 Depends on python3-talloc:amd64 < 2.3.1-1 @ii ugR > (>= 2.3.1~)
Broken python3-talloc:amd64 Depends on libtalloc2:amd64 < 2.3.1-1 -> 2.3.1-2ubuntu1 @ii umU > (= 2.3.1-1)
Broken python3-ldb:amd64 Depends on libldb2:amd64 < 2:2.1.4-2ubuntu0.1 -> 2:2.2.0-3ubuntu2 @ii umU > (= 2:2.1.4-2ubuntu0.1)
Broken samba-libs:amd64 Depends on python3-ldb:amd64 < 2:2.1.4-2ubuntu0.1 @ii ugR > (>= 2:2.1.0)
Broken libsmbclient:amd64 Depends on samba-libs:amd64 < 2:4.12.5+dfsg-3ubuntu4.4 @ii ugR > (= 2:4.12.5+dfsg-3ubuntu4.4)
Broken gnome-control-center:amd64 Depends on libsmbclient:amd64 < 2:4.12.5+dfsg-3ubuntu4.4 @ii umR > (>= 2:4.0.3+dfsg1)
Broken libsmbclient:amd64 Depends on samba-libs:amd64 < 2:4.12.5+dfsg-3ubuntu4.4 @ii ugR > (= 2:4.12.5+dfsg-3ubuntu4.4)
Broken samba-libs:amd64 Depends on python3-ldb:amd64 < 2:2.1.4-2ubuntu0.1 @ii ugR > (>= 2:2.1.0)
Broken samba-libs:amd64 Depends on python3-talloc:amd64 < 2.3.1-1 @ii ugR > (>= 2.3.1~)
Broken python3-talloc:amd64 Depends on libtalloc2:amd64 < 2.3.1-1 -> 2.3.1-2ubuntu1 @ii umU > (= 2.3.1-1)
Broken python3-talloc:amd64 Depends on python3:amd64 < 3.8.6-0ubuntu1 -> 3.9.4-1 @ii umU > (< 3.9)
Broken python3-ldb:amd64 Depends on libldb2:amd64 < 2:2.1.4-2ubuntu0.1 -> 2:2.2.0-3ubuntu2 @ii umU > (= 2:2.1.4-2ubuntu0.1)
Broken python3-ldb:amd64 Depends on python3:amd64 < 3.8.6-0ubuntu1 -> 3.9.4-1 @ii umU > (< 3.9)
Broken samba-libs:amd64 Depends on python3-ldb:amd64 < 2:2.1.4-2ubuntu0.1 @ii ugR > (>= 2:2.1.0)
Broken libsmbclient:amd64 Depends on samba-libs:amd64 < 2:4.12.5+dfsg-3ubuntu4.4 @ii ugR > (= 2:4.12.5+dfsg-3ubuntu4.4)
Broken gnome-control-center:amd64 Depends on libsmbclient:amd64 < 2:4.12.5+dfsg-3ubuntu4.4 @ii umR > (>= 2:4.0.3+dfsg1)
Broken ubuntu-desktop-minimal:amd64 Depends on gnome-control-center:amd64 < 1:3.38.3-0ubuntu1 | 1:3.38.5-1ubuntu1 @ii umR >
Broken ubuntu-desktop:amd64 Depends on gnome-control-center:amd64 < 1:3.38.3-0ubuntu1 | 1:3.38.5-1ubuntu1 @ii umR >
Broken ubuntu-desktop:amd64 Depends on ubuntu-desktop-minimal:amd64 < 1.459 | 1.469 @ii umR >
Broken gnome-control-center:amd64 Depends on libsmbclient:amd64 < 2:4.12.5+dfsg-3ubuntu4.4 @ii umR > (>= 2:4.0.3+dfsg1)
Broken libsmbclient:amd64 Depends on samba-libs:amd64 < 2:4.12.5+dfsg-3ubuntu4.4 @ii ugR > (= 2:4.12.5+dfsg-3ubuntu4.4)
Broken samba-libs:amd64 Depends on python3-ldb:amd64 < 2:2.1.4-2ubuntu0.1 @ii ugR > (>= 2:2.1.0)
Broken samba-libs:amd64 Depends on python3-talloc:amd64 < 2.3.1-1 @ii ugR > (>= 2.3.1~)
Broken python3-talloc:amd64 Depends on libtalloc2:amd64 < 2.3.1-1 -> 2.3.1-2ubuntu1 @ii umU > (= 2.3.1-1)
Broken python3-talloc:amd64 Depends on python3:amd64 < 3.8.6-0ubuntu1 -> 3.9.4-1 @ii umU > (< 3.9)
Broken python3-ldb:amd64 Depends on libldb2:amd64 < 2:2.1.4-2ubuntu0.1 -> 2:2.2.0-3ubuntu2 @ii umU > (= 2:2.1.4-2ubuntu0.1)
Broken python3-talloc:amd64 Depends on libtalloc2:amd64 < 2.3.1-1 -> 2.3.1-2ubuntu1 @ii umU > (= 2.3.1-1)
Broken python3-ldb:amd64 Depends on libldb2:amd64 < 2:2.1.4-2ubuntu0.1 -> 2:2.2.0-3ubuntu2 @ii umU > (= 2:2.1.4-2ubuntu0.1)
Broken samba-libs:amd64 Depends on python3-ldb:amd64 < 2:2.1.4-2ubuntu0.1 @ii ugR > (>= 2:2.1.0)
Broken libsmbclient:amd64 Depends on samba-libs:amd64 < 2:4.12.5+dfsg-3ubuntu4.4 @ii ugR > (= 2:4.12.5+dfsg-3ubuntu4.4)
Broken gnome-control-center:amd64 Depends on libsmbclient:amd64 < 2:4.12.5+dfsg-3ubuntu4.4 @ii umR > (>= 2:4.0.3+dfsg1)
Broken ubuntu-desktop-minimal:amd64 Depends on gnome-control-center:amd64 < 1:3.38.3-0ubuntu1 | 1:3.38.5-1ubuntu1 @ii umR >
Broken ubuntu-desktop:amd64 Depends on gnome-control-center:amd64 < 1:3.38.3-0ubuntu1 | 1:3.38.5-1ubuntu1 @ii umR >
Broken ubuntu-desktop:amd64 Depends on ubuntu-desktop-minimal:amd64 < 1.459 | 1.469 @ii umR >

为什么会发生这种情况?”&&如何一次性删除或修复所有损坏的包裹?

相关内容