I tested the version of the dist-upgrader from -proposed for the python-dev version of the test case. After the upgrade python-dev 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 12:27:26,672 INFO Using config files '['./DistUpgrade.cfg.bionic']'
2020-10-12 12:27:26,672 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 202
0 x86_64'
2020-10-12 12:27:27,169 INFO apt version: '1.6.12ubuntu0.1'
2020-10-12 12:27:27,170 INFO python version: '3.6.9 (default, Jul 17 2020, 12:50:27)
[GCC 8.4.0]'
2020-10-12 12:27:27,172 INFO release-upgrader version '20.04.28' started
...
2020-10-12 12:31:43,686 INFO checking for python-dev
2020-10-12 12:31:43,686 INFO installing python-dev-is-python2 because python-dev was installed
2020-10-12 12:31:43,686 DEBUG Installing 'python-dev-is-python2' (python-dev was installed on the system)
2020-10-12 12:31:43,715 INFO removing python-dev because python-dev-is-python2 is being installed
2020-10-12 12:31:43,715 DEBUG Removing 'python-dev' (python-dev-is-python2 is being installed on the system)
2020-10-12 12:31:43,715 INFO failed to remove python-dev
2020-10-12 12:31:43,715 INFO checking for libpython-dev
2020-10-12 12:31:43,715 INFO removing libpython-dev because None is being installed
2020-10-12 12:31:43,715 DEBUG Removing 'libpython-dev' (None is being installed on the system)
2020-10-12 12:31:43,715 INFO failed to remove libpython-dev
I tested the version of the dist-upgrader from -proposed for the python-dev version of the test case. After the upgrade python-dev 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 e.cfg.bionic' ]' dev-is- python2 because python-dev was installed dev-is- python2' (python-dev was installed on the system) dev-is- python2 is being installed dev-is- python2 is being installed on the system)
2020-10-12 12:27:26,672 INFO Using config files '['./DistUpgrad
2020-10-12 12:27:26,672 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 202
0 x86_64'
2020-10-12 12:27:27,169 INFO apt version: '1.6.12ubuntu0.1'
2020-10-12 12:27:27,170 INFO python version: '3.6.9 (default, Jul 17 2020, 12:50:27)
[GCC 8.4.0]'
2020-10-12 12:27:27,172 INFO release-upgrader version '20.04.28' started
...
2020-10-12 12:31:43,686 INFO checking for python-dev
2020-10-12 12:31:43,686 INFO installing python-
2020-10-12 12:31:43,686 DEBUG Installing 'python-
2020-10-12 12:31:43,715 INFO removing python-dev because python-
2020-10-12 12:31:43,715 DEBUG Removing 'python-dev' (python-
2020-10-12 12:31:43,715 INFO failed to remove python-dev
2020-10-12 12:31:43,715 INFO checking for libpython-dev
2020-10-12 12:31:43,715 INFO removing libpython-dev because None is being installed
2020-10-12 12:31:43,715 DEBUG Removing 'libpython-dev' (None is being installed on the system)
2020-10-12 12:31:43,715 INFO failed to remove libpython-dev
bdmurray@ clean-bionic- amd64:~ $ apt-cache policy python-dev clean-bionic- amd64:~ $ apt-cache policy libpython-dev clean-bionic- amd64:~ $ cat /etc/lsb-release RELEASE= 20.04 CODENAME= focal DESCRIPTION= "Ubuntu 20.04.1 LTS"
python-dev:
Installed: (none)
Candidate: (none)
Version table:
bdmurray@
libpython-dev:
Installed: (none)
Candidate: (none)
Version table:
bdmurray@
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_