Bug#546983: console-setup-mini: fails to set the keyboard layout (and falls back to "us" layout)
Package: console-setup-mini
Version: 1.44
Severity: important
Hi!
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
following conffile:
$ grep -v '^#\|^$' /etc/default/console-setup
VERBOSE_OUTPUT=no
ACTIVE_CONSOLES="/dev/tty[1-6]"
CHARMAP="UTF-8"
CODESET="Lat15"
FONTFACE="VGA"
FONTSIZE="16"
XKBMODEL="pc105"
XKBLAYOUT="it"
XKBVARIANT=""
XKBOPTIONS=""
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
Loading /usr/share/keymaps/i386/qwerty/it.kmap.gz
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.
Please help!
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/unsupported_options: true
* console-setup/ctrl_alt_bksp: false
console-setup/modelcode: pc105
console-setup/use_system_font:
console-setup/fontsize: 16
console-setup/unsupported_layout: true
console-setup/layoutcode: it
console-setup/codesetcode: Lat15
* 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
debian-installer/console-setup-udeb/title:
console-setup/other:
console-setup/switch: No temporary switch
console-setup/unsupported_config_layout: true
* console-setup/charmap: UTF-8
console-setup/optionscode:
console-setup/unsupported_config_options: true
console-setup/layout:
console-setup/variantcode:
* console-setup/model:
console-setup/fontsize-fb: 16
Reply to: