Bug#420032: python-gtk2 and python-gobject both provide pygtk.py
Roman S Dubtsov
dubtsov at gmail.com
Fri Apr 20 02:33:27 UTC 2007
On Friday 20 April 2007, Josselin Mouette wrote:
> Le jeudi 19 avril 2007 à 22:51 +0700, Roman S Dubtsov a écrit :
> > Package: python-gtk2
> > Version: 2.10.4-2
> > Severity: important
> >
> > Hi,
> >
> > Configuration of python-gtk2 fails with the following message.
> >
> > Trying to overwrite pygtk.py which is already provided by
> > /usr/share/python-support/python-gobject
>
> Could you please send us the full log of what is displayed when
> attempting the upgrade?
>
> Thanks,
Sure,
[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)
Regards,
Roman
More information about the pkg-gnome-maintainers
mailing list