Hi Emilio,
Emilio Pozuelo Monfort <pochu@debian.org> (2025-12-18):
> On 13/12/2025 23:02, Cyril Brulebois wrote:
> > So it looks like the need for a symlink was indeed spotted, and
> > implemented, except it doesn't actually happen during the upgrade!
> >
> > See dpkg-maintscript-helper(1) and dir_to_symlink…
> >
> >
> > Having a little look around, and assuming this is indeed where
> > maintainers want to go, a proper “directory to symlink” replacement
> > might require some care, as `apt-file search` reports at least one other
> > package shipping files there:
> >
> > keyboards-rg: /usr/share/X11/xkb/symbols/eo_rg
> > keyboards-rg: /usr/share/X11/xkb/symbols/pancyr
> > keyboards-rg: /usr/share/X11/xkb/symbols/sk_rg
> > keyboards-rg: /usr/share/X11/xkb/symbols/sk_snk
>
> Thanks for the pointer, it saved us some debugging.
>
> This should be fixed now in 2.46-2.
Yes, that's looking much better (tested by going back to 2.42-1 and
upgrading to 2.46-2), and that should help most users indeed.
That doesn't seen to work for those who would have keyboards-rg
installed though:
Preparing to unpack .../xkb-data_2.46-2_all.deb ...
dpkg-maintscript-helper: error: file '/usr/share/X11/xkb/symbols/pancyr' not owned by package 'xkb-data:all'
dpkg-maintscript-helper: error: file '/usr/share/X11/xkb/symbols/sk_rg' not owned by package 'xkb-data:all'
dpkg-maintscript-helper: error: file '/usr/share/X11/xkb/symbols/sk_snk' not owned by package 'xkb-data:all'
dpkg-maintscript-helper: error: file '/usr/share/X11/xkb/symbols/eo_rg' not owned by package 'xkb-data:all'
dpkg-maintscript-helper: error: directory '/usr/share/X11/xkb' contains files not owned by package xkb-data:all, cannot switch to symlink
dpkg: error processing archive /var/cache/apt/archives/xkb-data_2.46-2_all.deb (--install):
new xkb-data package pre-installation script subprocess returned error exit status 1
I'm not sure how that would be best solved, possibly by just switching
that package's files from the old location to the new one, without
having to add any kind of specific relationship towards xkb-data?
Adding maintainer to the loop for awareness (and not planning to dive
into this any deeper at this point).
Cheers,
--
Cyril Brulebois (kibi@debian.org) <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant
Attachment:
signature.asc
Description: PGP signature