Bug#526862: console-setup: fail to configure Japanese keyboard
Package: console-setup
Version: 1.32
Severity: normal
After upgrading to sid from lenny, keyboard under X started acting like US 101
variants even though it should be OADG109A layout as Japanese.
This maybe the same problem as bug#524233 since I had console-tools installed.
Here is details:
My system is Japanese, Linux console is still working fine. But under X:
Shift-2 under Japanese should be " while under X, it is @ like US.
Shift-; under Japanese should be + while under X, it is : like US.
...
I tried to fix it from Gnome GUI interface, it print error message and reuse to
change keyboad type. I initially tried to reconfigure X itself but it did not
work and realized console-setup maybe the cause. Since it is quite difficult
to use system to report bug under sid, I booted from lenny system and run
reportbug and dpkg-reconfigure as chroot.
chroot $ sudo dpkg-reconfigure -plow console-setup
Cannot find /proc/version - is /proc mounted?
invoke-rc.d: ----------------------------------------------------
invoke-rc.d: WARNING: invoke-rc.d called during shutdown sequence
invoke-rc.d: enabling safe mode: initscript policy layer disabled
invoke-rc.d: ----------------------------------------------------
WARNING: Can not find "latin" in "jp".
Cannot find /proc/version - is /proc mounted?
invoke-rc.d: ----------------------------------------------------
invoke-rc.d: WARNING: invoke-rc.d called during shutdown sequence
Here, you can see 'Can not find "latin" in "jp"'. This is the error I saw
under real sid too. This X problem seems to be rooted from console-setup and
its database. (I remember dialogue under real unstable complained jp,jp does
not exist blah, blah,... before this message. )
Since I could not find quick fix, I downgraded system since then.
Following are taken under chroot with -p option.
-- System Information: (obtained in sid chroot, I have not downgraded yet)
Debian Release: squeeze/sid
APT prefers stable ------------ (not yet used, it was unstable)
APT policy: (1100, 'stable') (not used)
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64
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 depends on:
ii console-terminus 4.26-2.1 Fixed-width fonts for fast reading
ii debconf [debconf-2.0] 1.5.26 Debian configuration management sy
ii xkb-data 1.5-2 X Keyboard Extension (XKB) configu
Versions of packages console-setup recommends:
ii console-tools 1:0.2.3dbs-65.1 Linux console and font utilities
Versions of packages console-setup suggests:
ii locales 2.9-8 GNU C Library: National Language (
ii lsb-base 3.2-22 Linux Standard Base 3.2 init scrip
-- debconf information:
* console-setup/variant: Japan - OADG 109A
console-setup/unsupported_options: true
* console-setup/fontsize-text: 16
* console-setup/compose: No compose key
console-setup/modelcode: jp106
* console-setup/switch: No temporary switch
* console-setup/unsupported_config_layout: true
console-setup/fontsize: 16
console-setup/unsupported_layout: true
* console-setup/charmap: UTF-8
console-setup/layoutcode: jp,jp
console-setup/optionscode: grp:ctrl_shift_toggle,grp_led:scroll
debian-installer/console-setup/title:
console-setup/unsupported_config_options: true
* console-setup/layout: Japan
console-setup/variantcode: latin,OADG109A
console-setup/codesetcode: Lat15
* console-setup/altgr: No AltGr key
* console-setup/ttys: /dev/tty[1-6]
* console-setup/model: Japanese 106-key
console-setup/fontsize-fb: 16
* console-setup/codeset: # Latin1 and Latin5 - western Europe and Turkic languages
* console-setup/toggle: Control+Shift
* console-setup/fontface: Fixed
Reply to: