Edit /usr/share/python/debian_defaults
You should have something like this :
[DEFAULT] # the default python version default-version = python2.4 # all supported python versions supported-versions = python2.4, python2.5 # formerly supported python versions old-versions = python2.3 # unsupported versions, including older versions unsupported-versions = python2.3
Update the python link
# rm /usr/bin/python # ln -s /usr/bin/python2.4 /usr/bin/python
Update your python packages to python 2.4
Launch this command :
# pycentral updatedefault python2.5 python2.4