#1142042 libkysdk-system: postinst renames package-owned translation files and breaks debsums #1142042
- Package:
- libkysdk-system
- Source:
- libkysdk-system
- Description:
- Kylin System Layer Developer Kit
- Submitter:
- Pan Zhang
- Date:
- 2026-07-22 06:21:01 UTC
- Severity:
- normal
Dear Maintainer,
libkysdk-system renames package-owned translation files from its
postinst maintainer script. The original paths remain registered in the
package's md5sums and file list, so debsums reports them as missing after
a normal installation.
This also causes piuparts tests for libkysdk-system and packages depending
on it to fail with:
ERROR: FAIL: debsums reports modifications inside the chroot
The problem can be reproduced on Debian unstable with:
apt install libkysdk-system debsums
debsums -s libkysdk-system
Representative output is:
debsums: missing file
/usr/share/locale/zh_CN/LC_MESSAGES/kysdk-hardware_zh_CN.mo (from
libkysdk-system package)
debsums: missing file
/usr/share/locale/zh_CN/LC_MESSAGES/kysdk-sysinfo_zh_CN.mo (from
libkysdk-system package)
debsums: missing file /usr/share/locale/zh_CN/LC_MESSAGES/zh_CN.mo (from
libkysdk-system package)
The files are initially installed under these names, but
debian/libkysdk-system.postinst renames them, for example:
mv /usr/share/locale/zh_CN/LC_MESSAGES/kysdk-hardware_zh_CN.mo \
/usr/share/locale/zh_CN/LC_MESSAGES/kysdk-hardware.mo
The same operation is performed for the hardware, sysinfo, and date
translation catalogs in all supported locales.
Files owned by a binary package should not be moved by its maintainer
scripts. The translation catalogs should instead be installed under
their final gettext domain names when the binary package is built, and
the corresponding mv commands should be removed from postinst.
Pan Zhang
We believe that the bug you reported is fixed in the latest version of
libkysdk-system, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1142042@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
handsome_feng <jianfengli@ubuntukylin.com> (supplier of updated libkysdk-system package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 14 Jul 2026 20:39:02 +0800
Source: libkysdk-system
Architecture: source
Version: 3.0.1.1-2
Distribution: unstable
Urgency: medium
Maintainer: Kylin Team <team+kylin@tracker.debian.org>
Changed-By: handsome_feng <jianfengli@ubuntukylin.com>
Closes: 1142042
Changes:
libkysdk-system (3.0.1.1-2) unstable; urgency=medium
.
[ zhangpan ]
* Install translation catalogs under their final names during the build.
(Closes: #1142042)
Checksums-Sha1:
ba1d052a2e329480c60a147da85e34c11dc1f9e8 2859 libkysdk-system_3.0.1.1-2.dsc
b86034f3e6f98d767b9148416f271c46bc0f2d8b 936304 libkysdk-system_3.0.1.1.orig.tar.gz
659f3fc882bac9ab53c1074a96d8d9e289de6c29 32396 libkysdk-system_3.0.1.1-2.debian.tar.xz
65352fa4341fe86926f99e5b4c47de07298e85ba 34281 libkysdk-system_3.0.1.1-2_source.buildinfo
Checksums-Sha256:
1b2932eb4e06f374fac0d6171b4ec1ca0902f70df2b8e259baeba3196a903304 2859 libkysdk-system_3.0.1.1-2.dsc
6d01bb245d86239f60297040bd4c31badde7d0eac3905b11d0c934e2a6613b61 936304 libkysdk-system_3.0.1.1.orig.tar.gz
62d5fca6f5035b56aa5f8e28d44e260f80b5c6c86bef98df38c91c0286ff936e 32396 libkysdk-system_3.0.1.1-2.debian.tar.xz
9cac03e10d5dd091d8507fe4065a447232830bddab0fe4571cabcb9f4f0cddc5 34281 libkysdk-system_3.0.1.1-2_source.buildinfo
Files:
512707ac9f6e5d3161f8f23069f82d33 2859 libs optional libkysdk-system_3.0.1.1-2.dsc
51bde4268e8aeb57025f98acad4fd544 936304 libs optional libkysdk-system_3.0.1.1.orig.tar.gz
64c754c163f8e38a896d9dace0a0acee 32396 libs optional libkysdk-system_3.0.1.1-2.debian.tar.xz
1edeb3e7b6f2a2d556da1fefb672996e 34281 libs optional libkysdk-system_3.0.1.1-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJPBAEBCgA5FiEEhsgAHpUwnacZWWSCm7hQwBMRHwwFAmpgWw4bHGppYW5mZW5n
bGlAdWJ1bnR1a3lsaW4uY29tAAoJEJu4UMATER8MDHgQAJBV8zQ2uaiQ058X2/v3
diKeNgdndpePyJtuu0v2r9TfdHBN0IGuETdubuTMP4FE3HHZi0O75HjDY8lt1g1x
yI1vRxg0yw00xW9/1KsbI2j25yxR3jb4BwgIc5QlTT5fIuEEgPWbLenYvAz0fujf
oxHITn6F5p3VW/VInY5OrNMNTtbVDF+6+oOItIf4POZusMqSx+vlD6vWmoNMXhX4
mIgfZ5n5W6Tb/MgCyXZWquQvvMF7PXe+ZmTNAhp7TeeGx5XY3QXcKOfgJyleKWJV
crjHjqTrajiRlFNXzFR9jdWiI0wxJ2f7njpdQ2tnI3PZJhR64sML8FahfEIiHCVC
yYrAy5rIE51q+/G6tNDA0gl1i+gMcYSnuylOIwDySJXRfFBRJX0rE5yoMftcW4AQ
D7TBkyPaXr28uFMP/KlQ9DiAFevI4jEQ5YXQVDYk+PYSWK5ArvWW1ncVYi+9dQh8
B87mq6917GMJz3f7tgUshux6JKc4+ga8fg6OxElNIpaM023BxEpJSE/77vmQAyC1
WIESWnvnJVnyJGbhaoeAi0l93BIrtRFhMNoPecsUtmtStCHiOflvoeU0jDZUqq4A
cWAaPF+x0TEHM8zqMpa1OxoDOmwdvkUiIrV+ata2JIt51qFIdiC48+hPfPTeJVB5
RY1rvw5iqIFGD2AHhaJ2UIpM
=mqep
-----END PGP SIGNATURE-----