However, over the years, people have had to resort to the weirdest workarounds:
- Make sure /usr/bin/python and /usr/bin/python3 point to python3.6
- Reinstall default python3
- Purge anything done by update-alternatives (sudo update-alternatives --remove-all python)
- Purge python2.x
update-alternatives --display python
sudo update-alternatives --remove-all python
sudo apt install --reinstall ubuntu-release-upgrader-core
sudo apt install --reinstall python3sudo ln -sf /usr/bin/python3.6 /usr/bin/python
sudo ln -sf /usr/bin/python3.6 /usr/bin/python3
sudo apt-get remove --purge python2.7-minimal
In the end, purging python2.7 did the trick. That involved uninstalling inkscape and bits of TeXlive, but it was a small list of dependencies that could be reinstalled after the update. Still, a mess. Serves me right for not bothering to do a clean reinstall.
No comments:
Post a Comment