You are not logged in.

#1 2008-10-13 00:39:08

ur25
Member
Registered: 2008-10-06
Posts: 13

cairo conflicts with cairo-xcb (The Gimp)

Hi,

I have awesome3 as my window manager, When I try to install The Gimp I get this error :

pacman -S gimp

resolving dependencies...
looking for inter-conflicts...
:: cairo conflicts with cairo-xcb. Remove cairo-xcb? [Y/n] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: cairo: conflicts with cairo-xcb

I know that cairo-xcb is required by awesome3 so I can't remove it. Does this mean that I can't install The Gimp (I want to keep awesome3)?

Thanks in advance!

ur25

Last edited by ur25 (2008-10-13 00:40:37)

Offline

#2 2008-10-13 01:27:47

peart
Member
From: Kanuckistan
Registered: 2003-07-28
Posts: 510

Re: cairo conflicts with cairo-xcb (The Gimp)

Hello ur25,

When you run "pacman -Qi cairo-xcb | grep Provides", does it say cairo-1.6.4, or just cairo (or nothing!)?  See the comments starting on date 20080619 here

You may just need to get a recent PKGBUILD & reinstall cairo-xcb before installing GIMP.
Ciao

Offline

#3 2008-10-13 02:29:45

ur25
Member
Registered: 2008-10-06
Posts: 13

Re: cairo conflicts with cairo-xcb (The Gimp)

Here is the output.

pacman -Qi cairo-xcb | grep Provides

Provides       : cairo=${pkgver}

When installing cairo-xcb I had a similar problem and followed these instructions that I found on the same page you are forwarding me to (post by technel) :

To summarize for others having this issue, if you get a package conflict with cairo, do thus:

1. Edit PKGBUILD and change provides=('cairo') to provides=('cairo=${pkgver}')

2. makepkg -s

2. pacman -Rd cairo

3. pacman -U cairo-xcb...pkg.tar.gz

And you should be good!

Offline

#4 2008-10-13 05:14:55

peart
Member
From: Kanuckistan
Registered: 2003-07-28
Posts: 510

Re: cairo conflicts with cairo-xcb (The Gimp)

Wow.  Does the output actually say "cairo=${pkgver}" ?!?  That should read "cairo=1.6.4".  The PKGBUILD you used must have had a screwed up pkgver variable in it.  Once again, just rebuilding with a newer (corrected) PKGBUILD really should solve that.

Edit: If you have the old PKGBUILD lying around, just change "provides=('cairo=${pkgver}')" to "provides=('cairo=1.6.4')".  The variable expansion is not happening inside single quotes.

Last edited by peart (2008-10-13 05:45:34)

Offline

#5 2008-10-13 06:54:37

JGC
Developer
Registered: 2003-12-03
Posts: 1,658

Re: cairo conflicts with cairo-xcb (The Gimp)

Please remove cairo-xcb, the cairo version in testing has xcb support included.

Offline

#6 2008-10-13 11:50:35

xcession
Member
From: Udon Thani, Thailand
Registered: 2008-05-07
Posts: 72
Website

Re: cairo conflicts with cairo-xcb (The Gimp)

JGC wrote:

Please remove cairo-xcb, the cairo version in testing has xcb support included.

+1

Last edited by xcession (2008-10-13 11:51:02)

Offline

#7 2008-10-13 13:48:49

ur25
Member
Registered: 2008-10-06
Posts: 13

Re: cairo conflicts with cairo-xcb (The Gimp)

peart wrote:

Wow.  Does the output actually say "cairo=${pkgver}" ?!?  That should read "cairo=1.6.4".  The PKGBUILD you used must have had a screwed up pkgver variable in it.  Once again, just rebuilding with a newer (corrected) PKGBUILD really should solve that.

Edit: If you have the old PKGBUILD lying around, just change "provides=('cairo=${pkgver}')" to "provides=('cairo=1.6.4')".  The variable expansion is not happening inside single quotes.

Working thank you!

JGC wrote:

Please remove cairo-xcb, the cairo version in testing has xcb support included.

I'm not too familiar with pacman yet so I don't know how to work with the testing branch. I will be reading about it and when I'll feel confident I'll try, the thing is that I don't want my system to be unstable.

Offline

Board footer

Powered by FluxBB