root@indaba:~# apt-get install python-gtk-1.2
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-gtk-1.2 is already the newest version.
The following packages were automatically installed and are no longer required:
debhelper module-assistant libasn1-6-heimdal jfsutils libkrb5-17-heimdal rake rdoc subversion libredcloth-ruby1.8 irb liberb-ruby
html2text libroken16-heimdal libgssapi4-heimdal libpgsql-ruby1.8
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up python-gtk-1.2 (0.6.12-5) ...
Traceback (most recent call last):
File "/usr/sbin/update-python-modules", line 281, in ?
process(basedir,install_modules(py_installed))
File "/usr/sbin/update-python-modules", line 154, in process
func(basedir, dir, file)
File "/usr/sbin/update-python-modules", line 121, in install_modules_func
raise "Trying to overwrite %s which is already provided by %s"%(os.path.join(dir,file),otherdir)
Trying to overwrite pygtk.py which is already provided by /usr/share/python-support/python-gobject
dpkg: error processing python-gtk-1.2 (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of sql-editor:
sql-editor depends on python-gtk-1.2; however:
Package python-gtk-1.2 is not configured yet.
dpkg: error processing sql-editor (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python-gtk-1.2
sql-editor
E: Sub-process /usr/bin/dpkg returned an error code (1)