Package: task-japanese-desktop Version: 3.63 Tags: bullseye patch Priority: important
Dear Maintainer, Most Japanese users prefer "mozc" over "anthy" among several Japanese input method engines. Because mozc is supported upstream in limited architectures (x86 and arm related only) anthy has been used as a fall-back. However, the recent bullseye debian installer does not configure the system as expected. When the buster (or earlier) debian installer installs japanese-desktop task it configures (runs postinst maintainer scripts of) the uim-* input method packages in the following order: uim-anthy uim-mozc buster dpkg.log: 2021-01-31 12:47:57 install uim-anthy:all <なし> 1:1.8.8-4+deb10u3 2021-01-31 12:47:57 status half-installed uim-anthy:all 1:1.8.8-4+deb10u3 2021-01-31 12:47:57 status unpacked uim-anthy:all 1:1.8.8-4+deb10u3 (snip) 2021-01-31 12:51:44 install uim-mozc:amd64 <なし> 2.23.2815.102+dfsg-4 2021-01-31 12:51:44 status half-installed uim-mozc:amd64 2.23.2815.102+dfsg-4 2021-01-31 12:51:44 status unpacked uim-mozc:amd64 2.23.2815.102+dfsg-4 (snip) 2021-01-31 12:53:58 configure uim-anthy:all 1:1.8.8-4+deb10u3 <なし> 2021-01-31 12:53:58 status unpacked uim-anthy:all 1:1.8.8-4+deb10u3 2021-01-31 12:53:58 status half-configured uim-anthy:all 1:1.8.8-4+deb10u3 2021-01-31 12:53:58 status installed uim-anthy:all 1:1.8.8-4+deb10u3 (snip) 2021-01-31 12:54:04 configure uim-mozc:amd64 2.23.2815.102+dfsg-4 <なし> 2021-01-31 12:54:04 status unpacked uim-mozc:amd64 2.23.2815.102+dfsg-4 2021-01-31 12:54:04 status half-configured uim-mozc:amd64 2.23.2815.102+dfsg-4 2021-01-31 12:54:04 status installed uim-mozc:amd64 2.23.2815.102+dfsg-4 which makes uim input method framework configured in the desirable preference ordering, because the uim-* input method packages are structured as LIFO: last configured package is preferred first. However, the recent bullseye debian installer (perhaps recent apt or dpkg algorithm) has been changed for some reason. It configures the uim-* input method packages in the following order: uim-mozc uim-anthy bullseye dpkg.log: 2021-01-31 10:55:44 install uim-anthy:all <none> 1:1.8.8-7 2021-01-31 10:55:44 status half-installed uim-anthy:all 1:1.8.8-7 2021-01-31 10:55:44 status unpacked uim-anthy:all 1:1.8.8-7 (snip) 2021-01-31 10:58:47 install uim-mozc:amd64 <none> 2.26.4220.100+dfsg-2 2021-01-31 10:58:47 status half-installed uim-mozc:amd64 2.26.4220.100+dfsg-2 2021-01-31 10:58:47 status unpacked uim-mozc:amd64 2.26.4220.100+dfsg-2 (snip) 2021-01-31 11:00:36 configure uim-mozc:amd64 2.26.4220.100+dfsg-2 <none> 2021-01-31 11:00:36 status unpacked uim-mozc:amd64 2.26.4220.100+dfsg-2 2021-01-31 11:00:36 status half-configured uim-mozc:amd64 2.26.4220.100+dfsg-2 2021-01-31 11:00:36 status installed uim-mozc:amd64 2.26.4220.100+dfsg-2 (snip) 2021-01-31 11:00:38 configure uim-anthy:all 1:1.8.8-7 <none> 2021-01-31 11:00:38 status unpacked uim-anthy:all 1:1.8.8-7 2021-01-31 11:00:38 status half-configured uim-anthy:all 1:1.8.8-7 2021-01-31 11:00:38 status installed uim-anthy:all 1:1.8.8-7 Since depending on the dpkg configuration order is inherently fragile, it should be avoided. It should be better to adjust the dependency field in the task package. The attached patch should fix this problem. Thanks in advance, -- YOSHINO Yoshihito <yy.y.ja...@gmail.com>
--- tasksel-3.63/debian/control 2020-12-21 01:58:07.000000000 +0900 +++ tasksel-3.63/debian/control 2021-02-07 16:06:00.487409455 +0900 @@ -1410,8 +1410,7 @@ fonts-vlgothic, fonts-ipafont, uim, - uim-anthy, - uim-mozc, + uim-mozc | uim-anthy, mozc-utils-gui, anthy, libreoffice-l10n-ja,