Your message dated Tue, 14 Aug 2018 12:05:03 +0000
with message-id <e1fpy4n-000art...@fasolo.debian.org>
and subject line Bug#905198: fixed in python-ldap 3.1.0-2
has caused the Debian Bug report #905198,
regarding python-ldap-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 ow...@bugs.debian.org
immediately.)


-- 
905198: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905198
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python-ldap-dbg
Version: 3.1.0-1
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...):

0m38.4s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/python-ldap-dbg/changelog.Debian.amd64.gz (python-ldap-dbg) != 
/usr/share/doc/python-ldap/changelog.Debian.amd64.gz (python-ldap:amd64)
    /usr/share/doc/python-ldap-dbg -> python-ldap
  /usr/share/doc/python-ldap-dbg/changelog.Debian.gz (python-ldap-dbg) != 
/usr/share/doc/python-ldap/changelog.Debian.gz (python-ldap:amd64)
    /usr/share/doc/python-ldap-dbg -> python-ldap
  /usr/share/doc/python-ldap-dbg/changelog.gz (python-ldap-dbg) != 
/usr/share/doc/python-ldap/changelog.gz (python-ldap:amd64)
    /usr/share/doc/python-ldap-dbg -> python-ldap
  /usr/share/doc/python-ldap-dbg/copyright (python-ldap-dbg) != 
/usr/share/doc/python-ldap/copyright (python-ldap:amd64)
    /usr/share/doc/python-ldap-dbg -> python-ldap


cheers,

Andreas

Attachment: python-ldap-dbg_3.1.0-1+b1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: python-ldap
Source-Version: 3.1.0-2

