Package: fcitx-libpinyin
Version: 0.5.4-5+b5
Severity: serious
User: [email protected]
Usertags: fileconflict
fcitx-libpinyin fails to coinstall with itself.
mmdebstrap --verbose --variant=apt '' /dev/null 'deb
http://deb.debian.org/debian trixie main' --architectures=amd64,i386
--include=fcitx-libpinyin,fcitx-libpinyin:i386
The above command demonstrates the error.
Selecting previously unselected package fcitx-libpinyin:amd64.
Preparing to unpack .../311-fcitx-libpinyin_0.5.4-5+b5_amd64.deb ...
Unpacking fcitx-libpinyin:amd64 (0.5.4-5+b5) ...
dpkg: error processing archive
/tmp/apt-dpkg-install-l7fhps/311-fcitx-libpinyin_0.5.4-5+b5_amd64.deb
(--unpack):
trying to overwrite shared
'/usr/share/fcitx/libpinyin/zhuyin_data/addon_phrase_index.bin', which is
different from other instances of package fcitx-libpinyin:amd64
Errors were encountered while processing:
/tmp/apt-dpkg-install-l7fhps/311-fcitx-libpinyin_0.5.4-5+b5_amd64.deb
E: Sub-process env returned an error code (1)
The simplest way to get rid of the issue is to not declare the ability
to coinstall by removing "Multi-Arch: same" from the fcitx-libpinyin
package in debian/control.
Helmut