Bug#420032: python-gtk2 and python-gobject both provide pygtk.py

Josselin Mouette joss at debian.org
Fri Apr 20 07:42:42 UTC 2007


Le vendredi 20 avril 2007 à 09:33 +0700, Roman S Dubtsov a écrit :
> [busa at stratosphere 09:29:52 ~]$ sudo dpkg-reconfigure python-gtk2
> /usr/sbin/dpkg-reconfigure: python-gtk2 is broken or not fully installed
> [busa at stratosphere 09:29:59 ~]$ sudo apt-get install --reinstall python-gtk2
> Reading package lists... Done
> Building dependency tree... Done
> 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 3 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-gtk2 (2.10.4-2) ...
> Traceback (most recent call last):
>   File "/usr/sbin/update-python-modules", line 289, in ?
>     process(basedir,install_modules(py_installed))
>   File "/usr/sbin/update-python-modules", line 162, in process
>     func(basedir, dir, file)
>   File "/usr/sbin/update-python-modules", line 129, 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-gtk2 (--configure):
>  subprocess post-installation script returned error exit status 1
> dpkg: dependency problems prevent configuration of python-glade2:
>  python-glade2 depends on python-gtk2 (= 2.10.4-2); however:
>   Package python-gtk2 is not configured yet.
> dpkg: error processing python-glade2 (--configure):
>  dependency problems - leaving unconfigured
> Errors were encountered while processing:
>  python-gtk2
>  python-glade2
> E: Sub-process /usr/bin/dpkg returned an error code (1)

I'm afraid I can't reproduce that. Could you please send the output of
the following commands:
      * dpkg -L python-gtk2
      * find /usr/share/python-support/python-gtk2
      * ls -l /usr/bin/python*
      * ls -l /var/lib/python-support

Did you do anything unusual with these packages before upgrading them?

Thanks,
-- 
 .''`.
: :' :      We are debian.org. Lower your prices, surrender your code.
`. `'       We will add your hardware and software distinctiveness to
  `-        our own. Resistance is futile.






More information about the pkg-gnome-maintainers mailing list