You are not logged in.
Pages: 1
Topic closed
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
Last edited by Arcani (2021-12-27 04:20:58)
Offline
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
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
Para todos todo, para nosotros nada
Offline
That worked lol. Can't believe I missed that.
Thank you!
Offline
Didn't work for me. Used below -
$ sudo pacman -Rns $(pacman -Qtdq)
Then -
$ sudo pacman -Syu
Offline
If you're getting the same error as OP, you need to update your system more often. Please do not necrobump.
Closing.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // 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
Pages: 1
Topic closed