Comment 11 for bug 1850283

Revision history for this message
Bryan Quigley (bryanquigley) wrote :

Starting at 18.04
sudo apt install python3-ldap
brings in python2

root@set-moose:~# file /usr/share/doc/python3-ldap
/usr/share/doc/python3-ldap: symbolic link to python-ldap

Switch to normal upgrades, do-release-upgrade to disco, then eoan

root@set-moose:~# file /usr/share/doc/python3-ldap
/usr/share/doc/python3-ldap: broken symbolic link to python-ldap

Upgrade to -proposed

# file /usr/share/doc/python3-ldap
/usr/share/doc/python3-ldap: directory
root@set-moose:~# ls /usr/share/doc/python3-ldap
changelog.Debian.gz copyright

Now it's a directory at version i python3-ldap:amd64 3.1.0-2ubuntu1.1

For Eoan, python2 was autoremoved as part of the upgrade process (not sure if to eoan or disco).