Previously I upgraded from 20.04 to 20.10
For upgrading ubuntu from 20.10 to 21.04 I did this
sudo do-release-upgrade
Following error occurred
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'.
By executing this command
grep Broken /var/log/dist-upgrade/apt.log
I got a list of Broken packages.
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 >
why did this happen?" && How to remove or fix all broken packages at once ??