pyversions doesn't honor update-alternatives
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-support (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python-support
Using gutsy, which provides python2.5 as the default, I'm working with a piece of software requiring python2.4. I used update-alternatives to set 2.4 to the default:
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.4 2
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.5 1
sudo update-alternatives --config python
This worked great, until I tried installing python-ldap (as well as other python packages):
ValueError: the symlink /usr/bin/python does not point to the python default version. It must be reset to point to python2.5
Sure enough, /usr/bin/python is (as you would expect):
lrwxrwxrwx 1 root root 18 2008-04-29 14:05 python -> /etc/alternativ
I found a workaround (http://
I've same issue with Jaunty (Ubuntu 9.04).