[Bug 547244] Re: package libatk1.0-dev 1.29.92-0ubuntu1 failed to install/upgrade: trying to overwrite '/usr/share/gir-1.0/Atk-1.0.gir', which is also in package gobject-introspection-repository 0:0.6.5-0ubuntu1

Francois xbgmsharp at gmail.com
Wed Apr 28 10:42:37 BST 2010


I am also impact with this bug.
The problem is that packages gobject-introspection-repository does not exist anymore in Lucid.
The source package need to be update in debian/control.in, the maintainer need to add gobject-introspection-repository into the replace line.
As i did not want to compile it, here is a work around.

laptop:$ sudo apt-get update

laptop:$ sudo apt-get dist-upgrade
Preparing to replace libatk1.0-dev 1.28.0-0ubuntu1 (using .../libatk1.0-dev_1.30.0-0ubuntu2_i386.deb) ...
Unpacking replacement libatk1.0-dev ...
dpkg: error processing /var/cache/apt/archives/libatk1.0-dev_1.30.0-0ubuntu2_i386.deb (--unpack):
 trying to overwrite '/usr/share/gir-1.0/Atk-1.0.gir', which is also in package gobject-introspection-repository 0:0.6.5-0ubuntu1
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libatk1.0-dev_1.30.0-0ubuntu2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

laptop:$ mkdir atk1.0-1.30.0/

laptop:$ cd atk1.0-1.30.0/

laptop:~/atk1.0-1.30.0$ ar vx /var/cache/apt/archives/libatk1.0-dev_1.30.0-0ubuntu2_i386.deb 
x - debian-binary
x - control.tar.gz
x - data.tar.gz

laptop:~/atk1.0-1.30.0$ tar zxvf control.tar.gz
./
./md5sums
./control

laptop:~/atk1.0-1.30.0$ nano ./control

In Package "Package: libatk1.0-dev"
Add "gobject-introspection-repository" to "Replaces:.."

laptop:$ ar -r ../libatk1.0-dev_1.30.0-0ubuntu3_i386.deb debian-binary
control.tar.gz data.tar.gz

laptop:$ sudo dpkg -i ../libatk1.0-dev_1.30.0-0ubuntu3_i386.deb
[sudo] password for kaya: 
(Reading database ... 231624 files and directories currently installed.)
Preparing to replace libatk1.0-dev 1.28.0-0ubuntu1 (using .../libatk1.0-dev_1.30.0-0ubuntu3_i386.deb) ...
Unpacking replacement libatk1.0-dev ...
Replacing files in old package gobject-introspection-repository ...
dpkg: dependency problems prevent configuration of libatk1.0-dev:
 libatk1.0-dev depends on libatk1.0-0 (= 1.30.0-0ubuntu2); however:
  Package libatk1.0-0 is not configured yet.
 libatk1.0-dev depends on pkg-config; however:
  Package pkg-config is not configured yet.
 libatk1.0-dev depends on libglib2.0-dev (>= 2.4.1-2); however:
  Package libglib2.0-dev is not configured yet.
dpkg: error processing libatk1.0-dev (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libatk1.0-dev

laptop:$ sudo apt-get dist-upgrade

You will need to do the same for libgtk2.0-dev_2.20.0-0ubuntu4

-- 
package libatk1.0-dev 1.29.92-0ubuntu1 failed to install/upgrade: trying to overwrite '/usr/share/gir-1.0/Atk-1.0.gir', which is also in package gobject-introspection-repository 0:0.6.5-0ubuntu1
https://bugs.launchpad.net/bugs/547244
You received this bug notification because you are a member of
Accessibility, which is subscribed to atk1.0 in ubuntu.



More information about the Ubuntu-accessibility-bugs mailing list