Public bug reported: Hello everyone,
I wanted to be able to switch in between python 2.5 and 2.5 so I did the following (since it wasn't done for me when I installed python 2.5 on karmic, which is what it should have done in my opinion): sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.5 1 sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.6 2 sudo update-alternatives --config python Now when I try to update any python packages, I get this : ValueError: /usr/bin/python does not match the python default version. It must be reset to point to python2.6 I checked with update-alternatives and it's set to python 2.6 (I tried auto and manual) and I did this : $ ls -la /usr/bin/python lrwxrwxrwx 1 root root 24 2009-12-17 18:35 /usr/bin/python -> /etc/alternatives/python $ ls -la /etc/alternatives/python lrwxrwxrwx 1 root root 18 2009-12-17 18:35 /etc/alternatives/python -> /usr/bin/python2.6 and as you can see it's pointing (indirectly) to the correct python binary. Why isn't the package manager understanding this? Here's the info on my system: $ lsb_release -rd Description: Ubuntu 9.10 Release: 9.10 Thank you, Gabriel ** Affects: ubuntu Importance: Undecided Status: New -- update alternatives & python problem when trying to update packages https://bugs.launchpad.net/bugs/501022 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs