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

Bug#273384: kbd-chooser: Is not run again after backing out



On Sun, Sep 26, 2004 at 12:09:03AM +0200, Martin Michlmayr wrote:
> reassign 273384 kbd-chooser
> thanks
> 
> * Frans Pop <aragorn@tiscali.nl> [2004-09-25 23:44]:
> > Package: kdb-chooser
> > Version: 1.01
> > 
> > In a high priority install, if you use 'go back' to exit kbd-chooser and 
> > choose another language or country, kbd-chooser will not be run again, even 
> > though it has not yet been configured.

It turns out that kbd-chooser is run again, but the sequence of events
is roughly as follows:

  language set to English

  kbd-chooser sets a value for console-tools/archs as a string
  "translated" into English

  kbd-chooser asks console-keymaps-*/keymap

  you back up

  language changed to Dutch

  kbd-chooser gets the old value for console-tools/arch, which is in
  English

  keyboard_parse() tries to translate the localized keyboard name back
  to the keyboard architecture name, and fails because all the
  translations are now in Dutch, not English

  kbd-chooser exits because it doesn't understand the keyboard
  architecture

This is debconf abuse of, I think, the same kind as countrychooser.
kbd-chooser should stop doing this dodgy back-translation of localized
keyboard architecture names, and just save the canonical keyboard
architecture name in the debconf database.

-- 
Colin Watson                                       [cjwatson@debian.org]



Reply to: