im-switch: Upgrade problem from dapper to gutsy/hardy

Bug #176660 reported by Ming Hua
4
Affects Status Importance Assigned to Milestone
im-switch (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Lars Wirzenius's piuparts run [1] reveals that im-switch has left an obselete file /etc/X11/Xsession.d/90im-switch during the dapper->gutsy upgrade. It would also happen during the upgrade from dapper to the current hardy, and therefore affects LTS->LTS upgrades.

1. https://lists.ubuntu.com/archives/ubuntu-devel/2007-December/024862.html
2. http://people.ubuntu.com/~liw/piuparts/ubuntu-hardy-i386-main/fail/im-switch_1.14.log

The nature of this bug is that im-switch has a list of the md5sum of old versions of this file and removes it during upgrades only if the md5sum match, otherwise it just prints a warning saying the file is modified and leaves it alone (because it's a conffile). Dapper has a very old version 1.3, and the md5sum of that version is not stored in the maintainer's script.

This fix is trivial, just add the md5sum of the dapper version. Any other supported upgrades should not be affected. The fix can also be dropped after hardy release.

Ming Hua (minghua)
Changed in im-switch:
assignee: nobody → minghua
importance: Undecided → Low
status: New → In Progress
Revision history for this message
Ming Hua (minghua) wrote :

Attached is the my proposed upload to fix this bug. Tested in pbuilder for the build and upgrade process.

Changed in im-switch:
assignee: minghua → nobody
status: In Progress → Confirmed
Revision history for this message
Ming Hua (minghua) wrote :

Hmph, Debian just released 1.15. I'll update the debdiff soon. Please unsubscribe ubuntu-main-sponsors as I can't do that myself. I'll re-subscribe them when the new debdiff is ready.

Revision history for this message
Ming Hua (minghua) wrote :

This is the updated debdiff against Debian unstable. Please use "-v 1.14" when uploading to include all relevant changelog entries.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Steve: can you check this one out?

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

This bug was fixed in the package im-switch - 1.16ubuntu1

---------------
im-switch (1.16ubuntu1) hardy; urgency=low

  * Add md5sum of the /etc/X11/Xsession.d/90im-switch conffile in version 1.3
    (dapper version) in the postinst script, so that if this file is
    unmodified, it will be deleted during dapper-to-hardy upgrade.
    (LP: #176660)
  * Change the Maintainer field in debian/control to Ubuntu Core Developers,
    and move Debian's maintainer to XSBC-Original-Maintainer field, according
    to the specification.

im-switch (1.16) unstable; urgency=low

  * Corrected the changelog in 1.15 from "45742" to "457421" and from 2
    "loww" to "low". (closes: Bug#457421)
  * Updated README.Debian.

im-switch (1.15) unstable; urgency=low

  * To fix Bug #431294 for SCIM, new variable is introduced to control
    im-switch behavior: $XIM_PROGRAM_SETS_ITSELF_AS_DAEMON
  * Fixed display of "*" for current selection of ~/.xinput.d/* .
  * Added default-xim by Teemu Likonen (closes: Bug#457421)

 -- Ming Hua <email address hidden> Fri, 28 Dec 2007 20:37:46 -0600

Changed in im-switch:
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.