Bug#994743: keyboard-configuration should trigger update-initramfs or warn about it
Package: keyboard-configuration
Version: 1.205
Severity: important
X-Debbugs-Cc: piorunz@gmx.com
Dear Maintainer,
1. Changed my keyboard layout to GB Colemak via "dpkg-reconfigure keyboard-
configuration"
2. Rebooted
3. All changed were ignored to my surprise.
After a lot of digging and discussion in Debian User mail group, I realized
that "pkg-reconfigure keyboard-configuration" did not trigger update-initramfs.
All my changes have been ignored. And it would stay that way, until I install
new Debian kernel or update current one. I had to do "update-initramfs -u -k
all" to have my keyboard layout changed.
This bug renders keyboard-configuration unusable, until user knows magic
command which needs to be done after.
Solution 1:
"dpkg-reconfigure keyboard-configuration" should warn about required update-
initramfs, otherwise changes are not implemented
Solution 2:
"dpkg-reconfigure keyboard-configuration" should update initramfs
I use Debian Stable with KDE, no exotics.
-- System Information:
Debian Release: 11.0
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.10.0-8-amd64 (SMP w/16 CPU threads)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages keyboard-configuration depends on:
ii debconf 1.5.77
ii liblocale-gettext-perl 1.07-4+b1
keyboard-configuration recommends no packages.
keyboard-configuration suggests no packages.
Versions of packages console-setup depends on:
ii console-setup-linux 1.205
ii debconf 1.5.77
ii xkb-data 2.29-2
Versions of packages console-setup suggests:
ii locales 2.31-13
ii lsb-base 11.1.0
Versions of packages console-setup-linux depends on:
ii init-system-helpers 1.60
ii kbd 2.3.0-3
Versions of packages console-setup-linux suggests:
ii console-setup 1.205
Versions of packages keyboard-configuration is related to:
pn console-common <none>
pn console-data <none>
pn console-tools <none>
pn gnome-control-center <none>
ii kbd 2.3.0-3
ii systemd 247.3-6
-- debconf information:
* keyboard-configuration/variant: English (UK) - English (UK, Colemak)
debian-installer/console-setup-udeb/title:
* console-setup/fontface47: Fixed
* keyboard-configuration/ctrl_alt_bksp: true
* keyboard-configuration/xkb-keymap: gb(colemak)
* console-setup/codeset47: # Latin1 and Latin5 - western Europe and Turkic
languages
console-setup/guess_font:
console-setup/store_defaults_in_debconf_db: true
* console-setup/fontsize-fb47: 8x18
* keyboard-configuration/toggle: No toggling
* keyboard-configuration/compose: No compose key
console-setup/use_system_font:
console-setup/fontsize-text47: 8x16
* keyboard-configuration/switch: No temporary switch
console-setup/codesetcode: Lat15
console-setup/fontsize: 8x18
* console-setup/charmap47: UTF-8
* keyboard-configuration/other:
keyboard-configuration/unsupported_config_options: true
* keyboard-configuration/variantcode: colemak
* keyboard-configuration/modelcode: pc105
keyboard-configuration/unsupported_config_layout: true
keyboard-configuration/unsupported_options: true
* keyboard-configuration/layout:
console-setup/framebuffer_only:
keyboard-configuration/unsupported_layout: true
* keyboard-configuration/optionscode: terminate:ctrl_alt_bksp
* keyboard-configuration/store_defaults_in_debconf_db: true
* keyboard-configuration/layoutcode: gb
* keyboard-configuration/model: Generic 105-key PC (intl.)
Reply to: