I tested the version of the dist-upgrader from -proposed for the python- doc version of the test case. After the upgrade python-doc was no longer installed (although there was the same weiredness about it not being removed in the log) so I consider this part verified.
bdmurray@clean-bionic-amd64:~$ head -n6 /var/log/dist-upgrade/main.log 2020-10-12 09:52:30,301 INFO Using config files '['./DistUpgrade.cfg.bionic']' 2020-10-12 09:52:30,301 INFO uname information: 'Linux clean-bionic-amd64 5.4.0-48-generic #52~18.04.1-Ubuntu SMP Thu Sep 10 12:50:22 UTC 2020 x86_64' 2020-10-12 09:52:30,703 INFO apt version: '1.6.12ubuntu0.1' 2020-10-12 09:52:30,704 INFO python version: '3.6.9 (default, Jul 17 2020, 12:50:27) [GCC 8.4.0]' 2020-10-12 09:52:30,706 INFO release-upgrader version '20.04.28' started bdmurray@clean-bionic-amd64:~$ grep python-doc /var/log/dist-upgrade/main.log 2020-10-12 09:53:29,948 INFO checking for python-doc 2020-10-12 09:53:29,948 INFO installing python2-doc because python-doc was installed 2020-10-12 09:53:29,948 DEBUG Installing 'python2-doc' (python-doc was installed on the system) 2020-10-12 09:53:29,978 INFO removing python-doc because python2-doc is being installed 2020-10-12 09:53:29,978 DEBUG Removing 'python-doc' (python2-doc is being installed on the system) 2020-10-12 09:53:29,978 INFO failed to remove python-doc bdmurray@clean-bionic-amd64:~$ apt-cache policy python-doc python-doc: Installed: (none) Candidate: (none) Version table: bdmurray@clean-bionic-amd64:~$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=20.04 DISTRIB_CODENAME=focal DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1887544 Title: upgrade from 18.04 to 20.04 fails to calculate if python-dbg is installed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1887544/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs