All pastes #185446 Raw Edit

Miscellany

public text v1 · immutable
#185446 ·published 2006-09-28 23:24 UTC
rendered paste body
sudo dpkg --configure -a
Setting up python-gtk-1.2 (0.6.12-5) ...
Traceback (most recent call last):
  File "/usr/sbin/update-python-modules", line 279, in ?
    process(basedir,install_modules(py_installed))
  File "/usr/sbin/update-python-modules", line 150, in process
    func(basedir, dir, file)
  File "/usr/sbin/update-python-modules", line 117, 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
Errors were encountered while processing:
 python-gtk-1.2
root@Thinkpad:~# sudo dpkg -i --force-overwrite /path/to/file.deb
dpkg: error processing /path/to/file.deb (--install):
 cannot access archive: No such file or directory
Errors were encountered while processing:
 /path/to/file.deb
root@Thinkpad:~# sudo dpkg -P --force-depends python-gtk-1.2 python-gtk-1.2
Package python-gtk-1.2 listed more than once, only processing once.
(Reading database ... 132623 files and directories currently installed.)
Removing python-gtk-1.2 ...
dpkg - warning: while removing python-gtk-1.2, directory `/usr/lib/python2.4/site-packages/gtk-1.2' not empty so not removed.