Comment 2 for bug 809560

Revision history for this message
Daniel Hartwig (wigs) wrote :

> I symlinked /usr/bin/python to Python2.6 instead of
> the installed Python2.7: "ValueError: /usr/bin/python
> does not match the python default version. It must
> be reset to point to python2.7"

Files in /usr/bin are system managed. A user should not change them. If you do, you have broken your system.

The error message you report is *not* a bug but a safety mechanism to guard against users who have broken their systems.

If you desire to use a different version yourself, please set such a symlink in /usr/local/bin/python.

You can not expect the system packaged software to work with a modified /usr/bin/python.

Please see these messages:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=485393#14
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573315#15
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597424#10