You are not logged in.
Hello. N00b here.
I just run a 'pacman -Syu' in two machines with the 'ruby' package installed. I see today there's an update to ruby-1.9.3_p0-1.
The update fails in both machines with:
(24/24) checking package integrity [######################] 100%
(24/24) checking for file conflicts [######################] 100%
error: failed to commit transaction (conflicting files)
ruby: /usr/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/bin/rake exists in filesystem
ruby: /usr/lib/ruby/gems/1.9.1/gems/rdoc-3.9.4/bin/rdoc exists in filesystem
ruby: /usr/lib/ruby/gems/1.9.1/gems/rdoc-3.9.4/bin/ri exists in filesystem
ruby: /usr/lib/ruby/gems/1.9.1/specifications/rake-0.9.2.2.gemspec exists in filesystem
ruby: /usr/lib/ruby/gems/1.9.1/specifications/rdoc-3.9.4.gemspec exists in filesystem
Errors occurred, no packages were upgraded.Help?
Last edited by amatriain (2012-05-07 07:03:11)
Offline
In the end I deleted the five offending directories under /usr/lib/ruby/gems/1.9.1 , after that the upgrade worked and everything seems ok. But I don't think that's how the upgrade is supposed to be done...
Offline
I had the same problem. I got around it by removing the offending gems:
gem uninstall rake
gem uninstall rdoc
Then, after the successful pacman -Syu, I just did a:
gem update
Offline
I had the same problem. I got around it by removing the offending gems:
gem uninstall rake
gem uninstall rdocThen, after the successful pacman -Syu, I just did a:
gem update
Works here, removed all versions of the gems, had to remove also the json gem.
Thanks
Offline