For those of you out there running edgy that haven’t been able to find a solution to this:

Linking and byte-compiling packages for runtime python2.4…
Traceback (most recent call last): File “/usr/bin/pycentral”, line 1325, in ? main()
File “/usr/bin/pycentral”, line 1319, in main rv = action.run(global_options)
File “/usr/bin/pycentral”, line 954, in run requested = list(pyversions.requested_versions(vstring, version_only=True))
File “/usr/share/python/pyversions.py”, line 113, in requested_versions raise ValueError, ‘empty set of versions’
ValueError: empty set of versions dpkg: error processing python2.4-minimal (–configure): subprocess post-installation script returned error exit status 1

then I have the answer! Just run:

sudo dpkg -P –force-all python2.4
sudo dpkg -P –force-all python-central
sudo apt-get -f install

Related posts:

  1. Edgy + Vmware
  2. Python Commands Module
  3. Installing Play Framework on OpenBSD 4.6
  4. Python threads
  5. Python and real time graphical analysis