$ sudo apt-get install python-gtk2
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
python-cairo python-central python-numeric
Suggested packages:
python-numeric-tutorial
The following NEW packages will be installed:
python-cairo python-central python-gtk2 python-numeric
0 upgraded, 4 newly installed, 0 to remove and 802 not upgraded.
Need to get 0B/1477kB of archives.
After unpacking 5145kB of additional disk space will be used.
Do you want to continue [Y/n]?
Selecting previously deselected package python-central.
(Reading database ... 118962 files and directories currently installed.)
Unpacking python-central (from .../python-central_0.5.12_all.deb) ...
Selecting previously deselected package python-cairo.
Unpacking python-cairo (from .../python-cairo_1.2.0-1_i386.deb) ...
Selecting previously deselected package python-numeric.
Unpacking python-numeric (from .../python-numeric_24.2-7_i386.deb) ...
Selecting previously deselected package python-gtk2.
Unpacking python-gtk2 (from .../python-gtk2_2.8.6-6_i386.deb) ...
Setting up python-central (0.5.12) ...
Setting up python-cairo (1.2.0-1) ...
Traceback (most recent call last):
File "/usr/bin/pycentral", line 1373, in ?
main()
File "/usr/bin/pycentral", line 1367, in main
rv = action.run(global_options)
File "/usr/bin/pycentral", line 870, in run
requested = pyversions.requested_versions_for_runtime(pkg.version_field, version_only=True)
File "/usr/share/pycentral-data/pyversions.py", line 162, in requested_versions_for_runtime
old = old_versions(version_only=True)
File "/usr/share/pycentral-data/pyversions.py", line 62, in old_versions
return [v[6:] for v in _old_versions]
TypeError: iteration over non-sequence
dpkg: error processing python-cairo (--configure):
subprocess post-installation script returned error exit status 1
Setting up python-numeric (24.2-7) ...
Traceback (most recent call last):
File "/usr/bin/pycentral", line 1373, in ?
main()
File "/usr/bin/pycentral", line 1367, in main
rv = action.run(global_options)
File "/usr/bin/pycentral", line 870, in run
requested = pyversions.requested_versions_for_runtime(pkg.version_field, version_only=True)
File "/usr/share/pycentral-data/pyversions.py", line 162, in requested_versions_for_runtime
old = old_versions(version_only=True)
File "/usr/share/pycentral-data/pyversions.py", line 62, in old_versions
return [v[6:] for v in _old_versions]
TypeError: iteration over non-sequence
dpkg: error processing python-numeric (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python-gtk2:
python-gtk2 depends on python-numeric (>= 24.2-3); however:
Package python-numeric is not configured yet.
python-gtk2 depends on python-cairo (>= 1.0.2-1.1); however:
Package python-cairo is not configured yet.
dpkg: error processing python-gtk2 (--configure):
depenErrors were encountered while processing:
python-cairo
python-numeric
python-gtk2
E: Sub-process /usr/bin/dpkg returned an error code (1)
dency problems - leaving unconfigured