root@ns204601:~/email/script# apt-get install python
Reading package lists... Done
Building dependency tree
Reading state information... Done
python is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
4 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up python-chardet (1.0-1) ...
Traceback (most recent call last):
File "/usr/bin/pycentral", line 1891, in <module>
main()
File "/usr/bin/pycentral", line 1885, in main
rv = action.run(global_options)
File "/usr/bin/pycentral", line 1239, in run
runtimes = get_installed_runtimes()
File "/usr/bin/pycentral", line 210, in get_installed_runtimes
default_version = pyversions.default_version(version_only=True)
File "/usr/share/pycentral-data/pyversions.py", line 163, in default_version
raise ValueError, "/usr/bin/python does not match the python default version. It must be reset to point to %s" % debian_default
ValueError: /usr/bin/python does not match the python default version. It must be reset to point to python2.5
dpkg: error processing python-chardet (--configure):
subprocess post-installation script returned error exit status 1
Setting up python-pkg-resources (0.6c9-0ubuntu1~hardy1) ...
Traceback (most recent call last):
File "/usr/bin/pycentral", line 1891, in <module>
main()
File "/usr/bin/pycentral", line 1885, in main
rv = action.run(global_options)
File "/usr/bin/pycentral", line 1239, in run
runtimes = get_installed_runtimes()
File "/usr/bin/pycentral", line 210, in get_installed_runtimes
default_version = pyversions.default_version(version_only=True)
File "/usr/share/pycentral-data/pyversions.py", line 163, in default_version
raise ValueError, "/usr/bin/python does not match the python default version. It must be reset to point to %s" % debian_default
ValueError: /usr/bin/python does not match the python default version. It must be reset to point to python2.5
dpkg: error processing python-pkg-resources (--configure):
subprocess post-installation script returned error exit status 1
Setting up python-pygame (1.7.1release-4.1ubuntu1) ...
Traceback (most recent call last):
File "/usr/bin/pycentral", line 1891, in <module>
main()
File "/usr/bin/pycentral", line 1885, in main
rv = action.run(global_options)
File "/usr/bin/pycentral", line 1239, in run
runtimes = get_installed_runtimes()
File "/usr/bin/pycentral", line 210, in get_installed_runtimes
default_version = pyversions.default_version(version_only=True)
File "/usr/share/pycentral-data/pyversions.py", line 163, in default_version
raise ValueError, "/usr/bin/python does not match the python default version. It must be reset to point to %s" % debian_default
ValueError: /usr/bin/python does not match the python default version. It must be reset to point to python2.5
dpkg: error processing python-pygame (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python-setuptools:
python-setuptools depends on python-pkg-resources (= 0.6c9-0ubuntu1~hardy1); however:
Package python-pkg-resources is not configured yet.
dpkg: error processing python-setuptools (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python-chardet
python-pkg-resources
python-pygame
python-setuptools
E: Sub-process /usr/bin/dpkg returned an error code (1)