dpkg: error processing python-gobject (--configure)

Bug #64253 reported by Wolf Halton
2
Affects Status Importance Assigned to Milestone
dpkg
Invalid
Undecided
Unassigned
pygobject (Ubuntu)
Invalid
Undecided
Ubuntu Desktop Bugs

Bug Description

This seems to be a dependency issue that a lot of people are talking about in the forum but nobody is offering a solution to. I was doing a Dapper=>Edgy aptitude dist-upgrade. Almost done, the final result of ongoing 'aptitude dist-upgrades' returns the following dependency list. The list was at 4 and now has gotten longer.

====================
root@l8:/home/wolf # aptitude dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following packages will be upgraded:
  gconf2 gconf2-common libgconf2-4 libgconf2-dev
4 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 705kB of archives. After unpacking 483kB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Get:1 http://archive.ubuntu.com edgy/main gconf2 2.16.0-0ubuntu1 [131kB]
Get:2 http://archive.ubuntu.com edgy/main libgconf2-dev 2.16.0-0ubuntu1 [264kB]
Get:3 http://archive.ubuntu.com edgy/main libgconf2-4 2.16.0-0ubuntu1 [228kB]
Get:4 http://archive.ubuntu.com edgy/main gconf2-common 2.16.0-0ubuntu1 [82.7kB]
Fetched 705kB in 3s (201kB/s)
Reading changelogs... Done
(Reading database ... 305890 files and directories currently installed.)
Preparing to replace gconf2 2.14.0-1ubuntu2 (using .../gconf2_2.16.0-0ubuntu1_i386.deb) ...
Unpacking replacement gconf2 ...
Preparing to replace libgconf2-dev 2.14.0-1ubuntu2 (using .../libgconf2-dev_2.16.0-0ubuntu1_i386.deb) ...
Unpacking replacement libgconf2-dev ...
Preparing to replace libgconf2-4 2.14.0-1ubuntu2 (using .../libgconf2-4_2.16.0-0ubuntu1_i386.deb) ...
Unpacking replacement libgconf2-4 ...
Preparing to replace gconf2-common 2.14.0-1ubuntu2 (using .../gconf2-common_2.16.0-0ubuntu1_all.deb) ...
Unpacking replacement gconf2-common ...
Setting up python-gobject (2.12.2-0ubuntu1) ...
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-gtk
dpkg: error processing python-gobject (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python-gtk2:
 python-gtk2 depends on python-gobject (>= 2.12.1); however:
  Package python-gobject is not configured yet.
dpkg: error processing python-gtk2 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-glade2:
 python-glade2 depends on python-gtk2 (= 2.10.3-0ubuntu3); however:
  Package python-gtk2 is not configured yet.
dpkg: error processing python-glade2 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apport-gtk:
 apport-gtk depends on python-gtk2; however:
  Package python-gtk2 is not configured yet.
 apport-gtk depends on python-glade2; however:
  Package python-glade2 is not configured yet.
dpkg: error processing apport-gtk (--configure):
 dependency problems - leaving unconfigured
Setting up gconf2-common (2.16.0-0ubuntu1) ...

Setting up libgconf2-4 (2.16.0-0ubuntu1) ...

Setting up gconf2 (2.16.0-0ubuntu1) ...

Setting up libgconf2-dev (2.16.0-0ubuntu1) ...

dpkg: dependency problems prevent configuration of deskbar-applet:
 deskbar-applet depends on python-gtk2; however:
  Package python-gtk2 is not configured yet.
 deskbar-applet depends on python-glade2; however:
  Package python-glade2 is not configured yet.
dpkg: error processing deskbar-applet (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of hal-device-manager:
 hal-device-manager depends on python-glade2; however:
  Package python-glade2 is not configured yet.
dpkg: error processing hal-device-manager (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of language-selector:
 language-selector depends on python-gtk2; however:
  Package python-gtk2 is not configured yet.
 language-selector depends on python-glade2; however:
  Package python-glade2 is not configured yet.
dpkg: error processing language-selector (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of onboard:
 onboard depends on python-gtk2; however:
  Package python-gtk2 is not configured yet.
dpkg: error processing onboard (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-desktop:
 ubuntu-desktop depends on apport-gtk; however:
  Package apport-gtk is not configured yet.
 ubuntu-desktop depends on deskbar-applet; however:
  Package deskbar-applet is not configured yet.
 ubuntu-desktop depends on hal-device-manager; however:
  Package hal-device-manager is not configured yet.
 ubuntu-desktop depends on language-selector; however:
  Package language-selector is not configured yet.
dpkg: error processing ubuntu-desktop (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of update-manager:
 update-manager depends on python-glade2; however:
  Package python-glade2 is not configured yet.
dpkg: error processing update-manager (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python-gobject
 python-gtk2
 python-glade2
 apport-gtk
 deskbar-applet
 hal-device-manager
 language-selector
 onboard
 ubuntu-desktop
 update-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up python-gobject (2.12.2-0ubuntu1) ...
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-gtk
dpkg: error processing python-gobject (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python-gtk2:
 python-gtk2 depends on python-gobject (>= 2.12.1); however:
  Package python-gobject is not configured yet.
dpkg: error processing python-gtk2 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of onboard:
 onboard depends on python-gtk2; however:
  Package python-gtk2 is not configured yet.
dpkg: error processing onboard (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of language-selector:
 language-selector depends on python-gtk2; however:
  Package python-gtk2 is not configured yet.
dpkg: error processing language-selector (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apport-gtk:
 apport-gtk depends on python-gtk2; however:
  Package python-gtk2 is not configured yet.
dpkg: error processing apport-gtk (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-glade2:
 python-glade2 depends on python-gtk2 (= 2.10.3-0ubuntu3); however:
  Package python-gtk2 is not configured yet.
dpkg: error processing python-glade2 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of deskbar-applet:
 deskbar-applet depends on python-gtk2; however:
  Package python-gtk2 is not configured yet.
 deskbar-applet depends on python-glade2; however:
  Package python-glade2 is not configured yet.
dpkg: error processing deskbar-applet (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-desktop:
 ubuntu-desktop depends on apport-gtk; however:
  Package apport-gtk is not configured yet.
 ubuntu-desktop depends on deskbar-applet; however:
  Package deskbar-applet is not configured yet.
 ubuntu-desktop depends on language-selector; however:
  Package language-selector is not configured yet.
dpkg: error processing ubuntu-desktop (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of hal-device-manager:
 hal-device-manager depends on python-glade2; however:
  Package python-glade2 is not configured yet.
dpkg: error processing hal-device-manager (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of update-manager:
 update-manager depends on python-glade2; however:
  Package python-glade2 is not configured yet.
dpkg: error processing update-manager (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python-gobject
 python-gtk2
 onboard
 language-selector
 apport-gtk
 python-glade2
 deskbar-applet
 ubuntu-desktop
 hal-device-manager
 update-manager
==================

Changed in dpkg:
status: Unconfirmed → Rejected
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. Do you have python-gnome-1.2 installed?

Changed in pygobject:
assignee: nobody → desktop-bugs
status: Unconfirmed → Needs Info
Revision history for this message
Wolf Halton (saphil) wrote : Re: [Bug 64253] Re: dpkg: error processing python-gobject (--configure)

DPKG returns python-gnome2

So many things were going screwy in the GUI that I decided to roll back from the edgy install, reinstall dapper and get my production machine up, so I just fdisked the whole thing and started again. The bug is gone, but not exactly resolved.

I am going to see if I can get the same bug on the testing machine (which never has any problems like this) and then I can be more useful. This happened after an online aptitude dist-upgrade on a machine that I had been using in productionfor over a year. My gut says it was all because of how much gets put on the machine. I write books on network security and my production machine was full of scripts for hacking linux. I had at least half of Fydor's top 100 hacking tools installed.

Sebastien Bacher <email address hidden> wrote: Thanks for your bug. Do you have python-gnome-1.2 installed?

** Changed in: pygobject (Ubuntu)
     Assignee: (unassigned) => Ubuntu Desktop Bugs
       Status: Unconfirmed => Needs Info

--
dpkg: error processing python-gobject (--configure)
https://launchpad.net/bugs/64253

--
Summer Special - Make Money on Your Phone Bill Arrowstars.com
Computer support network: http://tech.groups.yahoo.com/group/Tech_Answers/?yguid=11909323
Eggs from Happy Chickens! Catwood Farms - 1960 Hightower Trail, Conyers GA 30012-1822 - 678-384-4930

---------------------------------
Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business.

Revision history for this message
Sebastien Bacher (seb128) wrote :

that's likely to be a duplicate of bug #61323, don't bother to much try to duplicate it if you think it was likely you had python-gnome-1.2 installed

Revision history for this message
Wolf Halton (saphil) wrote :

I think that was probably it.

Sebastien Bacher <email address hidden> wrote: that's likely to be a duplicate of bug #61323, don't bother to much try
to duplicate it if you think it was likely you had python-gnome-1.2
installed

--
dpkg: error processing python-gobject (--configure)
https://launchpad.net/bugs/64253

--
Summer Special - Make Money on Your Phone Bill Arrowstars.com
Computer support network: http://tech.groups.yahoo.com/group/Tech_Answers/?yguid=11909323
Eggs from Happy Chickens! Catwood Farms - 1960 Hightower Trail, Conyers GA 30012-1822 - 678-384-4930

---------------------------------
Do you Yahoo!?
 Everyone is raving about the all-new Yahoo! Mail.

Revision history for this message
Sebastien Bacher (seb128) wrote :

marking as duplicate then

Changed in pygobject:
status: Needs Info → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.