This is still a "Not my bug" as of Oncelot 11.10. Somebody at update-alternatives needs to talk to somebody at ubuntu and make this stop happening. If update-alternatives is potentially going to screw up future upgrades they need to warn about this upon install or get pyversion to handle a double sym link case.
I just got roughly the same error trying to upgrade VirtualBox ValueError: /usr/bin/python does not match the python default version. It must be reset to point to python2.7 However, /usr/bin$ ls -al | grep python lrwxrwxrwx 1 root root 24 2011-12-04 16:16 python -> /etc/alternatives/python /etc/alternatives$ ls -al | grep python lrwxrwxrwx 1 root root 18 2011-12-04 16:16 python -> /usr/bin/python2.7 so /usr/bin/python is sym linked to /etc/alternatives/python and this is sym-linked to /usr/bin/python2.7 $ python Python 2.7.2+ (default, Oct 4 2011, 20:06:09) [GCC 4.6.1] on linux2 ... >>> That is, /usr/bin/python points to the correct (default debian 2.7) python, but it does so through 2 symlinks. The extra indirection is messing things up. The bug lies either with the post-installation script (owned by VirtualBox) requesting the version in a way that doesn't support update-alternatives, or with update-alternatives for not conforming to some expected interface requirements. Submitting a bug report to both. kesten -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/224438 Title: pyversions doesn't honor update-alternatives To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-support/+bug/224438/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
