You are not logged in.

#1 2022-08-05 11:06:34

dankthropod
Member
Registered: 2022-08-05
Posts: 2

pacman -Syu fails"failed to commit transaction (conflicting files)"

Hello! I have come back to arch after a long while (3 months or so?). I tried upgrading, and getting new keys, but as the title says, I have an error about conflicting files, regarding one package: ruby-rexml.

This is the full error:
```
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/LICENSE.txt exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/NEWS.md exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/README.md exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/doc/rexml/context.rdoc exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/doc/rexml/tasks/rdoc/child.rdoc exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/doc/rexml/tasks/rdoc/document.rdoc exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/doc/rexml/tasks/rdoc/element.rdoc exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/doc/rexml/tasks/rdoc/node.rdoc exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/doc/rexml/tasks/rdoc/parent.rdoc exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/doc/rexml/tasks/tocs/child_toc.rdoc exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/doc/rexml/tasks/tocs/document_toc.rdoc exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/doc/rexml/tasks/tocs/element_toc.rdoc exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/doc/rexml/tasks/tocs/master_toc.rdoc exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/doc/rexml/tasks/tocs/node_toc.rdoc exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/doc/rexml/tasks/tocs/parent_toc.rdoc exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/attlistdecl.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/attribute.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/cdata.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/child.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/comment.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/doctype.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/document.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/dtd/attlistdecl.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/dtd/dtd.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/dtd/elementdecl.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/dtd/entitydecl.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/dtd/notationdecl.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/element.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/encoding.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/entity.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/formatters/default.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/formatters/pretty.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/formatters/transitive.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/functions.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/instruction.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/light/node.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/namespace.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/node.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/output.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/parent.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/parseexception.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/parsers/lightparser.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/parsers/pullparser.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/parsers/sax2parser.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/parsers/streamparser.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/parsers/treeparser.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/parsers/ultralightparser.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/parsers/xpathparser.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/quickpath.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/rexml.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/sax2listener.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/security.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/source.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/streamlistener.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/text.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/undefinednamespaceexception.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/validation/relaxng.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/validation/validation.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/validation/validationexception.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/xmldecl.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/xmltokens.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/xpath.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/xpath_parser.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/specifications/rexml-3.2.5.gemspec exists in filesystem
Errors occurred, no packages were upgraded.
```

Any help would be greately appreciated!

Offline

#2 2022-08-05 11:18:16

Scimmia
Fellow
Registered: 2012-09-01
Posts: 9,447

Re: pacman -Syu fails"failed to commit transaction (conflicting files)"

Offline

#3 2022-08-05 14:32:21

dankthropod
Member
Registered: 2022-08-05
Posts: 2

Re: pacman -Syu fails"failed to commit transaction (conflicting files)"

Alright, no package owns /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/

I also tried pacman -S --overwrite glob ruby-rexml, and it gives me the following error:
error: failed to commit transaction (conflicting files)
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/LICENSE.txt exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/NEWS.md exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/README.md exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/doc/rexml/context.rdoc exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/doc/rexml/tasks/rdoc/child.rdoc exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/doc/rexml/tasks/rdoc/document.rdoc exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/doc/rexml/tasks/rdoc/element.rdoc exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/doc/rexml/tasks/rdoc/node.rdoc exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/doc/rexml/tasks/rdoc/parent.rdoc exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/doc/rexml/tasks/tocs/child_toc.rdoc exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/doc/rexml/tasks/tocs/document_toc.rdoc exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/doc/rexml/tasks/tocs/element_toc.rdoc exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/doc/rexml/tasks/tocs/master_toc.rdoc exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/doc/rexml/tasks/tocs/node_toc.rdoc exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/doc/rexml/tasks/tocs/parent_toc.rdoc exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/attlistdecl.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/attribute.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/cdata.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/child.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/comment.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/doctype.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/document.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/dtd/attlistdecl.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/dtd/dtd.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/dtd/elementdecl.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/dtd/entitydecl.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/dtd/notationdecl.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/element.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/encoding.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/entity.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/formatters/default.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/formatters/pretty.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/formatters/transitive.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/functions.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/instruction.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/light/node.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/namespace.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/node.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/output.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/parent.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/parseexception.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/parsers/lightparser.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/parsers/pullparser.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/parsers/sax2parser.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/parsers/streamparser.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/parsers/treeparser.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/parsers/ultralightparser.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/parsers/xpathparser.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/quickpath.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/rexml.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/sax2listener.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/security.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/source.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/streamlistener.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/text.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/undefinednamespaceexception.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/validation/relaxng.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/validation/validation.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/validation/validationexception.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/xmldecl.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/xmltokens.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/xpath.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/gems/rexml-3.2.5/lib/rexml/xpath_parser.rb exists in filesystem
ruby-rexml: /usr/lib/ruby/gems/3.0.0/specifications/rexml-3.2.5.gemspec exists in filesystem
Errors occurred, no packages were upgraded.

Offline

#4 2022-08-05 14:43:35

Scimmia
Fellow
Registered: 2012-09-01
Posts: 9,447

Re: pacman -Syu fails"failed to commit transaction (conflicting files)"

Offline

#5 2022-08-05 15:20:41

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 10,843
Website

Re: pacman -Syu fails"failed to commit transaction (conflicting files)"

Welcome to the Arch Linux forums, dankthropod. Please edit your post to use code tags around the terminal output: https://wiki.archlinux.org/title/Genera … s_and_code


Sakura:-
Mobo: MSI MEG B550 UNIFY // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB