Thank you for the answer!

$ ls -l /usr/bin/python
lrwxrwxrwx 1 root root 24 2010-05-08 19:24 /usr/bin/python -> 
/etc/alternatives/python

Yes is true as you point out that python points to python2.5.  I thought I had 
set it back but it seems as it does not go through. What I have done is
2. Change python2.6 to python 2.5 on system:
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.5 10
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.6 20
sudo update-alternatives --config python -> Select python2.5

and then
(to revert back:
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.6 10
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.5 20
sudo update-alternatives --config python -> select python2.6)

What I notice now is that on restart when reverting back to pythin2.6 python2.5 
stays as automode. It will not switch to 2.6. Thre reason I have change it to 
point to python2.5 is because I have to programs installed (pyreprot and NEST 
simulater) which is not completely compatible with 2.6.
 
  Selection    Path                Priority   Status
------------------------------------------------------------
  0            /usr/bin/python2.5   20        auto mode
  1            /usr/bin/python2.5   20        manual mode
* 2            /usr/bin/python2.6   10        manual mode

Press enter to keep the current choice[*], or type selection number: 2

Any suggestion what I can go?

Best regards
/Mikael

-- 
package python-egenix-mxdatetime 3.1.1-1ubuntu1 failed to install/upgrade: 
subprocess post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/505106
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to