[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1122805: apt or dpkg bug?



On Fri, 12 Dec 2025 21:07:33 +0100 Piotr =?utf-8?Q?O=C5=BCarowski?= <piotr@debian.org> wrote:
> $ rmdir /usr/share/X11/xkb  # i.e. only if it's empty
> $ ln -s /usr/share/xkeyboard-config-2/ /usr/share/X11/xkb

/usr/share/X11/xkb is supposed to go from a (non-empty) directory in xkb-date 2.42-1
to a symlink (to a directory) in 2.46-1.

But on my system (on sid) the result is an empty directory /usr/share/X11/xkb - no error or warning
when using "apt install". When I use "dpkg -i" to install the deb, I get lots of warnings like
"unable to delete old directory '/usr/share/X11/xkb/compat': Directory not empty", but the result
is as intended (/usr/share/X11/xkb is a symlink to /usr/share/xkeyboard-config-2).

Is this a bug in apt?

Cheers, Roderih

Reply to: