Your message dated Sun, 19 Aug 2018 22:23:38 +0000
with message-id <e1frw6k-000gwn...@fasolo.debian.org>
and subject line Bug#905200: fixed in libnatpmp 20150609-5
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 ow...@bugs.debian.org
immediately.)


-- 
905200: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905200
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: natpmp-utils,libnatpmp-dev
Version: 20150609-4
Severity: serious
User: debian...@lists.debian.org
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

Attachment: natpmp-utils_20150609-4.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: libnatpmp
Source-Version: 20150609-5

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 905...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Yangfl <mmyan...@gmail.com> (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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 16 Aug 2018 19:42:06 +0800
Source: libnatpmp
Binary: libnatpmp-dev libnatpmp1 natpmp-utils natpmpc python3-libnatpmp
Architecture: source amd64 all
Version: 20150609-5
Distribution: unstable
Urgency: medium
Maintainer: Thomas Goirand <z...@debian.org>
Changed-By: Yangfl <mmyan...@gmail.com>
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-5) unstable; urgency=medium
 .
   * Fix symlink overwrites of doc directories (Closes: #905200).
   * Bump Standards-Version to 4.2.0.
Checksums-Sha1:
 f8f4c95b9c977b047ff92ede736f1fa79c07f84f 2278 libnatpmp_20150609-5.dsc
 53cbeb50167d4bf9ff24197c1cc62142fa3d517e 5000 
libnatpmp_20150609-5.debian.tar.xz
 6dec390dc992dd13e872b82d721e6d22ce4fae4f 6908 
libnatpmp-dev_20150609-5_amd64.deb
 e6bc1b55b0114aa145772cece041cc9731603700 10168 
libnatpmp1-dbgsym_20150609-5_amd64.deb
 8f94cda84f1a7723dc93d67a04712d134e889ee1 9068 libnatpmp1_20150609-5_amd64.deb
 2d9aa77a69b00d27380efee2a48e5ab773f56c02 8265 
libnatpmp_20150609-5_amd64.buildinfo
 e5a98dc215c482ac70f0a9bc7fe3532b061ab012 4892 natpmp-utils_20150609-5_all.deb
 7785744211d014c1f23df084c3df2a931525cca1 9660 
natpmpc-dbgsym_20150609-5_amd64.deb
 e854f65f42edc0ecd650a1fd1bb8fbec1f5b9857 9484 natpmpc_20150609-5_amd64.deb
 f4867a10528d5b51bc8b4b5f322860034ad50562 15300 
python3-libnatpmp-dbgsym_20150609-5_amd64.deb
 c9e3175a1fe58d1ce09bbbcb696a8defd67979c1 8288 
python3-libnatpmp_20150609-5_amd64.deb
Checksums-Sha256:
 de3b693ac139259bbdb6c22cc567ec75a9827a0e601a04d309f85fdedd0a47fa 2278 
libnatpmp_20150609-5.dsc
 2c52a0a79291ff723de4b5892be436b9caddd78e3e13c8c33979f457e166491f 5000 
libnatpmp_20150609-5.debian.tar.xz
 9d81d717c446eaa182e8bee67786b1de923cd69742e2ece52305f4888f0feb12 6908 
libnatpmp-dev_20150609-5_amd64.deb
 8e43f9edf7c954450001acd36127694a563ae5acd52b562a57f526687a775d21 10168 
libnatpmp1-dbgsym_20150609-5_amd64.deb
 0ad6b9e27b59acd239ee6d981e6b86a4085fb09a4c43ab8ff4ff9121907305a8 9068 
libnatpmp1_20150609-5_amd64.deb
 46fad535c34e64c8b8c1067ba7619c525be33f58c4f384fd7ea544549e5e027c 8265 
libnatpmp_20150609-5_amd64.buildinfo
 278868440dc80d4bff030d148a6eeb4103947a93b479df76f7cc5a0d93a10507 4892 
natpmp-utils_20150609-5_all.deb
 99e282fdc0c3a4a4224109bbb8b180428821dcd120bf9bbd7009298464151bbe 9660 
natpmpc-dbgsym_20150609-5_amd64.deb
 fa2c20eee0e8c0f8f1d61d5b22e6672b04f0de5825c4e92a228dbee3f3f2a22e 9484 
natpmpc_20150609-5_amd64.deb
 999f31ffd1e21a37ee39ff3844a6e678c15474568e54d1f3488ff1355db40117 15300 
python3-libnatpmp-dbgsym_20150609-5_amd64.deb
 5909afb561c582a0d91bc7ada796f722064c499f78d8f65e4fa8141d5d47df0a 8288 
python3-libnatpmp_20150609-5_amd64.deb
Files:
 f26a94330ab31c419465916f85b7ee9c 2278 net optional libnatpmp_20150609-5.dsc
 db3926dbd73a6c8c58c4e13cc3961596 5000 net optional 
libnatpmp_20150609-5.debian.tar.xz
 a82b2f1e388bbe087648028a4df63be7 6908 libdevel optional 
libnatpmp-dev_20150609-5_amd64.deb
 72908429c191dc9da7024dc3386a5383 10168 debug optional 
libnatpmp1-dbgsym_20150609-5_amd64.deb
 f8338c29c9960b0cf6ad06fa9c5fb28e 9068 libs optional 
libnatpmp1_20150609-5_amd64.deb
 7d9eb49705c096e897a99e35cbd93eaa 8265 net optional 
libnatpmp_20150609-5_amd64.buildinfo
 d9ffc33b704a7f2455affcc2ba35e3ae 4892 oldlibs optional 
natpmp-utils_20150609-5_all.deb
 c0380ca5c44f084b3dd1d9dbbbb87f65 9660 debug optional 
natpmpc-dbgsym_20150609-5_amd64.deb
 ed4bb7b248f345b187fb8acea2ae36a3 9484 net optional natpmpc_20150609-5_amd64.deb
 6d0e7945131fa8c1d2f89c8dd30b7e47 15300 debug optional 
python3-libnatpmp-dbgsym_20150609-5_amd64.deb
 fee265a968a39ab5815b336d9b2999f8 8288 python optional 
python3-libnatpmp_20150609-5_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEtKCq/KhshgVdBnYUq1PlA1hod6YFAlt55+gACgkQq1PlA1ho
d6ZtjxAAlBoKV3aAi9YeW08xbHiXB5OVz0XclQOA2dDU0u8b18HSye5pNDDN6MIh
V9KcWU15KZDFXRSMFPmT1OBthWhPR0c9bIrsHmVbwLje/00Rp+pNsL4+RIej0qUI
4O4snO8R2arbU1gf2Cqsjr6Y0TqkMvF+xJJYtEP6aSXjN3StzRYBXK6dEPtB4aps
cDUe8NTNEt1N/+En/IK+Sv1V3kNSJliz9XqjqRIJh0S1zUEkHVjxQ6zqCvftNXOg
D4VDiu5mM4OaffWcWeo3AiahFV4AUQN8aUppUlLAWjjxnRSBBLHFbJd1cT6s37kk
icpBDo/pPuFn3ES4v182ySKauVHOcSOjE466dTc1D2Eb0U29QECx4ioD8OHHKdlT
GYexmv5+YM5AGOc0ZrBPh8uja3BusyjHajU8AAKF7ybJA3QrSP91xTsGHi5j3Nr6
8SgcHU6t4+klTh9xZUJMz29S9MPD/XgV8T9/TNr38AfeJSIeDZ0KIexbK7eNDf9B
zxxEGhxuNiekM4jt8DUSNm6iEioMZ+zw2vfrQzNhYZ/VC6rbz1OXBxcPSryrzAkZ
VDnbbEmUiQgyEzje0iaQKU+mCO9eFXiyBw5Wrn/dB7Q/7cnIagFen3PAjfCzdjWY
J+USfq3CU+0qG+CfDm+oM1NR4rXeZ2XCBdYcegF16J1Fv5bfIfI=
=DD5F
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to