Your message dated Wed, 12 Apr 2017 01:33:51 +0000
with message-id <[email protected]>
and subject line Bug#860115: fixed in libmongo-client 0.1.8-3
has caused the Debian Bug report #860115,
regarding libmongo-client{-dev, 0-dbg}: 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.)
--
860115: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=860115
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libmongo-client-dev,libmongo-client0-dbg
Version: 0.1.8-2.1
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 -> sid
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/ch-docs.html#s-copyrightfile
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/ch-maintainerscripts.html#s-unpackphase
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 (usually somewhere in the middle...):
0m59.0s ERROR: FAIL: silently overwrites files via directory symlinks:
/usr/share/doc/libmongo-client-dev/changelog.Debian.gz (libmongo-client-dev)
!= /usr/share/doc/libmongo-client0/changelog.Debian.gz (libmongo-client0:amd64)
/usr/share/doc/libmongo-client-dev -> libmongo-client0
/usr/share/doc/libmongo-client-dev/copyright (libmongo-client-dev) !=
/usr/share/doc/libmongo-client0/copyright (libmongo-client0:amd64)
/usr/share/doc/libmongo-client-dev -> libmongo-client0
0m24.8s ERROR: FAIL: silently overwrites files via directory symlinks:
/usr/share/doc/libmongo-client0-dbg/changelog.Debian.gz
(libmongo-client0-dbg:amd64) !=
/usr/share/doc/libmongo-client0/changelog.Debian.gz (libmongo-client0:amd64)
/usr/share/doc/libmongo-client0-dbg -> libmongo-client0
/usr/share/doc/libmongo-client0-dbg/copyright (libmongo-client0-dbg:amd64) !=
/usr/share/doc/libmongo-client0/copyright (libmongo-client0:amd64)
/usr/share/doc/libmongo-client0-dbg -> libmongo-client0
cheers,
Andreas
libmongo-client-dev_0.1.8-2.1.log.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---
Source: libmongo-client
Source-Version: 0.1.8-3
We believe that the bug you reported is fixed in the latest version of
libmongo-client, 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.
Jörg Frings-Fürst <[email protected]> (supplier of updated
libmongo-client 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, 11 Apr 2017 20:36:41 +0200
Source: libmongo-client
Binary: libmongo-client0 libmongo-client-dev libmongo-client0-dbg
libmongo-client-doc
Architecture: source amd64 all
Version: 0.1.8-3
Distribution: sid
Urgency: medium
Maintainer: Jörg Frings-Fürst <[email protected]>
Changed-By: Jörg Frings-Fürst <[email protected]>
Description:
libmongo-client-dev - Development files for the alternate C driver for MongoDB
libmongo-client-doc - Documentation for the alternate C driver for MongoDB
libmongo-client0 - Alternate C driver for the MongoDB document-oriented
datastore
libmongo-client0-dbg - Alternate C driver for MongoDB (debugging symbols)
Closes: 860115
Changes:
libmongo-client (0.1.8-3) unstable; urgency=medium
.
* debian/libmongo-client-doc.maintscript:
- Add missing symlink_to_dir calls for libmongo-client0-dbg
and libmongo-client-dev (Closes: #860115).
Checksums-Sha1:
b7828708988867388c5ba0e0898ea0ff4fd0b5dc 2220 libmongo-client_0.1.8-3.dsc
d48da65474371020db6ce2e15aa7f2cb5b54856a 5904
libmongo-client_0.1.8-3.debian.tar.xz
f268aeba7e922df1d682799e7b03a0d1f6dcf684 51140
libmongo-client-dev_0.1.8-3_amd64.deb
8994bb5bd02154c8feb3ff81e9fcebe77165d638 219958
libmongo-client-doc_0.1.8-3_all.deb
2a408093eff7a70e1b560fa0fd0fa0064b64e526 92978
libmongo-client0-dbg_0.1.8-3_amd64.deb
0b0614257f4ebc6e86768cb9361c11e526d651ce 39108
libmongo-client0_0.1.8-3_amd64.deb
427a231fd473cfa6c1621f4bfd370721af4fb876 8481
libmongo-client_0.1.8-3_amd64.buildinfo
Checksums-Sha256:
74c9a1d403719c6916b0e9641d9e544922d953d1d6407b498980625a934a1150 2220
libmongo-client_0.1.8-3.dsc
6a14205a31c89cea353bd922870f71529923bdef9e1d087ed287dfa691fac4f5 5904
libmongo-client_0.1.8-3.debian.tar.xz
499017822e56e7efa259fbd3cac271462b7b5986c5faf82f138680409b981fb9 51140
libmongo-client-dev_0.1.8-3_amd64.deb
66fcc16dbddea544eb747e8c169655aeae9ba44ca1bfec74aff056aee1a6e756 219958
libmongo-client-doc_0.1.8-3_all.deb
ba19a11329a24dc3da6b062ca9ec2f403981f4e1e6bebcd6776d97151ea92d9e 92978
libmongo-client0-dbg_0.1.8-3_amd64.deb
9ab5ebba2b3528ff94ef3a5b769a031282a2d8adec79fb3b490e186d931a068f 39108
libmongo-client0_0.1.8-3_amd64.deb
9b4981c3644c0ad7f4409039f140256c3bba4aa4cdcc2597ecb309e951d6a5f5 8481
libmongo-client_0.1.8-3_amd64.buildinfo
Files:
ec4c00fc694ca27901d11a3dc635171c 2220 libs extra libmongo-client_0.1.8-3.dsc
9b577c22a6e299d3bd70aebf8832c515 5904 libs extra
libmongo-client_0.1.8-3.debian.tar.xz
13ba219b45631f936499edf256c38c26 51140 libdevel extra
libmongo-client-dev_0.1.8-3_amd64.deb
aabb1e746a80f49be3b63d3cb2b55fdf 219958 doc extra
libmongo-client-doc_0.1.8-3_all.deb
87c0a35e2c4a408610a2a3015e6cb3c0 92978 debug extra
libmongo-client0-dbg_0.1.8-3_amd64.deb
42a12cc90aebbc3d5590636c03cd3b4a 39108 libs extra
libmongo-client0_0.1.8-3_amd64.deb
e9373da292d1854f97f13eb87c9435aa 8481 libs extra
libmongo-client_0.1.8-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEYv+KdYTgKVaVRgAGdCY7N/W1+RMFAljtgZcACgkQdCY7N/W1
+RNS8hAAs5pieYH84SkumbFBRUkuGGxeiP5rHfkTrV8ulmc0Zr9YACZHpeWcZHhS
svs/a49QcSOOu27HreWvJeOy0Yx4vQPCB5FOl5VuSlrdfOP5B6/37nf7TSBBU/kv
o3Rr90XYejbBfNIIhkQz7eev+Lxq4M3zUbM8GJnvVxR1u+hXXTMM4OOfpQC2cdRG
qoG3MxsY+TTp7e9MRKdygjiFcIwUfKhWhWlVTNnFgxc0GaR5IEL77cZBsSBLVity
cY9lcrJXJgy+ByMhi/iV+G0IQv+QaVBM6+yjWrr2jsW4c86iDBZ7lMYCDpybI3B0
38bUpEG+Fw1Ju3Pa+Dr75GIecL8mmJQnsTjCUe2StbBpBo/Fx1oVFbmvZmb82CRR
lNtY6KDtYcw1b7uDZzICXxwJoxHdhipxyRpONTq+ckMaK6BRMqvYYQbrV/hinCXL
B7oRtqxZTM9veAZ6oyCcdnQX7/6PxBmW/5geu/FYRVjavAZp6GidCULt7FYc03PU
Sx4nRKTgbXLUwzNo7Wqmq6PqoeBmo65iT/yjEj8NyMWmFpjPh05n1iMm2mfR4nIQ
8Gfc3CnFN/UL3ah7Lf0HCrjUiRr38lQiGH36hcS9DO9ska5ixWrp09KUC5GXgtk6
9uUIa9T/ta6RYn08o2aGNrUhGlpj8HBWky7zHs5OdAVa0xME0iI=
=NdhO
-----END PGP SIGNATURE-----
--- End Message ---