[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#697255: keyboard-configuration: XKBVARIANT "us" for "us" layout causes XKB load error



Package: keyboard-configuration
Version: 1.90
Severity: important

Dear Maintainer,

On 1.89 -> 1.90 upgrade, /etc/default/keyboard is overwritten with
XKBVARIANT="us,tis" from the old value XKBVARIANT=",tis". This causes
xkbcomp error when starting X server:

---8<---
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error:            No Symbols named "us" in the include file "us"
>                   Exiting
>                   Abandoning symbols file "default"
Errors from xkbcomp are not fatal to the X server
Server terminated successfully (0). Closing log file.
---8<---

And all XKB functionalities do not work any more. (Most importantly, no
group switching, and thus no way to type non-US keysyms.)

Manually fixing XKBVARIANT back to ",tis" does solve the problem,
but whenever I "dpkg-reconfigure keyboard-configuration",
it will be back again.

I think the relevant change is this one:

  [ Anton Zinoviev ]
  * Proofreading of debian/keyboard-configuration.config.  Make the file a
    little more readable with more comments.  Some changes in the logic.
    This probably fixes the important part of #693485.  Thanks to Bob Bib.

I can see two occurrences of 'XKBVARIANT="us,' pattern in
debian/keyboard-configuration.config file. Replacing it with 'XKBVARIANT=",'
does solve the problem, but surely there can be other places where the
logic is hidden.

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=th_TH.utf8, LC_CTYPE=th_TH.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages keyboard-configuration depends on:
ii  debconf                 1.5.49
ii  initscripts             2.88dsf-35
ii  liblocale-gettext-perl  1.05-7+b1

keyboard-configuration recommends no packages.

keyboard-configuration suggests no packages.

Versions of packages console-setup depends on:
ii  console-setup-linux  1.90
ii  debconf              1.5.49
ii  xkb-data             2.5.1-3

Versions of packages console-setup suggests:
ii  locales                2.13-38
ii  locales-all [locales]  2.13-38
ii  lsb-base               4.1+Debian9

Versions of packages console-setup-linux depends on:
ii  kbd  1.15.3-9

Versions of packages console-setup-linux suggests:
ii  console-setup  1.90

Versions of packages keyboard-configuration is related to:
pn  console-common  <none>
pn  console-data    <none>
pn  console-tools   <none>
ii  kbd             1.15.3-9

-- debconf information:
* console-setup/codeset47: # Thai
  keyboard-configuration/layout:
  keyboard-configuration/xkb-keymap: th(tis)
* keyboard-configuration/variant: Thai - Thai (TIS-820.2538)
  debian-installer/console-setup-udeb/title:
  keyboard-configuration/unsupported_options: true
  console-setup/framebuffer_only:
* keyboard-configuration/ctrl_alt_bksp: true
  keyboard-configuration/variantcode: us,tis
  console-setup/guess_font:
  console-setup/store_defaults_in_debconf_db: true
  keyboard-configuration/other:
  keyboard-configuration/optionscode: grp:alt_shift_toggle,terminate:ctrl_alt_bksp,grp_led:scroll,ctrl:nocaps,lv3:ralt_switch
  console-setup/use_system_font:
  console-setup/fontsize: 8x16
  keyboard-configuration/modelcode: pc105
* keyboard-configuration/unsupported_config_options: true
* console-setup/fontface47: Fixed
  keyboard-configuration/unsupported_config_layout: true
* keyboard-configuration/toggle: Alt+Shift
* console-setup/fontsize-text47: 8x16
* keyboard-configuration/compose: No compose key
* keyboard-configuration/switch: No temporary switch
* console-setup/charmap47: UTF-8
* keyboard-configuration/altgr: Right Alt (AltGr)
  console-setup/codesetcode: Thai
  keyboard-configuration/unsupported_layout: true
* keyboard-configuration/model: Generic 105-key (Intl) PC
  keyboard-configuration/layoutcode: us,th
* console-setup/fontsize-fb47: 8x16
  keyboard-configuration/store_defaults_in_debconf_db: true


Reply to: