You are not logged in.

#1 2024-05-05 18:36:42

winlawson
Member
Registered: 2024-05-05
Posts: 3

pacman: recurring conflicting files error

I have noticed that some binaries have not been working in recent days. The first being rsync, and the latest being meson. When attempting to reinstall the packages both came up with conflicting files errors. Following the instructions at pacman troubleshooting, I was able to confirm that none of the conflicting files were owned by any package and was able to safely remove them. However when trying to reinstall meson there were tens of conflicting files, more than I wanted to check individually. I ended up using the --overwrite switch, but was wondering if there was a better solution since arch wiki recommends against this. Also there definitely could be other broken binaries on my system that I am not aware of, plagued with the same problem. Is there a better way to find all packages that are broken in this way, remove the conflicting files, then reinstall them?

Thanks for your help.

Last edited by winlawson (2024-05-05 18:37:02)

Offline

#2 2024-05-05 18:46:36

loqs
Member
Registered: 2014-03-06
Posts: 18,859

Re: pacman: recurring conflicting files error

Did pacman report meson and rsync as being installed when you tried to reinstall the packages?  Has the system hung particularly during a pacman update?  Please post the link the second command below generates.

# LC_ALL=C pacman -Qkk 2>&1 | grep -v ', 0 altered files' | tee /tmp/broken_packages.txt
cat /tmp/broken_packages.txt | curl -F 'file=@-' 0x0.st

Offline

#3 2024-05-14 18:37:21

winlawson
Member
Registered: 2024-05-05
Posts: 3

Re: pacman: recurring conflicting files error

Sorry for the late response, I had my notification settings messed up. Here is the output: http://0x0.st/XKlk.txt

Thank you in advance for any help!

Offline

#4 2024-05-14 20:06:57

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,317

Re: pacman: recurring conflicting files error

db5.3: no mtree file
libbsd: no mtree file
llvm-libs: no mtree file
wget: no mtree file
pacman -S --dbonly db5.3 libbsd llvm-libs wget
warning: filesystem: /root (Permissions mismatch)
stat /root

Online

#5 2024-05-20 13:39:17

winlawson
Member
Registered: 2024-05-05
Posts: 3

Re: pacman: recurring conflicting files error

Thanks for the help

Offline

#6 2024-05-20 15:03:17

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,317

Re: pacman: recurring conflicting files error

Did you fix the /root permissions?

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Online

Board footer

Powered by FluxBB