Well Aron, my belief is that we have such a solution through the
debian/postinst file in im-config. To know if there is a remaining issue
that needs to be addressed - and how to address it - we need to know the
exact nature of that issue.

* I think that 80im-switch is the only file that has to be removed, and
  that the other left-over im-switch files do not matter. Was the
  problem the user in question encountered caused by some other file(s)
  but 80im-switch?

* I think that all officially released versions of 80im-switch are
  automatically removed by debian/postinst in im-config. Was there a
  non-modified copy of 80im-switch left on the user's system?

Considering the problem described in bug 875435, unfortunately it's not
unlikely that there are quite a few modified copies of 80im-switch out
there. It should be noted that Osamu had to defend the code in
debian/postinst in relation to Debian policies with respect to
configuration files: http://bugs.debian.org/690212

It could be argued that /etc/X11/Xsession.d/80im-switch is not really a
config file, and consequently that config file policies don't apply.
Personally I think that's a reasonable standpoint in this case, and if
so it could be motivated to drop the md5sum check. However, I suppose
that such a change should not be Ubuntu specific, since 80im-switch is
just as harmful on Debian after a transition to im-config.

Osamu, would it be possible to drop the md5sum check in debian/postinst?

@Sebastien: Subscribed you to this bug, since we had a similar discussion when 
you sponsored
https://launchpad.net/ubuntu/+source/im-config/0.19ubuntu1

** Bug watch added: Debian Bug tracker #690212
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690212

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to im-switch in Ubuntu.
https://bugs.launchpad.net/bugs/1101836

Title:
  Needs to keep hands off when removed but not purged

Status in “im-switch” package in Ubuntu:
  Incomplete

Bug description:
  In raring, we are replacing im-switch with im-config, but when im-
  switch isn't purged but only removed, scripts in /etc/X11/Xsession.d/
  will still try to set related variables, so that im-config cannot work
  correctly.

  Fixing im-switch in Precise and Quantal is part of the solution to
  this problem, something else must be done for those who haven't got
  the chance to upgrade to the fixed version.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/im-switch/+bug/1101836/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to