Package: libuim-data
Version: 1:1.8.8-4+deb10u2
Severity: grave
Justification: renders package unusable

Dear Maintainer,

After upgrading buster to 10.2, libuim-data accidentally registers
"tutcode" module even when uim-tcode is not installed:

$ env LANG=C dpkg -l uim-tcode
dpkg-query: no packages found matching uim-tcode
$
$ cat /var/lib/uim/installed-modules.scm
;; This is an automatically generated file. DO NOT EDIT.

;; The described order of input methods affects which IM is preferred
;; at the default IM selection process for each locale. i.e.  list
;; preferable IM first for each language
(define installed-im-module-list '("tutcode" "mozc"))
(define installed-im-list '(tutcode mozc))
(define enabled-im-list installed-im-list)
$

This is caused by an output pattern of dpkg-query which the current postinst
does not handle:
$ export LANG=C
$ dpkg-query -W -f='${Status}\n' uim-skk
unknown ok not-installed
$ dpkg-query -W -f='${Status}\n' uim-tcode
dpkg-query: no packages found matching uim-tcode

libuim-data should avoid registering the broken modules (whose
dependencies are not satisfied.)
It should also unregister the modules because
"uim-module-manager --register <module>" inserts <module> in front of the
existing installed modules, which means it prefers the broken module over any
other working modules.

Thanks in advance,
-- 
YOSHINO Yoshihito <yy.y.ja...@gmail.com>

-- System Information:
Debian Release: 10.2
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'testing'), (99, 'unstable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-6-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN,
TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8),
LANGUAGE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

-- no debconf information

Reply via email to