Bug#546983: console-setup-mini: fails to set the keyboard layout (and falls back to "us" layout)
I upgraded my Debian testing (squeeze) notebook yesterday and various
packages were upgraded (among which several xorg packages).
Due to dependencies, console-setup-mini was pulled in, as confirmed
by /var/log/aptitude :
[INSTALL, DEPENDENCIES] console-setup-mini
During the configuration step, various debconf questions were asked:
I tried hard to reply reasonably.
Today, I booted up the notebook and logged in on the console
(I do not use any graphical login manager) and noticed that
the keyboard layout was set to US, while my notebook has an
Italian keyboard (buying a notebook with a US keyboard is close
to impossible down here in Italy...).
I thought I messed up with debconf questions, hence I re-ran:
# dpkg-reconfigure console-setup-mini
The resulting configuration is shown below and translates into the
$ grep -v '^#\|^$' /etc/default/console-setup
Despite XKBLAYOUT is clearly set to "it", I still get a US keyboard
map on the console (X is fine, instead).
I even tried to upgrade to console-setup-mini/1.45 from unstable
and I even rebooted the notebook, just in case...
Nothing changed: still US layout, no matter what!
I tried to issue the following command (going from memory, since
the last time I needed to *manually* set the keyboard layout was
some 7 or 8 years ago!):
$ loadkeys it
Keymap 0: Permission denied
Keymap 1: Permission denied
Keymap 2: Permission denied
KDSKBENT: Operation not permitted
loadkeys: could not deallocate keymap 3
As you can see, it didn't work.
I really cannot understand why setting a non-US keyboard layout
has suddenly become *so* hard in Debian testing!
What's wrong with my notebook?
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (800, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages console-setup-mini depends on:
ii debconf [debconf-2.0] 1.5.27 Debian configuration management sy
Versions of packages console-setup-mini recommends:
ii console-tools 1:0.2.3dbs-66 Linux console and font utilities
Versions of packages console-setup-mini suggests:
ii lsb-base 3.2-23 Linux Standard Base 3.2 init scrip
-- debconf information:
* console-setup/variant: Italy
* console-setup/ctrl_alt_bksp: false
* console-setup/altgr: The default for the keyboard layout
* console-setup/codeset: # Latin1 and Latin5 - western Europe and Turkic languages
console-setup/toggle: No toggling
* console-setup/fontface: VGA
* console-setup/fontsize-text: 16
* console-setup/compose: No compose key
console-setup/switch: No temporary switch
* console-setup/charmap: UTF-8