[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#838310: keyboard-configuration: user configuration lost + error message from setupcon

Package: keyboard-configuration
Version: 1.149
Severity: grave
Justification: causes non-serious data loss

Just after the upgrade of keyboard-configuration from 1.148 to 1.149,
I could see that my previous configuration was lost. More precisely,
config.dat changed in the following way:

Index: config.dat
--- config.dat  (revision 92179)
+++ config.dat  (revision 92180)
@@ -512,7 +512,7 @@
 Name: keyboard-configuration/modelcode
 Template: keyboard-configuration/modelcode
-Value: pc105
 Owners: d-i, keyboard-configuration
 Flags: seen
@@ -549,6 +549,9 @@
 Template: keyboard-configuration/unsupported_config_layout
 Value: true
 Owners: d-i, keyboard-configuration
 Name: keyboard-configuration/unsupported_config_options
 Template: keyboard-configuration/unsupported_config_options
@@ -581,7 +584,7 @@
 Name: keyboard-configuration/xkb-keymap
 Template: keyboard-configuration/xkb-keymap
-Value: gb
+Value: us
 Owners: d-i, keyboard-configuration
 Flags: seen

and /etc/default/keyboard changed in the following way:

Index: etc/default/keyboard
--- etc/default/keyboard        (revision 92179)
+++ etc/default/keyboard        (revision 92180)
@@ -2,7 +2,7 @@
 # Consult the keyboard(5) manual page.

I don't know the possible consequences, though. The
/usr/share/doc/keyboard-configuration/changelog.gz file just says:

console-setup (1.149) unstable; urgency=medium

  [ Updated translations ]
  * Danish (da.po) by Joe Hansen

 -- Christian Perrier <bubulle@debian.org>  Sun, 18 Sep 2016 17:53:38 +0200

Moreover, I can see in the /var/log/apt/term.log file after an
upgrade of the Linux kernel and the nvidia packages:

Processing triggers for libc-bin (2.24-3) ...
Processing triggers for glx-alternative-nvidia (0.7.3) ...
Processing triggers for update-glx (0.7.3) ...
Processing triggers for glx-alternative-nvidia (0.7.3) ...
Processing triggers for libc-bin (2.24-3) ...
Processing triggers for initramfs-tools (0.125) ...
update-initramfs: Generating /boot/initrd.img-4.7.0-1-amd64
setupcon: The keyboard model is unknown, assuming 'pc105'. Keyboard may be configured incorrectly.
Log ended: 2016-09-19  19:08:59

Note: I have

-rw-r--r-- 1 root root 145 2016-09-19 19:03:19 /etc/default/keyboard

Thus this file was modified when keyboard-configuration was upgraded
(and before this upgrade of the Linux kernel and the nvidia packages).
This error message is just a consequence of this bug.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.7.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages keyboard-configuration depends on:
ii  debconf                 1.5.59
ii  liblocale-gettext-perl  1.07-3

keyboard-configuration recommends no packages.

keyboard-configuration suggests no packages.

Versions of packages console-setup depends on:
ii  console-setup-linux  1.149
ii  debconf              1.5.59
ii  xkb-data             2.17-1

Versions of packages console-setup suggests:
ii  locales   2.24-3
ii  lsb-base  9.20160629

Versions of packages console-setup-linux depends on:
ii  init-system-helpers  1.44
ii  initscripts          2.88dsf-59.8
ii  kbd                  2.0.3-2

Versions of packages console-setup-linux suggests:
ii  console-setup  1.149

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.0.3-2
ii  systemd               231-6

-- debconf information:
* keyboard-configuration/optionscode:
* keyboard-configuration/altgr: The default for the keyboard layout
  console-setup/fontface47: Fixed
  keyboard-configuration/unsupported_layout: true
* keyboard-configuration/model: Generic 105-key (Intl) PC
  console-setup/fontsize: 8x16
* keyboard-configuration/store_defaults_in_debconf_db: true
  console-setup/codeset47: # Latin1 and Latin5 - western Europe and Turkic languages
  keyboard-configuration/ctrl_alt_bksp: false
  keyboard-configuration/unsupported_config_options: true
* keyboard-configuration/toggle: No toggling
* keyboard-configuration/layoutcode: gb
  keyboard-configuration/unsupported_options: true
* keyboard-configuration/variantcode:
* keyboard-configuration/variant: English (UK)
* keyboard-configuration/switch: No temporary switch
  keyboard-configuration/unsupported_config_layout: true
* keyboard-configuration/other:
* keyboard-configuration/layout:
  console-setup/charmap47: UTF-8
  console-setup/fontsize-fb47: 8x16
* keyboard-configuration/compose: No compose key
  console-setup/fontsize-text47: 8x16
* keyboard-configuration/modelcode:
* keyboard-configuration/xkb-keymap: us
  console-setup/store_defaults_in_debconf_db: true
  console-setup/codesetcode: Lat15

Reply to: