You are not logged in.

#1 2010-04-05 18:08:20

mattmurdock
Member
Registered: 2010-02-18
Posts: 4

gtk-gir conflicts with atk and gtk2 updates [SOLVED]

When upgrading with pacman -Syu I get the following error:

error: failed to commit transaction (conflicting files)
atk: /usr/share/gir-1.0/Atk-1.0.gir exists in filesystem
gtk2: /usr/share/gir-1.0/Gdk-2.0.gir exists in filesystem
gtk2: /usr/share/gir-1.0/GdkPixbuf-2.0.gir exists in filesystem
gtk2: /usr/share/gir-1.0/Gtk-2.0.gir exists in filesystem
Errors occurred, no packages were upgraded.

Checking with pacman -Qo /usr/share/gir-1.0/Atk-1.0.gir gives:

/usr/share/gir-1.0/Atk-1.0.gir is owned by gtk-gir 0.6.5-1

And pacman -Qi gtk-gir gives:

Name           : gtk-gir
Version        : 0.6.5-1
URL            : http://live.gnome.org/GObjectInstrospection
Licenses       : GPL  
Groups         : None
Provides       : None
Depends On     : gobject-introspection>=0.6.5  gtk2  
Optional Deps  : None
Required By    : libdesktop-agnostic-gnome-bzr  
Conflicts With : None
Replaces       : None
Installed Size : 3676.00 K
Packager       : Unknown Packager
Architecture   : x86_64
Build Date     : Tue 23 Mar 2010 05:17:59 PM CET
Install Date   : Tue 23 Mar 2010 05:18:07 PM CET
Install Reason : Installed as a dependency for another package
Install Script : No
Description    : GIR interface description files for GTK+

The dependencies can be tracked up to my installation of aur/avant-window-navigator-0.4-bzr 20100211-1

I'm stumped. Can you help me get around this problem?

Thanks!

Last edited by mattmurdock (2010-04-05 22:59:04)

Offline

#2 2010-04-05 18:13:00

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: gtk-gir conflicts with atk and gtk2 updates [SOLVED]

you should get rid of gtk-gir and rebuild avant-window-navigator-0.4-bzr using the right dependencies now that we support gobject in our packages


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2010-04-05 20:19:20

mattmurdock
Member
Registered: 2010-02-18
Posts: 4

Re: gtk-gir conflicts with atk and gtk2 updates [SOLVED]

@wonder
Thanks for the tip! It makes sense.

However, the current PKGBUILD for libdesktop-agnostic-gnome-bzr speaks about dependencies like so:

depends=('glib2' 'gtk2>=2.20.0' 'gconf' 'gnome-vfs' 'gnome-desktop')
makedepends=('bzr' 'python' 'pygobject' 'pygtk' 'vala' 'gobject-introspection')
optdepends=('python')
conflicts=('libdesktop-agnostic')

And I still get the build error. I suspect the workaround is to force a removal of gtk-gir but I'm hesitating because I really don't want to break my AWN installation.
Am I being too cautios - or is there a better way of doing this?

Thanks!

Offline

#4 2010-04-05 20:38:17

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: gtk-gir conflicts with atk and gtk2 updates [SOLVED]

remove gtk-gir, fully update and then rebuld awn. is simple and it would not break anything


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2010-04-05 22:31:47

mattmurdock
Member
Registered: 2010-02-18
Posts: 4

Re: gtk-gir conflicts with atk and gtk2 updates [SOLVED]

Thanks again!
I did what you said and it worked.

NOTE to users of avant-window-navigator-0.4-bzr: When upgrading to gnome 2.30.0 you will have to downgrade vala to version 0.7.10-1 or libdesktop-agnostic-gnome-bzr won't compile.

Offline

Board footer

Powered by FluxBB