You are not logged in.

#1 2021-04-10 19:55:07

mass_t
Member
Registered: 2015-04-21
Posts: 57

ruby-bundler: /usr/share/man/man5/gemfile.5.gz exists in filesystem (o

:: Proceed with installation? [Y/n]
(10/10) checking keys in keyring                                                  [##############################################] 100%
(10/10) checking package integrity                                                [##############################################] 100%
(10/10) loading package files                                                     [##############################################] 100%
(10/10) checking for file conflicts                                               [##############################################] 100%
error: failed to commit transaction (conflicting files)
ruby-bundler: /usr/share/man/man5/gemfile.5.gz exists in filesystem (owned by ruby)
Errors occurred, no packages were upgraded.
error installing repo packages

Offline

#2 2021-04-10 20:07:22

loqs
Member
Registered: 2014-03-06
Posts: 17,314

Re: ruby-bundler: /usr/share/man/man5/gemfile.5.gz exists in filesystem (o

Offline

#3 2021-04-12 03:13:20

demux
Member
Registered: 2020-01-05
Posts: 2

Re: ruby-bundler: /usr/share/man/man5/gemfile.5.gz exists in filesystem (o

Removing the  /usr/share/man/man5/gemfile.5.gz file worked for me

Offline

#4 2021-04-12 13:05:29

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,541

Re: ruby-bundler: /usr/share/man/man5/gemfile.5.gz exists in filesystem (o

demux wrote:

Removing the  /usr/share/man/man5/gemfile.5.gz file worked for me

That's a terrible idea. You now have a file owned by two different package in the pacman database. When it gets fixed, the file may just disappear all together.

Offline

#5 2021-04-13 02:32:51

demux
Member
Registered: 2020-01-05
Posts: 2

Re: ruby-bundler: /usr/share/man/man5/gemfile.5.gz exists in filesystem (o

Man page for something I don't use seems like something I can part with

Offline

#6 2021-04-13 17:30:04

Lesmana
Member
Registered: 2015-05-04
Posts: 18

Re: ruby-bundler: /usr/share/man/man5/gemfile.5.gz exists in filesystem (o

Scimmia wrote:

That's a terrible idea. You now have a file owned by two different package in the pacman database. When it gets fixed, the file may just disappear all together.

question: if i deleted the file would it not be enough to do

pacman -S ruby ruby-bundler

once the problem is fixed?

i agree that leaving the system in an inconsistent state is generally a bad idea. but in this case it is a manpage. so the potential damage (not being able to read the manpage) is managable and the fix seems straightforward.

Offline

Board footer

Powered by FluxBB