You are not logged in.

#1 2021-12-19 19:37:57

Arcani
Member
Registered: 2019-12-13
Posts: 6

[SOLVED] error : failed to commit transaction (conflicting files)

Hello,

It's been a while since i did a system update so I attempted to do a pacman -Syu, but noticed some of the gpg keys were out of date so I updated those, then i came across this error :

error: failed to commit transaction (conflicting files)
libinih: /usr/include/INIReader.h exists in filesystem
libinih: /usr/include/ini.h exists in filesystem
libinih: /usr/lib/libINIReader.so exists in filesystem
libinih: /usr/lib/libINIReader.so.0 exists in filesystem
libinih: /usr/lib/libinih.so exists in filesystem
libinih: /usr/lib/libinih.so.0 exists in filesystem
libinih: /usr/lib/pkgconfig/INIReader.pc exists in filesystem
libinih: /usr/lib/pkgconfig/inih.pc exists in filesystem

I did some poking around the forums and tried what some others have done with similar issues - cleaned cache with pacman -Scc, and updated only the repos first with pacman -Syy, but I still got the same error.

I tried to look for the offending package with pacman -Syu --debug and found that it was the following :

debug: searching for file conflicts: xf86-video-vesa
debug: searching for filesystem conflicts: xf86-video-vesa
debug: searching for file conflicts: xfce4-whiskermenu-plugin
debug: searching for filesystem conflicts: xfce4-whiskermenu-plugin
debug: checking possible conflict: /usr/share/locale/th/
debug: file is a directory, not a conflict
debug: checking possible conflict: /usr/share/locale/th/LC_MESSAGES/
debug: file is a directory, not a conflict
debug: searching for file conflicts: xfwm4
debug: searching for filesystem conflicts: xfwm4
debug: searching for file conflicts: xorg-server-devel
debug: searching for filesystem conflicts: xorg-server-devel
debug: searching for file conflicts: xorg-server-xephyr
debug: searching for filesystem conflicts: xorg-server-xephyr
debug: searching for file conflicts: xorg-server-xnest
debug: searching for filesystem conflicts: xorg-server-xnest
debug: searching for file conflicts: xorg-xauth
debug: searching for filesystem conflicts: xorg-xauth
debug: searching for file conflicts: xorg-server-xvfb
debug: searching for filesystem conflicts: xorg-server-xvfb
debug: searching for file conflicts: xorg-xrdb
debug: searching for filesystem conflicts: xorg-xrdb
debug: searching for file conflicts: xorg-xwayland
debug: searching for filesystem conflicts: xorg-xwayland
debug: searching for file conflicts: xorg-xwd
debug: searching for filesystem conflicts: xorg-xwd
debug: returning error 47 from _alpm_sync_check (../lib/libalpm/sync.c: 1209) : conflicting files
error: failed to commit transaction (conflicting files)
libinih: /usr/include/INIReader.h exists in filesystem
libinih: /usr/include/ini.h exists in filesystem
libinih: /usr/lib/libINIReader.so exists in filesystem
libinih: /usr/lib/libINIReader.so.0 exists in filesystem
libinih: /usr/lib/libinih.so exists in filesystem
libinih: /usr/lib/libinih.so.0 exists in filesystem
libinih: /usr/lib/pkgconfig/INIReader.pc exists in filesystem
libinih: /usr/lib/pkgconfig/inih.pc exists in filesystem
Errors occurred, no packages were upgraded.

I'm not sure if I should try to ignore these files given that they're from my display manager, or if I should overwrite them (as recommended here : https://ostechnix.com/how-to-solve-erro … ch-linux/), or if that there is something else that I may be overlooking.  Preferably I would be able to safely do a full system update.

Thank you in advance smile

Last edited by Arcani (2021-12-27 04:20:58)

Offline

#2 2021-12-19 20:11:29

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 6,225

Re: [SOLVED] error : failed to commit transaction (conflicting files)

Arcani wrote:

and updated only the repos first with pacman -Syy

Don't do that, it will break your system: https://wiki.archlinux.org/title/System … nsupported

Arcani wrote:

as recommended here :

Why are you taking advice from some shitty advert-ridden random internet site?

Always search the ArchWiki first: https://wiki.archlinux.org/title/Pacman … )%22_error

Offline

#3 2021-12-27 04:18:21

Arcani
Member
Registered: 2019-12-13
Posts: 6

Re: [SOLVED] error : failed to commit transaction (conflicting files)

That worked lol.  Can't believe I missed that.

Thank you!

Offline

Board footer

Powered by FluxBB