on upgrade, keyboard config changed to use deadkeys

Bug #742683 reported by Steve Langasek on 2011-03-25
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
xkeyboard-config (Ubuntu)
Medium
Chris Halse Rogers
Natty
Medium
Chris Halse Rogers
Oneiric
Medium
Chris Halse Rogers

Bug Description

Binary package hint: console-setup

On upgrade from maverick to natty, my keyboard config was changed from US Dvorak international w/o deadkeys to US Dvorak international w/ deadkeys. Changing the "default" dvorak international keyboard config to use deadkeys is ok, but then my previous keyboard setting should be respected on upgrade. Switching deadkeys on/off on upgrade would be very painful for a user who doesn't already know what deadkeys are.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: console-setup 1.57ubuntu17
ProcVersionSignature: Ubuntu 2.6.35-28.49-generic 2.6.35.11
Uname: Linux 2.6.35-28-generic x86_64
Architecture: amd64
Date: Fri Mar 25 11:33:16 2011
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: console-setup
UpgradeStatus: Upgraded to natty on 2011-03-24 (0 days ago)

Steve Langasek (vorlon) wrote :
Changed in console-setup (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
milestone: none → ubuntu-11.04
Colin Watson (cjwatson) on 2011-04-02
Changed in console-setup (Ubuntu Natty):
milestone: ubuntu-11.04 → ubuntu-11.04-beta-2
Colin Watson (cjwatson) on 2011-04-13
Changed in console-setup (Ubuntu Natty):
milestone: ubuntu-11.04-beta-2 → ubuntu-11.04
Colin Watson (cjwatson) wrote :

How thoroughly unhelpful of xkeyboard-config!

  http://cgit.freedesktop.org/xkeyboard-config/commit/?id=b611a52d87b0eb773f5d1e88e5fe3c22072bcf5b

I'm not sure how best to deal with this, as xkeyboard-config made the change but keyboard-configuration is responsible for configuration, so there's no particularly good version to look at on upgrade (and in any case maverick had console-setup but not keyboard-configuration, further complicating matters). Do you have any suggestions?

Steve Langasek (vorlon) wrote :

I guess xkb-data is the only package that really knows when this has changed. Perhaps a quick-n-dirty postinst hack there to sed /etc/default/keyboard and /etc/default/console-setup for the name change will suffice?

Changed in console-setup (Ubuntu Natty):
milestone: ubuntu-11.04 → natty-updates
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
Changed in console-setup (Ubuntu Oneiric):
milestone: ubuntu-11.04 → none
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
Martin Pitt (pitti) wrote :

Ah, sorry for the mis-reassignment.

Looks like we'll need to fix this in xkb-data's postinst for upgrades.

Changed in console-setup (Ubuntu Natty):
assignee: Canonical Desktop Team (canonical-desktop-team) → Canonical Foundations Team (canonical-foundations)
Changed in console-setup (Ubuntu Oneiric):
assignee: Canonical Desktop Team (canonical-desktop-team) → Canonical Foundations Team (canonical-foundations)
Changed in console-setup (Ubuntu Natty):
assignee: Canonical Foundations Team (canonical-foundations) → Chris Halse Rogers (raof)
Changed in console-setup (Ubuntu Oneiric):
assignee: Canonical Foundations Team (canonical-foundations) → Chris Halse Rogers (raof)
Steve Langasek (vorlon) on 2011-05-02
affects: console-setup (Ubuntu Oneiric) → xkeyboard-config (Ubuntu Oneiric)
Colin Watson (cjwatson) wrote :

Be careful about sedding /etc/default/keyboard; that information is also in debconf. /etc/default/keyboard is certainly *meant* to be canonical, so this approach ought to work, but desync here is a possible source of bugs so you should test multiple successive upgrades to make sure. Also be careful to edit both /etc/default/keyboard and /etc/default/console-setup, as keyboard configuration may be in one file or the other depending on maverick->natty (or lucid->p) upgrade order.

Chris Halse Rogers (raof) wrote :

Is there any reason not to update both the debconf information and /etc/default/{console-setup,keyboard}? That seems like it should be fairly easy to do and would ensure desyncing doesn't happen.

Colin Watson (cjwatson) wrote :

I think that would be fine if you're careful, yes.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xkeyboard-config - 2.2.1-1ubuntu1

---------------
xkeyboard-config (2.2.1-1ubuntu1) oneiric; urgency=low

  * Merge from Debian experimental. Remaining Ubuntu changes:
      + xkb-data-i18n.install, xkb-data.install, rules: Split out
        xkb-data-i18n to be used by console-setup.
      + rules: Generate pot file for translations during build
      + 105_intelligent_keyboard.patch: Add support for the Intelligent
        Keyboard K04
  * debian/patches/108_taiwan.patch:
  * debian/patches/104_macbook_expose_and_dashboard.patch:
  * debian/patches/107_lao.patch:
    - Drop, included upstream
  * debian/xkb-data.postinst.in:
    - Migrate console-setup/keyboard-configuration settings from dvorak-intl
      to dvorak-alt-intl to match rename in xkeyboard-config 1.9. (LP: #742683)
  * debian/patches/108_fix_intltool_make_check.diff:
    - Fix make check in the presence of the quilt patch system.

xkeyboard-config (2.2.1-1) experimental; urgency=low

  * New upstream release:
    - Big rewrite for GNOME3.
  * By default, run-time dependencies are checked at build-time:
    - Pass --disable-runtime-deps to disable that check since there's no
      point in doing so for Debian packages.
    - Break earlier versions of libx11-6.
  * Get rid of old maintainer scripts to upgrade from 1.6 since squeeze
    has 1.8.
  * Refresh patches.
  * Switch to dh:
    - Bump debhelper build-dep/compat to 8.
    - Use dh-autoreconf.
    - Rewrite debian/rules accordingly.
    - Build out-of-tree.
  * Remove debian/xsfbs/, no longer needed.
  * Remove debian/patches/quiltrc, not really needed.

xkeyboard-config (2.1-2) unstable; urgency=low

  * Remove Mohammed Adnène Trojette from Uploaders. Thanks for your work!
  * Wrap build dependencies.
  * Drop Breaks on libx11-6 (<< 2:1.1), that was before lenny.
  * Bump Standards-Version to 3.9.1 (no changes needed).
  * Upload to unstable.
 -- Christopher James Halse Rogers <email address hidden> Tue, 24 May 2011 12:13:34 +1000

Changed in xkeyboard-config (Ubuntu Oneiric):
status: Triaged → Fix Released
dino99 (9d9) on 2013-05-18
Changed in xkeyboard-config (Ubuntu Natty):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers