Am 11.06.2017 um 12:35 schrieb Piotr Ozarowski: > Control: severity 864599 wishlist > > [Matthias Julius, 2017-06-11] > > /usr/bin/python is not something you should be changing via alternatives
Why not? Can there be no legitimate reason for wanting python3 to be the default python? >> 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 This is not the point. Debconf's install script is apparently using them and they fail if python3 is the default. This makes debconf uninstallable. I don't think this is a bug in debconf. >> #! /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. python-policy 2.4.1 says: "Python scripts that require the default Python 2 version should specify python2 as the interpreter name." While that does not say "must" it is still a strong recommendation. And I would also consider that good practice - especially if the fix is so easy. So while this is no policy violation, to me it is more than a "nice to have". But, I will leave it up to you to decide on the proper severity.