Your message dated Sun, 29 Nov 2015 17:20:49 +0000
with message-id <e1a35eb-0002i8...@franck.debian.org>
and subject line Bug#788446: fixed in python-dmidecode 3.12.2-2
has caused the Debian Bug report #788446,
regarding python-dmidecode-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.)


-- 
788446: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788446
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python-dmidecode-dbg
Version: 3.12.1-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:

  sid -> experimental

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.mainstscript.
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...):

0m45.5s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/python-dmidecode-dbg/AUTHORS (python-dmidecode-dbg) != 
/usr/share/doc/python-dmidecode/AUTHORS (python-dmidecode)
    /usr/share/doc/python-dmidecode-dbg -> python-dmidecode
  /usr/share/doc/python-dmidecode-dbg/AUTHORS.upstream (python-dmidecode-dbg) 
!= /usr/share/doc/python-dmidecode/AUTHORS.upstream (python-dmidecode)
    /usr/share/doc/python-dmidecode-dbg -> python-dmidecode
  /usr/share/doc/python-dmidecode-dbg/README (python-dmidecode-dbg) != 
/usr/share/doc/python-dmidecode/README (python-dmidecode)
    /usr/share/doc/python-dmidecode-dbg -> python-dmidecode
  /usr/share/doc/python-dmidecode-dbg/README.types (python-dmidecode-dbg) != 
/usr/share/doc/python-dmidecode/README.types (python-dmidecode)
    /usr/share/doc/python-dmidecode-dbg -> python-dmidecode
  /usr/share/doc/python-dmidecode-dbg/README.upstream.gz (python-dmidecode-dbg) 
!= /usr/share/doc/python-dmidecode/README.upstream.gz (python-dmidecode)
    /usr/share/doc/python-dmidecode-dbg -> python-dmidecode
  /usr/share/doc/python-dmidecode-dbg/changelog.Debian.gz 
(python-dmidecode-dbg) != /usr/share/doc/python-dmidecode/changelog.Debian.gz 
(python-dmidecode)
    /usr/share/doc/python-dmidecode-dbg -> python-dmidecode
  /usr/share/doc/python-dmidecode-dbg/changelog.gz (python-dmidecode-dbg) != 
/usr/share/doc/python-dmidecode/changelog.gz (python-dmidecode)
    /usr/share/doc/python-dmidecode-dbg -> python-dmidecode
  /usr/share/doc/python-dmidecode-dbg/copyright (python-dmidecode-dbg) != 
/usr/share/doc/python-dmidecode/copyright (python-dmidecode)
    /usr/share/doc/python-dmidecode-dbg -> python-dmidecode

cheers,

Andreas

--- End Message ---
--- Begin Message ---
Source: python-dmidecode
Source-Version: 3.12.2-2

We believe that the bug you reported is fixed in the latest version of
python-dmidecode, 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 788...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sandro Tosi <mo...@debian.org> (supplier of updated python-dmidecode 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: SHA256

Format: 1.8
Date: Sun, 29 Nov 2015 16:45:27 +0000
Source: python-dmidecode
Binary: python-dmidecode python-dmidecode-dbg
Architecture: source amd64
Version: 3.12.2-2
Distribution: unstable
Urgency: medium
Maintainer: Sandro Tosi <mo...@debian.org>
Changed-By: Sandro Tosi <mo...@debian.org>
Description:
 python-dmidecode - Python extension module for dmidecode
 python-dmidecode-dbg - Python extension module for dmidecode (debug)
Closes: 788446
Changes:
 python-dmidecode (3.12.2-2) unstable; urgency=medium
 .
   * debian/{python-dmidecode-dbg.docs, rules}
     - restore -dbg symlink to main pkg doc dir, lost during conversion to dh;
       Closes: #788446
Checksums-Sha1:
 d03f11322ea3363bb334403393a56e73a0d5fc89 2196 python-dmidecode_3.12.2-2.dsc
 723ddf9a179cc4a2c9757bf6690656f63ede0687 22488 
python-dmidecode_3.12.2-2.debian.tar.xz
 3e2d9e277e615bf40bf32346bf92c9554b833309 58530 
python-dmidecode-dbg_3.12.2-2_amd64.deb
 202dc7afe489fca6af0e7f2168d7848afa05a2bd 78728 
python-dmidecode_3.12.2-2_amd64.deb
Checksums-Sha256:
 9b42f870f5f44a09900f1f08784a5302c3ca8e6309eda79607152511b40bf522 2196 
python-dmidecode_3.12.2-2.dsc
 0f089f7a0e3dc37534c6a3b853e6a7ffa26997f66fe0bf81cc59cf05cc4412ef 22488 
python-dmidecode_3.12.2-2.debian.tar.xz
 db65ea6262e8d0727f9ad1bb83dbbb1d8a8fac782ce72ebced70637be784a2a0 58530 
python-dmidecode-dbg_3.12.2-2_amd64.deb
 1e9cd084d9c4d394bc58e0e75006254a15cb710c431d0ccfb3caee1ba157971d 78728 
python-dmidecode_3.12.2-2_amd64.deb
Files:
 3b54eb11bc9c6d2f2a25de16ff28fff5 2196 python optional 
python-dmidecode_3.12.2-2.dsc
 9854cedf659d911ab26e076356838311 22488 python optional 
python-dmidecode_3.12.2-2.debian.tar.xz
 84af9702f82f1309bfd5137461db19bb 58530 debug extra 
python-dmidecode-dbg_3.12.2-2_amd64.deb
 d394eb28e776b54792f8be11da09e546 78728 python optional 
python-dmidecode_3.12.2-2_amd64.deb

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

iQIcBAEBCAAGBQJWWy0fAAoJEIefPJk4AalPHqsP/3rHL9uNpj0LXAur6Ok/37GW
NPlZAYnUlDIfYtMf+wVqFV+28Uy3xJ69j7uT/dxf3ty4DGy+nLUjkXMOovh/UvuI
J1g15p1EpS2mrhzy9COX12zq+ET/X/4tPNzymw5JnfQ3S8UJ2E7TqyL8xkMSyUo6
+Nk6r9rMH+GCQs5zrj4kEMy8qpkKWByo3rKsEQz5Db+JB+LJMxqdv/+3jy2u3lqe
7kBurbUQF70bUuvvkmsuacG9FXs0NuiuLWxubMdz10yL0aEQqswOqY0A9c9IsrGP
z9UtAuQo65ysROv1VS7PgolwJFCfJTbKiYFGn5dTLOnqSl+lKkoMUSgrBGk8t/w8
wSAmz+TFVbD3x+TFQaLbZ9KRsK64WJOdRsVfphmnz5wdXn7UA++FSzxdU69B8EYh
bwmk2ZfLzgxBGhUIoJtXGCGF6zg2w1ta6cNFP7NPzw2TXiPdKhny6m7Tg82GFBI8
UxZjr77xWxsKpSIShBHxZkqVnSEJepSrG4GcKWMcexZt6Gsj8mWb95FqnlgAWKrV
h9f94BQLfPMz58woofn/w0NPGTj6t6oDQzpXeh7sHM4OJYaeJiIyMN0oUpWkdnra
9cBHoPdSAkpsyAc79O2ABSAhpqZDoM6wdIMRgGZ4tK84Cb84bBm1jUW0q96CzViu
DetAHOIBx09lSLQAeQy4
=RVUh
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to