On 2013-02-26 15:10, Osamu Aoki wrote:
> On Sat, Feb 23, 2013 at 10:11:19PM +0100, Gunnar Hjalmarsson wrote:
>> As Iain Lane pointed out at the Ubuntu bug report, if im-config deletes
>> the file, and the user at a later point of time decides to go back to
>> im-switch (for some reason), 80im-switch won't be reinstalled, and the
>> user is faced with an issue that may be hard to track down.
> 
> I think 80im-switch get installed but ... let's not argue this point
> now.

No need to argue, really.

$ ll /etc/X11/Xsession.d/80im-switch
-rwxr-xr-x 1 root root 2353 nov  7 21:00 /etc/X11/Xsession.d/80im-switch*
$ sudo dpkg -r im-switch
(Reading database ... 545778 files and directories currently installed.)
Removing im-switch ...
...
$ sudo rm /etc/X11/Xsession.d/80im-switch
$ sudo apt-get install im-switch
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
  im-switch
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/16,6 kB of archives.
After this operation, 116 kB of additional disk space will be used.
Selecting previously unselected package im-switch.
(Reading database ... 545770 files and directories currently installed.)
Unpacking im-switch (from .../im-switch_1.22ubuntu2.1_all.deb) ...
...
$ ll /etc/X11/Xsession.d/80im-switch
ls: cannot access /etc/X11/Xsession.d/80im-switch: No such file or directory

> So I modified a bit but in the same spirit :-)
> I echo to STDERR.

And on the Ubuntu side we are now happy with debian/postinst in version
0.21, except that we want a supplementary condition to be met to edit
80im-switch. Will get back to you about it later on in a private mail.

Thanks!

-- 
Gunnar Hjalmarsson
https://launchpad.net/~gunnarhj


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to