Ubuntu automatically installs python 2.5 and uses it as the default python … I have crashed my system 2 times to solve this .. I wanted to make the default python to version 2.4.
This is the way
before begaining Thanks to (Luiz Rocha (lsdr) ) http://ubuntuforums.org/showthread.php?t=440358
edit the /usr/share/python/debian_defaults, changing the default version arg to python2.4
$ sudo mv /usr/bin/python /usr/bin/python25
$ sudo ln -s /usr/bin/python2.4 /usr/bin/python