On 2016-09-22 01:29:12 +0300, Anton Zinoviev wrote: > On Mon, Sep 19, 2016 at 07:31:12PM +0200, Vincent Lefevre wrote: > > -XKBMODEL="pc105" > > +XKBMODEL="" > > XKBLAYOUT="gb" > > XKBVARIANT="" > > XKBOPTIONS="" > > This doesn't look as a file created by console-setup.
It is created by "dpkg-reconfigure keyboard-configuration". If I start with the original /etc/default/keyboard file (which was the file after the installation of the machine): ------------------------------------------------------------ # KEYBOARD CONFIGURATION FILE # Consult the keyboard(5) manual page. XKBMODEL="pc105" XKBLAYOUT="gb" XKBVARIANT="" XKBOPTIONS="" BACKSPACE="guess" ------------------------------------------------------------ I can reproduce the issue with: dpkg-reconfigure -fnoninteractive keyboard-configuration I get: ------------------------------------------------------------ # KEYBOARD CONFIGURATION FILE # Consult the keyboard(5) manual page. XKBMODEL="" XKBLAYOUT="gb" XKBVARIANT="" XKBOPTIONS="" BACKSPACE="guess" ------------------------------------------------------------ > Because of the missing XKBMODEL, it looks like a file created by > systemd-localed.service. > > Would you experiment with the command > > # localectl set-keymap .... This has no effect on /etc/default/keyboard. > and > > # localectl set-x11-keymap ... > > and see if it corrupts /etc/default/keyboard. This recreates /etc/default/keyboard, but with only 2 lines, e.g. # localectl set-x11-keymap foo # cat /etc/default/keyboard XKBLAYOUT=foo BACKSPACE=guess > > 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 > > If I am right that the file was corrupted by systemd-localed, then > /etc/default/keyboard must have been corrupted after the upgrade of > console-setup. If this file was corrupted before the upgrade, then > console-setup would have repaired it. > > > 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). > > Do you know what other packages were upgraded after console-setup and > before the Linux kernel and nvidia? Here's the aptitude log: Aptitude 0.8.3: log report Mon, Sep 19 2016 19:00:23 +0200 IMPORTANT: this log only lists intended actions; actions which fail due to dpkg problems may not be completed. Will install 94 packages, and remove 0 packages. 1169 kB of disk space will be freed ======================================== [HOLD, DEPENDENCIES] libegl-nvidia0:amd64 361.45.18-2 [HOLD, DEPENDENCIES] libegl1-glvnd-nvidia:amd64 361.45.18-2 [HOLD, DEPENDENCIES] libgl1-nvidia-glx:amd64 361.45.18-2 [HOLD, DEPENDENCIES] libgldispatch0-nvidia:amd64 361.45.18-2 [HOLD, DEPENDENCIES] libgles-nvidia1:amd64 361.45.18-2 [HOLD, DEPENDENCIES] libgles-nvidia2:amd64 361.45.18-2 [HOLD, DEPENDENCIES] libgles1-glvnd-nvidia:amd64 361.45.18-2 [HOLD, DEPENDENCIES] libgles2-glvnd-nvidia:amd64 361.45.18-2 [HOLD, DEPENDENCIES] libglx-nvidia0:amd64 361.45.18-2 [HOLD, DEPENDENCIES] libglx0-glvnd-nvidia:amd64 361.45.18-2 [HOLD, DEPENDENCIES] libnvidia-cfg1:amd64 361.45.18-2 [HOLD, DEPENDENCIES] libnvidia-glcore:amd64 361.45.18-2 [HOLD, DEPENDENCIES] libnvidia-ml1:amd64 361.45.18-2 [HOLD, DEPENDENCIES] libopengl0-glvnd-nvidia:amd64 361.45.18-2 [HOLD, DEPENDENCIES] linux-compiler-gcc-5-x86:amd64 4.7.2-1 [HOLD, DEPENDENCIES] linux-doc-4.7:amd64 4.7.2-1 [HOLD, DEPENDENCIES] linux-headers-4.7.0-1-amd64:amd64 4.7.2-1 [HOLD, DEPENDENCIES] linux-headers-4.7.0-1-common:amd64 4.7.2-1 [HOLD, DEPENDENCIES] linux-kbuild-4.7:amd64 4.7.2-1 [HOLD, DEPENDENCIES] linux-libc-dev:amd64 4.7.2-1 [HOLD, DEPENDENCIES] nvidia-alternative:amd64 361.45.18-2 [HOLD, DEPENDENCIES] nvidia-driver:amd64 361.45.18-2 [HOLD, DEPENDENCIES] nvidia-driver-libs:amd64 361.45.18-2 [HOLD, DEPENDENCIES] nvidia-kernel-support:amd64 361.45.18-2 [HOLD, DEPENDENCIES] nvidia-legacy-check:amd64 361.45.18-2 [HOLD, DEPENDENCIES] nvidia-vdpau-driver:amd64 361.45.18-2 [HOLD, DEPENDENCIES] xserver-xorg-video-nvidia:amd64 361.45.18-2 [HOLD] gcc-snapshot:amd64 20160508-1 [HOLD] libnvidia-eglcore:amd64 361.45.18-2 [HOLD] nvidia-driver-bin:amd64 361.45.18-2 [HOLD] nvidia-kernel-dkms:amd64 361.45.18-2 [UPGRADE] bash:amd64 4.3-15 -> 4.4-1 [UPGRADE] console-setup:amd64 1.148 -> 1.149 [UPGRADE] console-setup-linux:amd64 1.148 -> 1.149 [UPGRADE] fonts-noto:amd64 20160724-2 -> 20160724-3 [UPGRADE] fonts-noto-hinted:amd64 20160724-2 -> 20160724-3 [UPGRADE] fonts-noto-mono:amd64 20160724-2 -> 20160724-3 [UPGRADE] fonts-noto-unhinted:amd64 20160724-2 -> 20160724-3 [UPGRADE] fonts-opensymbol:amd64 2:102.7+LibO5.2.1-2 -> 2:102.7+LibO5.2.1-3 [UPGRADE] fop:amd64 1:2.1-3 -> 1:2.1-4 [UPGRADE] gedit:amd64 3.21.90-2 -> 3.22.0-1 [UPGRADE] gedit-common:amd64 3.21.90-2 -> 3.22.0-1 [UPGRADE] gir1.2-gtksource-3.0:amd64 3.21.6-1 -> 3.22.0-1 [UPGRADE] gnome-terminal:amd64 3.21.92-1 -> 3.22.0-1 [UPGRADE] gnome-terminal-data:amd64 3.21.92-1 -> 3.22.0-1 [UPGRADE] ifupdown:amd64 0.8.13 -> 0.8.14 [UPGRADE] iio-sensor-proxy:amd64 1.1-1 -> 1.3-1 [UPGRADE] julia:amd64 0.4.6-1+b1 -> 0.4.7-1 [UPGRADE] julia-common:amd64 0.4.6-1 -> 0.4.7-1 [UPGRADE] julia-doc:amd64 0.4.6-1 -> 0.4.7-1 [UPGRADE] keyboard-configuration:amd64 1.148 -> 1.149 [UPGRADE] libclutter-gtk-1.0-0:amd64 1.8.0-2 -> 1.8.2-1 [UPGRADE] libdebconfclient0:amd64 0.215 -> 0.216 [UPGRADE] libfop-java:amd64 1:2.1-3 -> 1:2.1-4 [UPGRADE] libglew2.0:amd64 2.0.0-2 -> 2.0.0-3 [UPGRADE] libgtksourceview-3.0-1:amd64 3.21.6-1 -> 3.22.0-1 [UPGRADE] libgtksourceview-3.0-common:amd64 3.21.6-1 -> 3.22.0-1 [UPGRADE] libio-socket-ssl-perl:amd64 2.037-1 -> 2.038-1 [UPGRADE] libmm-glib0:amd64 1.6.0-1 -> 1.6.2-1 [UPGRADE] libopenlibm2:amd64 0.5.3+dfsg-1 -> 0.5.4+dfsg-1 [UPGRADE] libopts25:amd64 1:5.18.10-4 -> 1:5.18.12-2 [UPGRADE] libpadwalker-perl:amd64 2.2-1+b1 -> 2.2-2 [UPGRADE] libpcap0.8:amd64 1.7.4-2 -> 1.7.4-3 [UPGRADE] libreoffice:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libreoffice-avmedia-backend-gstreamer:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libreoffice-base:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libreoffice-base-core:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libreoffice-base-core-dbgsym:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libreoffice-base-dbgsym:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libreoffice-base-drivers:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libreoffice-calc:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libreoffice-calc-dbgsym:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libreoffice-common:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libreoffice-core:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libreoffice-core-dbgsym:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libreoffice-draw:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libreoffice-draw-dbgsym:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libreoffice-gtk3:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libreoffice-gtk3-dbgsym:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libreoffice-impress:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libreoffice-impress-dbgsym:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libreoffice-java-common:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libreoffice-librelogo:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libreoffice-math:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libreoffice-math-dbgsym:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libreoffice-nlpsolver:amd64 0.9+LibO5.2.1-2 -> 0.9+LibO5.2.1-3 [UPGRADE] libreoffice-ogltrans:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libreoffice-pdfimport:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libreoffice-report-builder:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libreoffice-report-builder-bin:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libreoffice-script-provider-bsh:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libreoffice-script-provider-js:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libreoffice-script-provider-python:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libreoffice-sdbc-firebird:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libreoffice-sdbc-hsqldb:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libreoffice-sdbc-postgresql:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libreoffice-style-galaxy:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libreoffice-style-tango:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libreoffice-wiki-publisher:amd64 1.2.0+LibO5.2.1-2 -> 1.2.0+LibO5.2.1-3 [UPGRADE] libreoffice-writer:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] libservlet3.1-java:amd64 8.0.36-3 -> 8.0.37-1 [UPGRADE] libsmi2ldbl:amd64 0.4.8+dfsg2-12 -> 0.4.8+dfsg2-13 [UPGRADE] libsys-info-base-perl:amd64 0.7804-1 -> 0.7804-2 [UPGRADE] libtommath1:amd64 1.0-2 -> 1.0-3 [UPGRADE] libvte-2.91-0:amd64 0.45.92-1 -> 0.46.0-1 [UPGRADE] libvte-2.91-common:amd64 0.45.92-1 -> 0.46.0-1 [UPGRADE] libwacom-bin:amd64 0.19-1 -> 0.22-1 [UPGRADE] libwacom-common:amd64 0.19-1 -> 0.22-1 [UPGRADE] libwacom2:amd64 0.19-1 -> 0.22-1 [UPGRADE] login:amd64 1:4.2-3.1 -> 1:4.2-3.2 [UPGRADE] modemmanager:amd64 1.6.0-1 -> 1.6.2-1 [UPGRADE] ngrep:amd64 1.45.ds2-13 -> 1.45.ds2-14 [UPGRADE] pandoc:amd64 1.17.2~dfsg-1+b2 -> 1.17.2~dfsg-1+b3 [UPGRADE] passwd:amd64 1:4.2-3.1 -> 1:4.2-3.2 [UPGRADE] python3-uno:amd64 1:5.2.1-2 -> 1:5.2.1-3 [UPGRADE] task-english:amd64 3.35 -> 3.36 [UPGRADE] task-laptop:amd64 3.35 -> 3.36 [UPGRADE] task-ssh-server:amd64 3.35 -> 3.36 [UPGRADE] tasksel:amd64 3.35 -> 3.36 [UPGRADE] tasksel-data:amd64 3.35 -> 3.36 [UPGRADE] tcpdump:amd64 4.7.4-2 -> 4.7.4-3 [UPGRADE] uno-libs3:amd64 5.2.1-2 -> 5.2.1-3 [UPGRADE] uno-libs3-dbgsym:amd64 5.2.1-2 -> 5.2.1-3 [UPGRADE] ure:amd64 5.2.1-2 -> 5.2.1-3 [UPGRADE] ure-dbgsym:amd64 5.2.1-2 -> 5.2.1-3 ======================================== -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)