notes-computer-debian-upgradingPython

  1. aptitude install python2.5
  2. emacs /usr/share/python/debian_defaults -nw

(edited it to read:

[DEFAULT]

  1. the default python version default-version = python2.5
  2. all supported python versions supported-versions = python2.4, python2.5
  3. formerly supported python versions old-versions = python2.3
  4. unsupported versions, including older versions unsupported-versions = python2.3

)

  1. pycentral updatedefault python2.4 python2.5 Traceback (most recent call last): File "/usr/bin/pycentral", line 1394, in ? main() File "/usr/bin/pycentral", line 1384, in main if action.check_args(global_options): File "/usr/bin/pycentral", line 1105, in check_args self.error("package %s is not ready to be updated for %s" AttributeError?: ActionUpdateDefault? instance has no attribute 'runtime'
  2. ln -sf python2.5 /usr/bin/python
  3. pycentral updatedefault python2.4 python2.5
  4. aptitude reinstall (all of my python packages)