On Sun 23 Jul 2023 at 20:32:28 (+0000), Michael Kjörling wrote: > I upgraded from current Debian 11 to 12.1 today. Almost everything > worked great, but during early boot I'm now getting the following > message: > > unknown keysym 'dead_abovering' > /etc/console-setup/cached_UTF-8_del.kmap:27: syntax error > syntax error in map file > key bindings not changed > > This is printed before the root file system fsck. > > Uncompressing /etc/console-setup/cached_UTF-8_del.kmap.gz, line 27 is > for "keycode 26" and does indeed list "dead_abovering" on that line > (multiple times). My /etc/console-setup/cached_UTF-8_del.kmap.gz has > md5sum fcb9f3d5d1ca4d2d1b97f7794e32f3ed in case that helps identify > the exact file in use. > > The .gz file is named in /etc/console-setup/cached_setup_keyboard.sh > and executing the loadkeys command from that script from within an > Xfce session gets me: > > Loading /etc/console-setup/cached_UTF-8_del.kmap.gz > ...(lots of assuming/found)... > unknown keysym 'dead_abovering' > /etc/console-setup/cached_UTF-8_del.kmap.gz:27: syntax error > syntax error in map file > key bindings not changed > > I did see several "unknown keysym 'Omega'" (as well as 'omega') in the > loadkeys output as well, but I don't see those nor the assuming/found > during boot. > > dpkg -l console-setup reports status "ii" for package version 1.221. > dpkg-reconfigure console-setup has not helped. > > The file has and had a very recent mtime so it doesn't seem to be a > stale leftover file from before the upgrade to 12.1. > > Checking on the console, I do seem to have a US keyboard layout as > opposed to my preferred Swedish layout.
For my limited understanding of non-anglo layouts, that would seem logical, as I don't understand why Swedish would use a dead abovering keystroke, rather than having such frequently-used vowels available on individual, single keystrokes. Anyway, my MO, probably including a bit of cargo-cult, would be to quit X, then run both dpkg-reconfigure keyboard-configuration and dpkg-reconfigure console-setup, check that both /etc/default/keyboard and console-setup look sane, and then reboot. Cheers, David.