intrepid->jaunty upgrade shows console-setup debconf message multiple times

Bug #320374 reported by Steve Langasek
2
Affects Status Importance Assigned to Milestone
console-setup (Ubuntu)
Fix Released
High
Steve Langasek
Jaunty
Fix Released
High
Steve Langasek

Bug Description

Binary package hint: console-setup

When upgrading from intrepid to jaunty, console-setup interrupted the upgrade three times to show the same debconf message:

 The configuration file /etc/default/console-setup specifies a keyboard
 layout and variant that are not supported by the configuration
 program. Because of that, no questions about the keyboard layout will
 be asked and your current configuration will be preserved.

This is probably because of a non-standard XKBOPTIONS value - but the message shouldn't need to be shown more than once. The db_input should only be called from the postinst script rather than config, to avoid it being unnecessarily displayed multiple times.

Steve Langasek (vorlon)
Changed in console-setup:
assignee: nobody → vorlon
importance: Undecided → High
milestone: none → ubuntu-9.04-beta
status: New → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

I don't think moving it to the postinst will work very well (and will break preconfiguration). This was probably caused by console-setup/dont_ask_layout being changed to be an error template a while back, actually for hardy, which causes its seen status to be ignored.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package console-setup - 1.28ubuntu5

---------------
console-setup (1.28ubuntu5) jaunty; urgency=low

  * Backport from trunk:
    - Sort the null variant to the top of the choices list rather than to the
      bottom.
  * Set and check a flag on console-setup/dont_ask_layout to make sure that
    it's only asked at most once per package installation (LP: #320374).
  * Update Keyboard/KeyboardNames.pl based on xkb-data 1.4-1ubuntu3.

 -- Colin Watson <email address hidden> Sat, 31 Jan 2009 12:07:37 +0000

Changed in console-setup:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.