Control: severity 864599 wishlist [Matthias Julius, 2017-06-11] > After setting /usr/bin/python to point to python3 via alternatives the > next update of debconf failed with:
/usr/bin/python is not something you should be changing via alternatives > File "/usr/bin/pyclean", line 63 > except (IOError, OSError), e: > ^ > SyntaxError: invalid syntax if you want Python 3 version of these scripts, use py3compile / py3clean > #! /usr/bin/python2 > > helped. They are apparently not compatible with python3. I'm not a fan of python2 - we'll not change /usr/bin/python to something else than Python 2.X so there's no need to change shebangs. /usr/bin/python2 symlink is provided only to workaround damage done by one other distro.