Bug#939588: uim package lacks 2 files
On Fri, 20 Sep 2019 11:35:55 +0900 (JST) "NIDE, Naoyuki" wrote: > > https://salsa.debian.org/debian/uim/blob/buster/debian/libuim-data.postinst > > It worked in my environment. > However, it does not include register_module line for uim-mozc. Is it right? Exactly. https://salsa.debian.org/debian/uim/merge_requests/5 It will be merged. Thank you for your response.
Bug#939588: uim package lacks 2 files
In Message , Takatsugu Nokubi writes: > On Thu, 19 Sep 2019 16:34:48 +0900 (JST) "NIDE, Naoyuki" > wrote: > > Perhaps the reason is: > > > > buster$ dpkg-query -W -f='${Status}\n' uim-tcode > > dpkg-query: no packages found matching uim-tcode > > You are right. I added to check dpkg-query status to the script: > https://salsa.debian.org/snippets/327 > > Could you try it again? > This fix is applied to the git repository. > https://salsa.debian.org/debian/uim/blob/buster/debian/libuim-data.postinst It worked in my environment. However, it does not include register_module line for uim-mozc. Is it right? Cheers, Nide
Bug#939588: uim package lacks 2 files
On Thu, 19 Sep 2019 16:34:48 +0900 (JST) "NIDE, Naoyuki" wrote: > Perhaps the reason is: > > buster$ dpkg-query -W -f='${Status}\n' uim-tcode > dpkg-query: no packages found matching uim-tcode You are right. I added to check dpkg-query status to the script: https://salsa.debian.org/snippets/327 Could you try it again? This fix is applied to the git repository. https://salsa.debian.org/debian/uim/blob/buster/debian/libuim-data.postinst
Bug#939588: uim package lacks 2 files
In Message , Takatsugu Nokubi writes: > The following snippet is a workaround for this problem. > Can you try it? > https://salsa.debian.org/snippets/327 > > We, uim maintainers, will upload new package with such fix. I tried it on buster. It genarates the following installed-modules.scm: (without comment) (define installed-im-module-list '("tutcode" "anthy-utf8")) (define installed-im-list '(tutcode anthy-utf8)) (define enabled-im-list installed-im-list) However, I haven't installed uim-tcode. My system has only uim-anthy. Likewise, the generated loader.scm also includes descriptions for tutcode. Perhaps the reason is: buster$ dpkg-query -W -f='${Status}\n' uim-tcode dpkg-query: no packages found matching uim-tcode Cheers, Nide
Bug#939588: uim package lacks 2 files
On Tue, 10 Sep 2019 21:34:23 +0900 (JST) "NIDE, Naoyuki" wrote: > buster# apt-get purge $(dpkg -l | awk '$1=="rc"{print $2}') > > Then, when libuim-data is purged, /var/lib/uim/installed-modules.scm > and /var/lib/uim/loader.scm are disappeared, since the postrm script of > libuim-data deletes them. > This was the cause why these files disappeared in my environment. The following snippet is a workaround for this problem. Can you try it? https://salsa.debian.org/snippets/327 We, uim maintainers, will upload new package with such fix.
Bug#939588: uim package lacks 2 files
On Tue, 10 Sep 2019 21:34:23 +0900 (JST) "NIDE, Naoyuki" wrote: > For test, I installed stretch, and upgraded it to buster. After that, > some stretch packages which have been removed during upgrading to buster > leaved conf files. > > buster$ dpkg -l | egrep -v ^ii > Desired=Unknown/Install/Remove/Purge/Hold > | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend > |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) > ||/ Name Version > Architecture Description > +++-=-===--=== > rc libreoffice-style-galaxy 1:5.2.7-1+deb9u11 all > office productivity suite -- Galaxy (Default) symbol style > rc libsensors4:amd64 1:3.4.0-4 > amd64library to read temperature/voltage/fan sensors > rc libuim-data 1:1.8.6+gh20161003.0.d63dadd-2 all > Universal Input Method - data files > > Then I purged these packages. > > buster# apt-get purge $(dpkg -l | awk '$1=="rc"{print $2}') > > Then, when libuim-data is purged, /var/lib/uim/installed-modules.scm > and /var/lib/uim/loader.scm are disappeared, since the postrm script of > libuim-data deletes them. I could reproduced it. This is a serious problem. dai-san had worked to fix this problem. So I'll check them and fill a bug for buster-proposed-updates. Thank you for your report.
Bug#939588: uim package lacks 2 files
In Message , Takatsugu Nokubi writes: > What Japanese engines do you use? I had uim-anthy and uim-mozc, and it works. I use uim-anthy. If /var/lib/uim/{installed-modules,loader}.scm are disappeared, uim-toolbar does not work properly, and I cannot switch input system to anthy. > I tried to upgrade a stretch machine to buster, but the problem is not > reploduced. > Those files are generated by uim-module-manager, and the command is > invoked by maintainer scripts. For test, I installed stretch, and upgraded it to buster. After that, some stretch packages which have been removed during upgrading to buster leaved conf files. buster$ dpkg -l | egrep -v ^ii Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-=-===--=== rc libreoffice-style-galaxy 1:5.2.7-1+deb9u11 all office productivity suite -- Galaxy (Default) symbol style rc libsensors4:amd64 1:3.4.0-4 amd64 library to read temperature/voltage/fan sensors rc libuim-data 1:1.8.6+gh20161003.0.d63dadd-2 all Universal Input Method - data files Then I purged these packages. buster# apt-get purge $(dpkg -l | awk '$1=="rc"{print $2}') Then, when libuim-data is purged, /var/lib/uim/installed-modules.scm and /var/lib/uim/loader.scm are disappeared, since the postrm script of libuim-data deletes them. This was the cause why these files disappeared in my environment. Since /var/lib/uim/{installed-modules,loader}.scm are still used by uim, I think that the postrm script of libuim-data should not delete these files after upgrading to buster.
Bug#939588: uim package lacks 2 files
On Sat, 07 Sep 2019 01:40:06 +0900 NIDE Naoyuki wrote: > Dear Maintainer, > > On a 'buster' system that is upgraded from 'stretch', uim lacks the following > two files: > /var/lib/uim/installed-modules.scm > /var/lib/uim/loader.scm > These files existed when the system was 'stretch', but after upgrading to > 'buster', these files disappeared. I tried to upgrade a stretch machine to buster, but the problem is not reploduced. Those files are generated by uim-module-manager, and the command is invoked by maintainer scripts. > Versions of packages uim depends on: > ii dpkg 1.19.7 > ii libc62.28-10 > ii libuim-scm0 1:1.8.8-4 > ii libuim8 1:1.8.8-4 > ii uim-data 1:1.8.8-4 > ii uim-plugins 1:1.8.8-4 What Japanese engines do you use? I had uim-anthy and uim-mozc, and it works.
Bug#939588: uim package lacks 2 files
Package: uim Version: 1:1.8.8-4 Severity: normal Dear Maintainer, On a 'buster' system that is upgraded from 'stretch', uim lacks the following two files: /var/lib/uim/installed-modules.scm /var/lib/uim/loader.scm These files existed when the system was 'stretch', but after upgrading to 'buster', these files disappeared. On a clean-installed 'buster' system does not have this problem. -- System Information: Debian Release: 10.0 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 4.19.0-5-686-pae (SMP w/1 CPU core) Locale: LANG=ja_JP.EUC-JP, LC_CTYPE=ja_JP.EUC-JP (charmap=EUC-JP), LANGUAGE=ja_JP.EUC-JP (charmap=EUC-JP) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages uim depends on: ii dpkg 1.19.7 ii libc62.28-10 ii libuim-scm0 1:1.8.8-4 ii libuim8 1:1.8.8-4 ii uim-data 1:1.8.8-4 ii uim-plugins 1:1.8.8-4 Versions of packages uim recommends: ii im-config 0.43-1 ii uim-fep 1:1.8.8-4 ii uim-gtk2.01:1.8.8-4 ii uim-gtk3 1:1.8.8-4 ii uim-qt5 1:1.8.8-4 ii uim-xim 1:1.8.8-4 ii wamerican [wordlist] 2018.04.16-1 Versions of packages uim suggests: ii uim-anthy 1:1.8.8-4 -- no debconf information