You are not logged in.

#1 2025-06-11 17:43:45

getzze
Member
Registered: 2015-04-08
Posts: 6

Cannot update xkeyboard-config to 2.45

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

#2 2025-06-11 17:50:41

adventurer
Member
Registered: 2014-05-04
Posts: 127

Re: Cannot update xkeyboard-config to 2.45

Offline

#3 2025-06-11 18:13:24

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 1,150
Website

Re: Cannot update xkeyboard-config to 2.45

Offline

#4 2025-06-11 18:42:02

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,833
Website

Re: Cannot update xkeyboard-config to 2.45

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

#5 2025-06-11 22:55:21

raisedintheusa
Member
Registered: 2022-02-18
Posts: 11

Re: Cannot update xkeyboard-config to 2.45

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

#6 2025-06-12 07:26:27

kepi
Member
Registered: 2016-02-27
Posts: 3

Re: Cannot update xkeyboard-config to 2.45

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

#7 2025-06-14 22:12:42

sosthene
Member
Registered: 2019-03-25
Posts: 1

Re: Cannot update xkeyboard-config to 2.45

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

#8 2025-06-16 06:12:36

CableP13
Member
Registered: 2025-06-15
Posts: 1

Re: Cannot update xkeyboard-config to 2.45

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

#9 2025-06-17 13:20:47

green_green_grass
Member
Registered: 2025-06-17
Posts: 1

Re: Cannot update xkeyboard-config to 2.45

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

#10 Yesterday 15:54:58

vitalij_r2
Member
Registered: 2025-01-23
Posts: 1

Re: Cannot update xkeyboard-config to 2.45

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

Board footer

Powered by FluxBB