You are not logged in.

#1 2010-11-19 10:38:38

skip
Member
Registered: 2010-02-16
Posts: 47

ruby-cairo upgrade file conflicts [solved]

I did a 'pacman -Su' and it tried to upgrade ruby-cairo but it then bombed out due to file conflicts. If I do a 'pacman -Qu ruby-cairo' it says the package does not exist, even though I'm pretty sure I installed it in the past and hence why there are file conflicts. Should I force the upgrade or are there better ways to solve this?

Here's the output from pacman -Su

Targets (5): bluez-4.79-2  libx11-1.3.5-2  pixman-0.20.0-1  ruby-cairo-1.10.0-1  ruby-pango-0.90.5-3

Total Download Size:    0.00 MB
Total Installed Size:   18.27 MB

Proceed with installation? [Y/n] y
checking package integrity...
(5/5) checking for file conflicts                                                                                                                                     [#######################################################################################################] 100%
error: failed to commit transaction (conflicting files)
ruby-cairo: /usr/lib/ruby/site_ruby/1.9.1/cairo.rb exists in filesystem
ruby-cairo: /usr/lib/ruby/site_ruby/1.9.1/cairo/color.rb exists in filesystem
ruby-cairo: /usr/lib/ruby/site_ruby/1.9.1/cairo/colors.rb exists in filesystem
ruby-cairo: /usr/lib/ruby/site_ruby/1.9.1/cairo/constants.rb exists in filesystem
ruby-cairo: /usr/lib/ruby/site_ruby/1.9.1/cairo/context.rb exists in filesystem
ruby-cairo: /usr/lib/ruby/site_ruby/1.9.1/cairo/context/blur.rb exists in filesystem
ruby-cairo: /usr/lib/ruby/site_ruby/1.9.1/cairo/context/circle.rb exists in filesystem
ruby-cairo: /usr/lib/ruby/site_ruby/1.9.1/cairo/context/color.rb exists in filesystem
ruby-cairo: /usr/lib/ruby/site_ruby/1.9.1/cairo/context/path.rb exists in filesystem
ruby-cairo: /usr/lib/ruby/site_ruby/1.9.1/cairo/context/rectangle.rb exists in filesystem
ruby-cairo: /usr/lib/ruby/site_ruby/1.9.1/cairo/context/triangle.rb exists in filesystem
ruby-cairo: /usr/lib/ruby/site_ruby/1.9.1/cairo/paper.rb exists in filesystem
ruby-cairo: /usr/lib/ruby/site_ruby/1.9.1/cairo/papers.rb exists in filesystem
ruby-cairo: /usr/lib/ruby/site_ruby/1.9.1/cairo/path.rb exists in filesystem
ruby-cairo: /usr/lib/ruby/site_ruby/1.9.1/cairo/point.rb exists in filesystem
ruby-cairo: /usr/lib/ruby/site_ruby/1.9.1/x86_64-linux/cairo.so exists in filesystem
ruby-cairo: /usr/lib/ruby/site_ruby/1.9.1/x86_64-linux/rb_cairo.h exists in filesystem
Errors occurred, no packages were upgraded.

Last edited by skip (2010-11-19 11:04:03)

Offline

#2 2010-11-19 10:41:45

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

Re: ruby-cairo upgrade file conflicts [solved]

pacman -Qo /usr/lib/ruby/site_ruby/1.9.1/cairo.rb


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

Offline

#3 2010-11-19 10:55:54

skip
Member
Registered: 2010-02-16
Posts: 47

Re: ruby-cairo upgrade file conflicts [solved]

farrel@ages ~ $ pacman -Qo /usr/lib/ruby/site_ruby/1.9.1/cairo.rb
/usr/lib/ruby/site_ruby/1.9.1/cairo.rb is owned by ruby-rcairo 1.8.0-2

So there's ruby-rcairo (what I have installed) and ruby-cairo which is what it's trying to install. I can probably just remove ruby-rcairo and install ruby-cairo.

Last edited by skip (2010-11-19 10:59:05)

Offline

#4 2010-11-19 10:58:54

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: ruby-cairo upgrade file conflicts [solved]

Looks like you no longer need ruby-rcairo or that package need updated...

Offline

#5 2010-11-19 11:00:23

skip
Member
Registered: 2010-02-16
Posts: 47

Re: ruby-cairo upgrade file conflicts [solved]

Uninstalled ruby-rcairo and everything went smooth.

Offline

#6 2010-11-22 04:04:36

RabidWolf
Member
From: WI,USA
Registered: 2007-01-20
Posts: 31
Website

Re: ruby-cairo upgrade file conflicts [solved]

I had this issue also, thanx for the help Arch community and devs. smile

Offline

Board footer

Powered by FluxBB