We believe that the bug you reported is fixed in the latest version of
python-ldap, 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.
Pierre-Elliott Bécue <be...@crans.org> (supplier of updated python-ldap 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: Fri, 10 Aug 2018 22:58:26 +0200
Source: python-ldap
Binary: python-ldap python3-ldap python-ldap-dbg python3-ldap-dbg python-pyldap 
python3-pyldap
Architecture: source amd64
Version: 3.1.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 
<python-modules-t...@lists.alioth.debian.org>
Changed-By: Pierre-Elliott Bécue <be...@crans.org>
Description:
 python-ldap - LDAP interface module for Python
 python-ldap-dbg - LDAP interface module for Python (debug extension)
 python-pyldap - LDAP interface module for Python 2.7 - transition package
 python3-ldap - LDAP interface module for Python3
 python3-ldap-dbg - LDAP interface module for Python3 (debug extension)
 python3-pyldap - LDAP interface module for Python 3.x - transition package
Closes: 905198
Changes:
 python-ldap (3.1.0-2) unstable; urgency=medium
 .
   * Team upload
 .
   [ Willem van den Akker ]
   * debian/control
     - Update VCS links to DPMT repositories.
     - add missing Multi-Arch options.
 .
   [ Ondřej Nový ]
   * d/control: Removing redundant Priority field in binary package
 .
   [ Pierre-Elliott Bécue ]
   * Add a call to dpkg-maintscript-helper symlink_to_dir to handle properly
     the replacement of /u/s/doc/python-ldap-dbg symlink by a directory, in
     order to smoothen the stretch -> buster transition. (Closes: #905198)
     - d/control: Add the Pre-Depends: ${misc:Pre-Depends} entry on
       python-ldap-dbg
     - d/python-ldap-dbg.maintscript: Add the symlink_to_dir call.
   * debian/control:
     - Bump to standard version 4.2.0
   * debian/rules:
     - Add hardening=+all to DEB_BUILD_MAINT_OPTIONS for binaries.
Checksums-Sha1:
 c984fb3d70a2c9cb88434c26abab5fd97f92dcf8 2472 python-ldap_3.1.0-2.dsc
 945e08937faee54aa3502f684830ff34899f0da5 8080 python-ldap_3.1.0-2.debian.tar.xz
 36019879ec7c6184f7b6d8ad960d3c71844d6e7f 163400 
python-ldap-dbg_3.1.0-2_amd64.deb
 19a8adc1fa84c926d26aabb7c8339494c80a3112 9856 
python-ldap_3.1.0-2_amd64.buildinfo
 91691e6daf30c44d07a7aec6c718c3e3cf728e1e 111804 python-ldap_3.1.0-2_amd64.deb
 e47d5cf86823e83c82644d933c7337fa8bc0f362 26660 python-pyldap_3.1.0-2_amd64.deb
 2dc7a4ee43186691a213342093692cdee0ddeeb5 259500 
python3-ldap-dbg_3.1.0-2_amd64.deb
 04c431a76bf39b0dff8b59a3f01205fba4aed2c7 109988 python3-ldap_3.1.0-2_amd64.deb
 f53c5e350d200a9798768f8032d9ce87cf295df4 26664 python3-pyldap_3.1.0-2_amd64.deb
Checksums-Sha256:
 20f0b824dbf841ca2ae88d796224ded55f723b6691a26d70bacb6defdf40fb8d 2472 
python-ldap_3.1.0-2.dsc
 fe9fd3931dc7ec38cc7899159bbd3cf88242f16f40f478246d502f86a0dc90ef 8080 
python-ldap_3.1.0-2.debian.tar.xz
 e50d7b12968599081b9558e1a6969018f316fbbca7675b3dce9fdd207a099ec9 163400 
python-ldap-dbg_3.1.0-2_amd64.deb
 b77aeeb66bdb36e7e9b5e1f05cd5e452689c7058ca4dcfab01ddb7ac9d6a4821 9856 
python-ldap_3.1.0-2_amd64.buildinfo
 9da3911ebca4726dd4fb0cd06f55c2dfa8d988b8a3314d1322ebb1d03a6ec83b 111804 
python-ldap_3.1.0-2_amd64.deb
 07c1faab089c4438d79ac01a7a5910d4102ee5b755a8aa5e9e668435a894eb40 26660 
python-pyldap_3.1.0-2_amd64.deb
 97068f10a16d72f2f61fa462b45403922147bf5eb74cc42c1c6ced5adddd01be 259500 
python3-ldap-dbg_3.1.0-2_amd64.deb
 db8dcfe07a72a29730f5130f8b131d0a23b800f14db9c3ab85d9a1e61a3d47a2 109988 
python3-ldap_3.1.0-2_amd64.deb
 1670416c36673ccd90f150cf882ec7eea181dc64ad374a82f707125492e0da22 26664 
python3-pyldap_3.1.0-2_amd64.deb
Files:
 64fc6c12733ede29c61ced5caebcfd9b 2472 python optional python-ldap_3.1.0-2.dsc
 c6332c48aa371021c74e758c0b470e62 8080 python optional 
python-ldap_3.1.0-2.debian.tar.xz
 73f30e8bc9c8a2bdf7ea76dabcb5e67c 163400 debug optional 
python-ldap-dbg_3.1.0-2_amd64.deb
 adbb236b1e37e8b01fd3aa5499e8c7d6 9856 python optional 
python-ldap_3.1.0-2_amd64.buildinfo
 f84f27b00595f54a755d62f6235650ef 111804 python optional 
python-ldap_3.1.0-2_amd64.deb
 f7740cf67c6bd007e3bbdaffbfa577df 26660 oldlibs optional 
python-pyldap_3.1.0-2_amd64.deb
 1988d6e51fd2437b7f218f7a5e97f360 259500 debug optional 
python3-ldap-dbg_3.1.0-2_amd64.deb
 a460bb5e5017405a6043d5601b432216 109988 python optional 
python3-ldap_3.1.0-2_amd64.deb
 2c25e646848e472ec4de565c3a91a45e 26664 oldlibs optional 
python3-pyldap_3.1.0-2_amd64.deb

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

iQIzBAEBCgAdFiEELIzSg9Pv30M4kOeDUmLn/0kQSf4FAltywwYACgkQUmLn/0kQ
Sf70Ag//fmekXpC10aQ1LSiRY+zYiznaUje8iIn4PsVIUBdxMraxG1PbnHZDHlFE
2F3VIEdyattnBflyORqw0+9FO6tydrHYoenJV50OeE7LPDI2SlLavtmciABLaiw3
xWOU8QXWrpTNVlcWKqtofO/907KnM1tacTPhIOwA58Q3Xl0leN86CI+sIisilO09
yo1POLwJhLhMZ//m83H0abE1iQwpyuPb9kteuk/IR8+9pp/kpDkItEeT88oxLbIg
TowWxxZoJej1XrVZQfyNYGN9qgeQLF3y+5upYQuFS3N+dEnwNn9nBy+wEdfpmu4K
k7aWaloKHz/jHxeYjcRQxFTIoQGj8J+33Lv8Y0c0wFthbKXvetvQ0peZReQ+0w2y
eLKCHsnTDTlBLFm427YMtEpeD2MNS48L/4Lcas1FFvj3ScB4hPt7LD/CBJ1/fO9o
0zYyD8OBMpSL7A6zi5y6quzqKpa8MaNEn9xJ26cEB/E/NZJ2cSs+aXrXjo8iVuc6
D9txGhSfVdBKrzRM0egg7OEAD5FVuZ2rbxAM8PWfgi6AuFdsVxSLNkBEWg0QCqpK
v0ZCE0hY/MmiVvWSkxm6tNm9l8qUBQBKMWd6ckHaQDlEryx8K02hxDJCQ76UuN/3
nrgygDFbBmgFNoDwSg824eLkiRhtsf0GpL9YPWghGUf3wZgMCuo=
=SACU
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to