You are not logged in.
This package cannot be updated from version 2.44 to 2.45 because `/usr/share/X11/xkb/`, provided by the package in both versions, was changed to a symlink to `/usr/share/xkeyboard-config-2` in version 2.45, to allow installing different major version at the same time.
I get:
error: failed to commit transaction (conflicting files)
xkeyboard-config: /usr/share/X11/xkb exists in filesystem
Offline
Offline
This has already been reported: https://gitlab.archlinux.org/archlinux/ … -/issues/1
Offline
Closing, as duplicate, for deletion.
Edit: nope, different issues, sorry for the noise.
Last edited by WorMzy (2025-06-11 18:43:53)
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
I was getting this error, and after reading through the comments on the bug report, I removed some custom layout files I added from the symbols folder and the update went through.
Offline
For those lost same as me when dealing with this. You can quickly find files which aren't owned by any package with:
LANG=C pacman -Qo /usr/share/X11/xkb/**/* | grep "No package owns"
error: No package owns /usr/share/X11/xkb/symbols/cus_klaveska
error: No package owns /usr/share/X11/xkb/symbols/cust_cz_us
So I just moved them away before upgrade and then moved them back (when xkb is symlink to xkeyboard-config-2).
Offline
The issue has been closed saying people will find the source and be able to workaround it. I'm OK with that but the pacman error message could be improved to directly print out the exact manually added file that is causing the issue. That way there wouldn't even be the need for people to search a workaround.
Offline
I was hit by this too and @Kepi's solution wasn't enough to diagnose the issue.
I my case it was a custom keyboard layout installed from AUR that was preventing the update (xkb-qwerty-fr). I uninstalled it, made the update and reinstalled it with this patch. All working now.
Offline
I experienced the same problem; @kepi's commands produced no results, but I do recall manually modifying my keyboard configuration by making some changes to a few files in `/usr/share/X11/xkb/symbols/` and backing up the original files in the same directory. Upon deleting the backup files (or moving them to my home folder), the upgrade was able to continue.
Offline
I ran into the same issue.
In /usr/share/X11/xkb, all files are owned by xkeyboard-config, except one that was owned by my custom package.
I removed that package and tried updating again — it worked.
Offline