Bug#964944: libreoffice-l10n-zh-cn: language pack not selectable in libreoffice settings
Package: libreoffice-l10n-zh-cn
Version: 1:7.0.0~rc1-5
Severity: normal
Tags: l10n
Dear Maintainer,
zh-cn (and zh-tw) languages are not selectable in libreoffice settings
after upgrading to 7.0. By comparing with language packs of other
languages, I notice that some autogenerated commands are missing in
postinst script of libreoffice-l10n-zh-{cn,tw}. Manually running the
following commands fixes the problem:
ucf --three-way
"/usr/lib/libreoffice/share/.registry/Langpack-zh-CN.xcd"
"/etc/libreoffice/registry/Langpack-zh-CN.xcd"
ucfr --force libreoffice-l10n-zh-CN
"/etc/libreoffice/registry/Langpack-zh-CN.xcd"
ucf --three-way
"/usr/lib/libreoffice/share/.registry/res/fcfg_langpack_zh-CN.xcd"
"/etc/libreoffice/registry/res/fcfg_langpack_zh-CN.xcd"
ucfr --force libreoffice-l10n-zh-CN
"/etc/libreoffice/registry/res/fcfg_langpack_zh-CN.xcd"
ucf --three-way
"/usr/lib/libreoffice/share/.registry/res/registry_zh-CN.xcd"
"/etc/libreoffice/registry/res/registry_zh-CN.xcd"
ucfr --force libreoffice-l10n-zh-CN
"/etc/libreoffice/registry/res/registry_zh-CN.xcd"
ucf --three-way "/usr/lib/libreoffice/share/.registry/cjk_zh-CN.xcd"
"/etc/libreoffice/registry/cjk_zh-CN.xcd"
ucfr --force libreoffice-l10n-zh-CN "/etc/libreoffice/registry/cjk_zh-CN.xcd"
fi
-- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 5.7.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8),
LANGUAGE=zh_CN:zh (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libreoffice-l10n-zh-cn depends on:
ii libreoffice-common 1:7.0.0~rc1-5
ii locales 2.30-8
Versions of packages libreoffice-l10n-zh-cn recommends:
ii libreoffice-core 1:7.0.0~rc1-5
Versions of packages libreoffice-l10n-zh-cn suggests:
pn hunspell-dictionary-zh-cn | myspell-dictionary-zh-cn <none>
pn hyphen-zh-cn <none>
pn libreoffice-grammarcheck-zh-cn <none>
ii libreoffice-help-zh-cn 1:7.0.0~rc1-5
pn mythes-zh-cn <none>
-- no debconf information
Reply to: