Can confirm this is an issue on the latest cloud image built for Azure as well. SKU:
Steps to reproduce: Deploy image Run 'apt update' Run 'apt upgrade' Perform package updates for 18.04 Perform distribution upgrade Output: ---------------------------------------- Calculating the changes Could not calculate the 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'. Restoring original system state Aborting Reading package lists... Done Building dependency tree Reading state information... Done === Command detached from window (Thu Apr 29 15:39:57 2021) === === Command terminated with exit status 1 (Thu Apr 29 15:40:07 2021) === ---------------------------------------------------------------------------------------------------------- Same output in the logs as already attached, same package as above We're able to get past this by running 'apt purge libpython-stdlib'. ----------------------------------------------------------------------- Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: linux-headers-4.15.0-142 Use 'sudo apt autoremove' to remove it. The following packages will be REMOVED: libpython-stdlib* python* python-crypto* python-ldb* python-parted* python-samba* python-six* python-tdb* samba-common-bin* 0 upgraded, 0 newly installed, 9 to remove and 0 not upgraded. After this operation, 18.9 MB disk space will be freed. Do you want to continue? [Y/n] Y (Reading database ... 87005 files and directories currently installed.) Removing samba-common-bin (2:4.7.6+dfsg~ubuntu-0ubuntu2.21) ... Removing python-samba (2:4.7.6+dfsg~ubuntu-0ubuntu2.21) ... Removing python-ldb:amd64 (2:1.2.3-1ubuntu0.2) ... Removing python-parted (3.11.1-1ubuntu2) ... Removing python-crypto (2.6.1-8ubuntu2) ... Removing python-six (1.11.0-2) ... Removing python-tdb (1.3.15-2) ... Removing python (2.7.15~rc1-1) ... Removing libpython-stdlib:amd64 (2.7.15~rc1-1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... Processing triggers for libc-bin (2.27-3ubuntu1.4) ... (Reading database ... 86461 files and directories currently installed.) Purging configuration files for python (2.7.15~rc1-1) ... -------------------------------------------------------------------------------------------------------------- Afterwards, the upgrade will complete successfully. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1902053 Title: dist upgrade from 18.04 to 20.04 crashes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1902053/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs