[Bug 2150175] Re: do-release-upgrade to 26.04 fails when customizations present in /usr/share/X11/xkb/symbols
Daniel Tang
2150175 at bugs.launchpad.net
Sat Apr 25 01:18:42 UTC 2026
> Can you provide an example of what customization caused problems?
My now-removed customization file for 25.10 is shown at
https://github.com/danielzgtg/linuxenv/blob/a34d8a83e4737e680811c59006b37e4b4d433a17/system/usr/share/X11/xkb/symbols/jp
. Run dpkg-divert, then move the file to the original path.
I need it to enable Japanese Kana input on an American keyboard, by
remapping the Windows key. Now I'm forced to use Japanese Romaji input,
which requires pressing 100%+ more keys. But moving this configuration
below $HOME and getting it to work again is besides the point.
I am most concerned that after dpkg gave up after xkb-data, I got "error
while loading shared libraries" when trying to run `apt`. I had to fix
it manually as described above, but this will brick someone who is less
technical.
** Changed in: ubuntu-release-upgrader (Ubuntu)
Status: Incomplete => New
** Changed in: xkeyboard-config (Ubuntu)
Status: Incomplete => New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2150175
Title:
do-release-upgrade to 26.04 fails when customizations present in
/usr/share/X11/xkb/symbols
Status in ubuntu-release-upgrader package in Ubuntu:
New
Status in xkeyboard-config package in Ubuntu:
New
Bug description:
I had previously unsupportedly placed files and dpkg-diversions in
/usr/share/X11/xkb/symbols . While unpacking the xkb-data package, it
complained about not owning the files there and crashed. This left the
system in a state where systemd, dbus, and python3 were half-installed
and broken. Most severely, `apt` stopped working, and showed failures
to load shared libraries. I had to `dpkg -i
/var/cache/apt/archives/something*.deb` to resume the upgrade. Please
prevent do-release-upgrade from starting if there are extra files, and
ask the user to move them to `~/.config/xkb`.
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: xkb-data 2.46-2
ProcVersionSignature: Ubuntu 7.0.0-14.14-generic 7.0.0
Uname: Linux 7.0.0-14-generic x86_64
ApportVersion: 2.34.0-0ubuntu2
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: pass
CurrentDesktop: KDE
Date: Thu Apr 23 21:42:56 2026
Dependencies:
DistUpgraded: 2026-04-23 21:28:28,403 INFO ubuntu-insights not available, skipping collection
DistroCodename: resolute
DistroVariant: ubuntu
InstallationDate: Installed on 2022-11-05 (1266 days ago)
InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020)
MachineType: Micro-Star International Co., Ltd. MS-7C37
PackageArchitecture: all
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-7.0.0-14-generic root=/dev/mapper/ssdcrypt ro fbcon=font:TER16x32 rootflags=nombcache,nodev splash usbcore.autosuspend=-1
SourcePackage: xkeyboard-config
UpgradeStatus: Upgraded to resolute on 2026-04-24 (0 days ago)
dmi.bios.date: 09/03/2025
dmi.bios.release: 5.17
dmi.bios.vendor: American Megatrends International, LLC.
dmi.bios.version: H.Q0
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: X570-A PRO (MS-7C37)
dmi.board.vendor: Micro-Star International Co., Ltd.
dmi.board.version: 3.0
dmi.chassis.asset.tag: To be filled by O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: Micro-Star International Co., Ltd.
dmi.chassis.version: 3.0
dmi.modalias: dmi:bvnAmericanMegatrendsInternational,LLC.:bvrH.Q0:bd09/03/2025:br5.17:svnMicro-StarInternationalCo.,Ltd.:pnMS-7C37:pvr3.0:rvnMicro-StarInternationalCo.,Ltd.:rnX570-APRO(MS-7C37):rvr3.0:cvnMicro-StarInternationalCo.,Ltd.:ct3:cvr3.0:skuTobefilledbyO.E.M.:pfaTobefilledbyO.E.M.:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: MS-7C37
dmi.product.sku: To be filled by O.E.M.
dmi.product.version: 3.0
dmi.sys.vendor: Micro-Star International Co., Ltd.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.131-1
version.libgl1-mesa-dri: libgl1-mesa-dri 26.0.5~kisak1~q
version.libgl1-mesa-glx: libgl1-mesa-glx 23.3.4~kisak1~l
version.xserver-xorg-core: xserver-xorg-core 2:21.1.22-1ubuntu1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati N/A
version.xserver-xorg-video-intel: xserver-xorg-video-intel N/A
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau N/A
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2150175/+subscriptions
More information about the foundations-bugs
mailing list