[jaunty] python-gobject-dbg update problem

Bug #334092 reported by Javier Smaldone
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pygobject (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: python-gobject-dbg

When updating Jaunty using the update manager, I get the following errors:

Preparing to replace python-gobject-dbg 2.16.1-0ubuntu1 (using .../python-gobject-dbg_2.16.1-0ubuntu2_amd64.deb) ...
Package python2.6 is trying to overwrite gtk-2.0/gio/_gio.so which is already provided by python-gobject-dbg
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Package python2.6 is trying to overwrite gtk-2.0/gio/_gio.so which is already provided by python-gobject-dbg
dpkg: error processing /var/cache/apt/archives/python-gobject-dbg_2.16.1-0ubuntu2_amd64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
Package python2.6 is trying to overwrite gtk-2.0/gio/_gio.so which is already provided by python-gobject-dbg
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Preparing to replace python-gobject 2.16.1-0ubuntu1 (using .../python-gobject_2.16.1-0ubuntu2_amd64.deb) ...
Package python2.6 is trying to overwrite gtk-2.0/gio/_gio.so which is already provided by python-gobject-dbg
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Package python2.6 is trying to overwrite gtk-2.0/gio/_gio.so which is already provided by python-gobject-dbg
dpkg: error processing /var/cache/apt/archives/python-gobject_2.16.1-0ubuntu2_amd64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
Package python2.6 is trying to overwrite gtk-2.0/gio/_gio.so which is already provided by python-gobject-dbg
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Preparing to replace system-config-printer-common 1.1.3+git20090218-0ubuntu1 (using .../system-config-printer-common_1.1.3+git20090218-0ubuntu2_all.deb) ...
Package python2.6 is trying to overwrite gtk-2.0/gio/_gio.so which is already provided by python-gobject-dbg
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Package python2.6 is trying to overwrite gtk-2.0/gio/_gio.so which is already provided by python-gobject-dbg
dpkg: error processing /var/cache/apt/archives/system-config-printer-common_1.1.3+git20090218-0ubuntu2_all.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
Package python2.6 is trying to overwrite gtk-2.0/gio/_gio.so which is already provided by python-gobject-dbg
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Preparing to replace system-config-printer-gnome 1.1.3+git20090218-0ubuntu1 (using .../system-config-printer-gnome_1.1.3+git20090218-0ubuntu2_all.deb) ...
Package python2.6 is trying to overwrite gtk-2.0/gio/_gio.so which is already provided by python-gobject-dbg
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Package python2.6 is trying to overwrite gtk-2.0/gio/_gio.so which is already provided by python-gobject-dbg
dpkg: error processing /var/cache/apt/archives/system-config-printer-gnome_1.1.3+git20090218-0ubuntu2_all.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
No apport report written because MaxReports is reached already
Package python2.6 is trying to overwrite gtk-2.0/gio/_gio.so which is already provided by python-gobject-dbg
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/python-gobject-dbg_2.16.1-0ubuntu2_amd64.deb
 /var/cache/apt/archives/python-gobject_2.16.1-0ubuntu2_amd64.deb
 /var/cache/apt/archives/system-config-printer-common_1.1.3+git20090218-0ubuntu2_all.deb
 /var/cache/apt/archives/system-config-printer-gnome_1.1.3+git20090218-0ubuntu2_all.deb

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

Thanks for the bug report. This particular bug has already been reported, but feel free to report any other bugs you find.

Changed in pygobject:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Fix Released
Revision history for this message
Matthias Klose (doko) wrote : Re: [Bug 334092] [NEW] [jaunty] python-gobject-dbg update problem

Javier Smaldone schrieb:
> Public bug reported:
>
> Binary package hint: python-gobject-dbg
>
> When updating Jaunty using the update manager, I get the following
> errors:
>
> Preparing to replace python-gobject-dbg 2.16.1-0ubuntu1 (using .../python-gobject-dbg_2.16.1-0ubuntu2_amd64.deb) ...
> Package python2.6 is trying to overwrite gtk-2.0/gio/_gio.so which is already provided by python-gobject-dbg
> dpkg: warning - old pre-removal script returned error exit status 1
> dpkg - trying script from the new package instead ...
> Package python2.6 is trying to overwrite gtk-2.0/gio/_gio.so which is already provided by python-gobject-dbg
> dpkg: error processing /var/cache/apt/archives/python-gobject-dbg_2.16.1-0ubuntu2_amd64.deb (--unpack):
> subprocess new pre-removal script returned error exit status 1

please could you try to remove python-gobject-dbg, then reinstall it?

Revision history for this message
Javier Smaldone (javier.smaldone) wrote :

I got the same error when trying to remove it. If y add "--force-overwrite", dpkg complains saying:

dpkg: error processing python-gobject-dbg (--remove):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.

I don't know what to do.

Revision history for this message
Javier Smaldone (javier.smaldone) wrote :

I've removed the "prerm" script for python-gobject-dbg on /var/lib/dpkg/info and the problem is fixed.

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.