Package: console-setup Version: 1.201 Severity: normal X-Debbugs-Cc: bence.roms...@gmail.com
Dear Maintainer, After a recent apt-get upgrade, dist-upgrade and reboot I noticed my keyboard settings were reverted to their defaults. I keep these settings in /etc/default/keyboard, and since I have /etc under git (via etckeeper), I can show the change autocommited by the upgrade: # cd /etc && git diff a7d7c52 dd9bba3 -- default/keyboard diff --git a/default/keyboard b/default/keyboard index 5589b6f..d72a57a 100644 --- a/default/keyboard +++ b/default/keyboard @@ -7,9 +7,9 @@ # /etc/init.d/console-setup.sh XKBMODEL="pc105" -XKBLAYOUT="us,hu" +XKBLAYOUT="us" # parallel list to XKBLAYOUT -XKBVARIANT=",102_qwerty_dot_nodead" -XKBOPTIONS="grp:alt_shift_toggle,lv3:ralt_switch,terminate:ctrl_alt_bksp" +XKBVARIANT="" +XKBOPTIONS="lv3:ralt_switch,terminate:ctrl_alt_bksp" BACKSPACE="guess" # git show --oneline dd9bba3 | head -1 dd9bba3 committing changes in /etc made by "apt-get upgrade" The upgrade did not prompt me about changes to this file under /etc, its content was silently changed. Please note that the whole file was not replaced (for example a comment of mine was retained), rather it was edited. I was trying to find which package the /etc/default/keyboard conffile belongs to (my best guess being console-setup), however I found that on my system no package claims this conffile - I believe this may be part of the root cause: # egrep -H /etc/default/keyboard /var/lib/dpkg/info/*.conffiles [no output] However the man pages keyboard(5) and setupcon(1) make me believe this conffile actually belongs to console-setup. Now I manually restored my previous keyboard settings, however I believe the change to this config file should not have been silent. Please let me know if I should collect other information about my system. Thanks in advance, Bence Romsics Excerpt from /var/log/dpkg.log during the upgrade: 2021-02-25 15:15:50 upgrade console-setup-linux:all 1.195 1.201 2021-02-25 15:15:50 status half-configured console-setup-linux:all 1.195 2021-02-25 15:15:50 status unpacked console-setup-linux:all 1.195 2021-02-25 15:15:50 status half-installed console-setup-linux:all 1.195 2021-02-25 15:15:52 status unpacked console-setup-linux:all 1.201 2021-02-25 15:15:52 upgrade keyboard-configuration:all 1.195 1.201 2021-02-25 15:15:52 status half-configured keyboard-configuration:all 1.195 2021-02-25 15:15:52 status unpacked keyboard-configuration:all 1.195 2021-02-25 15:15:52 status half-installed keyboard-configuration:all 1.195 2021-02-25 15:15:52 status unpacked keyboard-configuration:all 1.201 2021-02-25 15:15:52 upgrade console-setup:all 1.195 1.201 2021-02-25 15:15:52 status half-configured console-setup:all 1.195 2021-02-25 15:15:52 status unpacked console-setup:all 1.195 2021-02-25 15:15:52 status half-installed console-setup:all 1.195 2021-02-25 15:15:53 status unpacked console-setup:all 1.201 -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (800, 'unstable'), (500, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-3-amd64 (SMP w/4 CPU threads) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages console-setup depends on: ii console-setup-linux 1.201 ii debconf 1.5.74 ii keyboard-configuration 1.201 ii xkb-data 2.29-2 console-setup recommends no packages. Versions of packages console-setup suggests: ii locales 2.31-9 ii lsb-base 11.1.0 Versions of packages keyboard-configuration depends on: ii debconf 1.5.74 ii liblocale-gettext-perl 1.07-4+b1 Versions of packages console-setup-linux depends on: ii init-system-helpers 1.60 ii initscripts 2.96-6 ii kbd 2.3.0-3 ii keyboard-configuration 1.201 console-setup-linux suggests no packages. Versions of packages console-setup 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-1 -- debconf information: keyboard-configuration/layout: * console-setup/codeset47: # Latin2 - central Europe and Romanian keyboard-configuration/switch: No temporary switch keyboard-configuration/store_defaults_in_debconf_db: true debian-installer/console-setup-udeb/title: * keyboard-configuration/ctrl_alt_bksp: true * keyboard-configuration/unsupported_config_layout: false console-setup/use_system_font: console-setup/framebuffer_only: * keyboard-configuration/compose: No compose key * console-setup/charmap47: UTF-8 keyboard-configuration/unsupported_options: true * keyboard-configuration/variant: English (US) keyboard-configuration/toggle: No toggling keyboard-configuration/unsupported_config_options: true keyboard-configuration/layoutcode: us console-setup/store_defaults_in_debconf_db: true console-setup/guess_font: keyboard-configuration/xkb-keymap: us console-setup/fontsize-text47: 8x16 keyboard-configuration/optionscode: lv3:ralt_switch,terminate:ctrl_alt_bksp * keyboard-configuration/model: Generic 105-key PC (intl.) * keyboard-configuration/altgr: Right Alt (AltGr) * console-setup/fontface47: Terminus keyboard-configuration/variantcode: keyboard-configuration/modelcode: pc105 console-setup/fontsize: 8x16 * console-setup/fontsize-fb47: 8x16 keyboard-configuration/other: console-setup/codesetcode: Lat2 keyboard-configuration/unsupported_layout: true