Your message dated Wed, 12 Apr 2017 21:18:48 +0000
with message-id <[email protected]>
and subject line Bug#860115: fixed in libmongo-client 0.1.8-3.1
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

Attachment: 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.1

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.
Ivo De Decker <[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: Wed, 12 Apr 2017 21:46:46 +0200
Source: libmongo-client
Binary: libmongo-client0 libmongo-client-dev libmongo-client0-dbg 
libmongo-client-doc
Architecture: source
Version: 0.1.8-3.1
Distribution: unstable
Urgency: medium
Maintainer: Jörg Frings-Fürst <[email protected]>
Changed-By: Ivo De Decker <[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.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * fix symlink_to_dir calls for libmongo-client0-dbg
       and libmongo-client-dev (Closes: #860115).
Checksums-Sha1:
 b7266480fb2976284cbbfc2f576e61bfdff1bc8f 2214 libmongo-client_0.1.8-3.1.dsc
 1e7eb8d3e9c2c4f327db42f69fdb7b3d7b93189a 5940 
libmongo-client_0.1.8-3.1.debian.tar.xz
Checksums-Sha256:
 978389ba57488d02fa21552925edc9239635a1cb2209c28f160bd2e2bf876d46 2214 
libmongo-client_0.1.8-3.1.dsc
 5296bce86d7d1309a5a48f645d6ab7ef7024d3fc66382e31f3d57d4390518055 5940 
libmongo-client_0.1.8-3.1.debian.tar.xz
Files:
 2f3987e02c1519dde7f91a99ce434276 2214 libs extra libmongo-client_0.1.8-3.1.dsc
 88acc658a11d247c0c92bd3c1ca2a8dd 5940 libs extra 
libmongo-client_0.1.8-3.1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJY7pX0AAoJEKxAu1iXBOr8GqoP/iPm6Fc7rMTv8EUgn9BprW7q
TNC1qHeqaAYjr1Cz9xFjyD7pM+zmapGhx0QThktTcy3f/NPEcHS/GzFv/seqvj/0
LSNJ54c5mt4S3AAA4kSQuaDHTy4Gl+Vg04f+YFbNz15MfMEzSBivRMKYMWWuncvM
SG+nDeBV33w7DXuMZC4JkrMoRf4hhHHdWQlJsd9aJlwgep0/fZDgl7WJWV/9AEzl
LR3ZREnluZDknySoyOqgjy5xlu7Mx1ZQpJ+2XS4NSVc+lnTX6R1yfMbrdDGxGqL9
as8Trl52WgT3mNQ5wAeA1lzCoZ0DBp7d+uZxEjWnWeMZQgjoKr2VsOSZG+29gArH
5PgLTe0lp+xcMldigrCyRGlyuiMD6WSoU/KQTod+X8nnyoV8fPWVBCmueqp/B4c1
VVEJBhwcTca5wsHr/zrvHrT2VY/djqOawz1zFvMxSaQkCb85+KIpdAefnhXZld43
lrPG+ZDSUewUJgHclhYtqfAjv6mNcV9Jp/3p7UymvsKKd4BEwxJ62QGLHX2kfWkr
5v1c6BOXyJPf60GeC+l4jAGXpokS4AZiyfC44ZtVfXEhsH9osazZ0ior2jJdcSD/
Sdk21PfTU18/vDLS31ziSowKfbM0NEiOPnBJPLec0IvUopGYuYXJO7+2sqefbOWS
CePpgpkNIN6Y5oJnNLb+
=quuW
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to