On 2016-09-22 11:10:45 +0200, Vincent Lefevre wrote:
> 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".
[...]

I have a 3rd machine (which doesn't use systemd).

ypig:~> cat /etc/default/keyboard
# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL="pc105"
XKBLAYOUT="gb"
XKBVARIANT=""
XKBOPTIONS=""

BACKSPACE="guess"

So, this is OK before the upgrade. Then, I upgraded only the
following with aptitude:

Preconfiguring packages ...
(Reading database ... 556584 files and directories currently installed.)
Preparing to unpack .../0-console-setup-linux_1.149_all.deb ...
Unpacking console-setup-linux (1.149) over (1.148) ...
Preparing to unpack .../1-console-setup_1.149_all.deb ...
Unpacking console-setup (1.149) over (1.148) ...
Preparing to unpack .../2-keyboard-configuration_1.149_all.deb ...
Unpacking keyboard-configuration (1.149) over (1.148) ...
Setting up keyboard-configuration (1.149) ...
Processing triggers for systemd (231-7) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up console-setup-linux (1.149) ...
Setting up console-setup (1.149) ...

I got a question:

  Configuring keyboard-configuration

  The current keyboard layout in the configuration file
  /etc/default/keyboard is defined as XKBLAYOUT="gb" and
  XKBVARIANT="".

  Please choose whether you want to keep it. If you choose this
  option, no questions about the keyboard layout will be asked
  and the current configuration will be preserved.

  Keep the current keyboard layout in the configuration file?

    <Yes>    <No>

I chose "Yes", so that I didn't expect any change. But now:

ypig:~> cat /etc/default/keyboard
# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL=""
XKBLAYOUT="gb"
XKBVARIANT=""
XKBOPTIONS=""

BACKSPACE="guess"

which is wrong!!! And /var/cache/debconf/config.dat changed in the
same way as the other machines.

Note: I don't remember getting this question on the other machines,
but the effect was the same.

-- 
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)

Reply via email to