Your message dated Thu, 07 Feb 2019 23:02:10 +0000
with message-id <[email protected]>
and subject line Bug#905200: fixed in libnatpmp 20150609-7
has caused the Debian Bug report #905200,
regarding natpmp-utils,libnatpmp-dev: unhandled symlink to directory
conversion: /usr/share/doc/PACKAGE
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
905200: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905200
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: natpmp-utils,libnatpmp-dev
Version: 20150609-4
Severity: serious
User: [email protected]
Usertags: piuparts
Hi,
an upgrade test with piuparts revealed that your package installs files
over existing symlinks and possibly overwrites files owned by other
packages. This usually means an old version of the package shipped a
symlink but that was later replaced by a real (and non-empty)
directory. This kind of overwriting another package's files cannot be
detected by dpkg.
This was observed on the following upgrade paths:
stretch -> buster
For /usr/share/doc/PACKAGE this may not be problematic as long as both
packages are installed, ship byte-for-byte identical files and are
upgraded in lockstep. But once one of the involved packages gets
removed, the other one will lose its documentation files, too,
including the copyright file, which is a violation of Policy 12.5:
https://www.debian.org/doc/debian-policy/#copyright-information
For other overwritten locations anything interesting may happen.
Note that dpkg intentionally does not replace directories with symlinks
and vice versa, you need the maintainer scripts to do this.
See in particular the end of point 4 in
https://www.debian.org/doc/debian-policy/#details-of-unpack-phase-of-installation-or-upgrade
It is recommended to use the dpkg-maintscript-helper commands
'dir_to_symlink' and 'symlink_to_dir' (available since dpkg 1.17.14)
to perform the conversion, ideally using d/$PACKAGE.maintscript.
Do not forget to add 'Pre-Depends: ${misc:Pre-Depends}' in d/control.
See dpkg-maintscript-helper(1) and dh_installdeb(1) for details.
>From the attached log (scroll to the bottom...):
0m28.4s ERROR: FAIL: silently overwrites files via directory symlinks:
/usr/share/doc/natpmp-utils/changelog.Debian.gz (natpmp-utils) !=
/usr/share/doc/libnatpmp1/changelog.Debian.gz (libnatpmp1)
/usr/share/doc/natpmp-utils -> libnatpmp1
/usr/share/doc/natpmp-utils/changelog.gz (natpmp-utils) !=
/usr/share/doc/libnatpmp1/changelog.gz (libnatpmp1)
/usr/share/doc/natpmp-utils -> libnatpmp1
/usr/share/doc/natpmp-utils/copyright (natpmp-utils) !=
/usr/share/doc/libnatpmp1/copyright (libnatpmp1)
/usr/share/doc/natpmp-utils -> libnatpmp1
0m27.9s ERROR: FAIL: silently overwrites files via directory symlinks:
/usr/share/doc/libnatpmp-dev/changelog.Debian.gz (libnatpmp-dev:amd64) !=
/usr/share/doc/libnatpmp1/changelog.Debian.gz (libnatpmp1)
/usr/share/doc/libnatpmp-dev -> libnatpmp1
/usr/share/doc/libnatpmp-dev/changelog.gz (libnatpmp-dev:amd64) !=
/usr/share/doc/libnatpmp1/changelog.gz (libnatpmp1)
/usr/share/doc/libnatpmp-dev -> libnatpmp1
/usr/share/doc/libnatpmp-dev/copyright (libnatpmp-dev:amd64) !=
/usr/share/doc/libnatpmp1/copyright (libnatpmp1)
/usr/share/doc/libnatpmp-dev -> libnatpmp1
cheers,
Andreas
natpmp-utils_20150609-4.log.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---
Source: libnatpmp
Source-Version: 20150609-7
We believe that the bug you reported is fixed in the latest version of
libnatpmp, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Yangfl <[email protected]> (supplier of updated libnatpmp 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 29 Jan 2019 16:33:03 +0800
Source: libnatpmp
Binary: libnatpmp-dev libnatpmp1 libnatpmp1-dbgsym natpmp-utils natpmpc
natpmpc-dbgsym python3-libnatpmp python3-libnatpmp-dbgsym
Architecture: source amd64 all
Version: 20150609-7
Distribution: unstable
Urgency: medium
Maintainer: Thomas Goirand <[email protected]>
Changed-By: Yangfl <[email protected]>
Description:
libnatpmp-dev - portable and fully compliant implementation of NAT-PMP (dev
files
libnatpmp1 - portable and fully compliant implementation of NAT-PMP
natpmp-utils - transitional package
natpmpc - portable and fully compliant implementation of NAT-PMP (client)
python3-libnatpmp - portable and fully compliant implementation of NAT-PMP
(Python 3
Closes: 905200
Changes:
libnatpmp (20150609-7) unstable; urgency=medium
.
* Fix symlink overwrites of doc directories (Closes: #905200).
* Mark Multi-Arch same for libnatpmp1.
Checksums-Sha1:
50f093c14422d4b46e98fab372cb5866828d36d6 2298 libnatpmp_20150609-7.dsc
a4fc059fcce1593b7222454bbac989a160541941 5104
libnatpmp_20150609-7.debian.tar.xz
e0a1da3e571446255273da8efabc1c6f938a3cc7 6904
libnatpmp-dev_20150609-7_amd64.deb
f5c4cae82dfbd3e19add16f0a0152bec246df73e 9476
libnatpmp1-dbgsym_20150609-7_amd64.deb
a898b9a7e85193aab653b2129475c7394a61e9e2 9156 libnatpmp1_20150609-7_amd64.deb
e519d344f1143a077ed8e6aef37a13c2448176d9 7972
libnatpmp_20150609-7_amd64.buildinfo
d31985bef00ce6fcbd48338d5ca387fdb022b740 5036 natpmp-utils_20150609-7_all.deb
8407e90f698f586eb2afa4b9fa8e809b779b07cd 9568
natpmpc-dbgsym_20150609-7_amd64.deb
6d21b63994fa1e0c2cde58a22f9d1bfb04b27795 9544 natpmpc_20150609-7_amd64.deb
112c8917b642db51365e740e7d470a4420310e97 16000
python3-libnatpmp-dbgsym_20150609-7_amd64.deb
99134b828d821fe8017c1865f37a478909d35625 8372
python3-libnatpmp_20150609-7_amd64.deb
Checksums-Sha256:
8f38a426629ffda877b07c624315f103039676272fde4a1004a48aa7bc7d55d5 2298
libnatpmp_20150609-7.dsc
823e8394bca83f1238f9c697d666ad3c20e4841fe643c034e5da2ec598656d82 5104
libnatpmp_20150609-7.debian.tar.xz
b325518e1174d18ce15f1f6f941d8ff5638b7cc4bf28115f5b39c0ac977d9553 6904
libnatpmp-dev_20150609-7_amd64.deb
e68cc4e484a8119bf7d815dc3be5816e8cfa7a469d2c813ce84fd4c0353e9125 9476
libnatpmp1-dbgsym_20150609-7_amd64.deb
0e83c6537680c029381ec0fdb2b7ee02e44a7b24a53ffdba7dc3e97bdb20ca6a 9156
libnatpmp1_20150609-7_amd64.deb
a4c35c36d3265d722d991b1ffcc54f812a270bf0339b28bd0ab8ba203abad29b 7972
libnatpmp_20150609-7_amd64.buildinfo
d8036cc529e921f271ca03839ee3a4c031c2b7fced32eedf50789d0a024fbfc4 5036
natpmp-utils_20150609-7_all.deb
a7f2efe729cb260c82aa9ac9afe3c90aa76b16b1737f428813fcd5df5c04cedd 9568
natpmpc-dbgsym_20150609-7_amd64.deb
f8354508909d10368328e932d74feb8d79e063cc868cbe063881d7c9539e8e03 9544
natpmpc_20150609-7_amd64.deb
fddaab91323e5fa186e2487a76a469f1a52c35ca644d38b9322effb6497df23f 16000
python3-libnatpmp-dbgsym_20150609-7_amd64.deb
bacad36922e96193dba6f4c962809e14153e77b5bffdb565653d2cce3185c911 8372
python3-libnatpmp_20150609-7_amd64.deb
Files:
ecdb5f4f884d6d18580bba916aed0e7a 2298 net optional libnatpmp_20150609-7.dsc
87cad0712581682be6cbf1e5b86f5b3a 5104 net optional
libnatpmp_20150609-7.debian.tar.xz
34c07c210eaef603bd919ade4db1c0cc 6904 libdevel optional
libnatpmp-dev_20150609-7_amd64.deb
72b10c4daa5175d504940fbed9b07eb6 9476 debug optional
libnatpmp1-dbgsym_20150609-7_amd64.deb
5ba13ac8bb4706e6c8c0c3e29eab3590 9156 libs optional
libnatpmp1_20150609-7_amd64.deb
0b74df16b46c24fc202960490d4228bf 7972 net optional
libnatpmp_20150609-7_amd64.buildinfo
fa8551b1c1c8e4c9ec003baf2cf360d8 5036 oldlibs optional
natpmp-utils_20150609-7_all.deb
10afbc72594144e921d91c275b285753 9568 debug optional
natpmpc-dbgsym_20150609-7_amd64.deb
7bdfe693960bc149c095243be3077122 9544 net optional natpmpc_20150609-7_amd64.deb
16e39c6a1689b1425af7510abe271da3 16000 debug optional
python3-libnatpmp-dbgsym_20150609-7_amd64.deb
adf7e34ec1287c4c4712cdd2f6bb073b 8372 python optional
python3-libnatpmp_20150609-7_amd64.deb
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAlxcsZQACgkQ1BatFaxr
Q/5n0A/+PDpoBySvrjHTr50+MMc+bxXyBJBk0zUPbIWvwPCeAFD3tPOlKh2xnPc6
cDinPKJnjXpXMbvitv+MO8Aqqs9T/N6qV78XFo2+rmkqrQVxaIU+0hSQBiEem15n
FdBuFnwKSMN3ZsmEGZyU9AtuVQ5P3aPNOTCcBWBGwXl4BMJYx19BnGdd4mhy9Awn
9FRKV7rhegRDBA8TwK58opM/ZLP/teIGaIt/IXlcsvwQEDaOWvwksfqqqsXjo0bN
0t6TdZBySOnSBEZWQAemfULDgSVOTBEARNN1IxVvr60F4Q4OBai/WITnaRH7Xicy
9vlt1b42QVN8QG3ROXrcScVnOYfSTGUGT2bgIGpc814qhT8NeYkt51Z6u+01+De/
9yQcg1lBdbnjD84CwOGvDQ2UCI79WdQFrBZnf/wH8xAtlj8GGXEw1737SZK6UInw
v3rdetzsqBnhvyBS6MZNiaW6A9T5z+hQJqfPvPliaz9Kmp9l5tA5XRrcr+qKkaZe
guTGBW4X70NKz7ONKVqASMll7SJYYK7useAR1aLMDvrEQZS3OnL8Ix5xFfeuDP23
02XXU0T9Yxbbr6ygJeFIgl9REYLiNvHFgusYMhDPdC1KvLMK5KisntHIEW25e0d3
TMY0Uuda0+LgX3sn42bGPvKwECMIdTx9/3MetMPFxcDvA+jXJ/0=
=P539
-----END PGP SIGNATURE-----
--- End Message ---