Your message dated Fri, 08 Mar 2019 00:34:43 +0000
with message-id <e1h23th-0003ps...@fasolo.debian.org>
and subject line Bug#919442: fixed in python-dmidecode 3.12.2-8
has caused the Debian Bug report #919442,
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.)


-- 
919442: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919442
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python-dmidecode-dbg
Version: 3.12.2-6
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/ch-docs.html#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/ch-maintainerscripts.html#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.
See dpkg-maintscript-helper(1) and dh_installdeb(1) for details.


>From the attached log (scroll to the bottom...):

0m37.0s 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

Attachment: python-dmidecode-dbg_3.12.2-6.log.gz
Description: application/gzip


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

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 919...@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: Thu, 07 Mar 2019 17:51:40 -0500
Source: python-dmidecode
Binary: python-dmidecode python-dmidecode-data python-dmidecode-dbg 
python3-dmidecode python3-dmidecode-dbg
Architecture: source all amd64
Version: 3.12.2-8
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-data - Python extension module for dmidecode (debug) - Data
 python-dmidecode-dbg - Python extension module for dmidecode (debug)
 python3-dmidecode - Python extension module for dmidecode - Python 3
 python3-dmidecode-dbg - Python extension module for dmidecode (debug) - Python 
3
Closes: 919442
Changes:
 python-dmidecode (3.12.2-8) unstable; urgency=medium
 .
   * debian/rules
     - remove doc/ directories, to actually use dir_to_symlink; Closes: #919442
   * debian/*.maintscript
     - use prior-of tag at the end of the command-line
Checksums-Sha1:
 34b50614e13910525cd37217812aa85a35bb7df6 2461 python-dmidecode_3.12.2-8.dsc
 1c74014db171d5785a2c0d07685098ab60b3ec1f 7088 
python-dmidecode_3.12.2-8.debian.tar.xz
 5fc454a4177788bc29e4136c17e718e4bb357975 22812 
python-dmidecode-data_3.12.2-8_all.deb
 e0e687fb0aeea5469e681059539ca031d28e6d77 251448 
python-dmidecode-dbg_3.12.2-8_amd64.deb
 80f538114a3546c92dc3b6ac5d6b238bb482e6cd 9625 
python-dmidecode_3.12.2-8_amd64.buildinfo
 17cc19dd1d6ee19c8b55b74c78fdb920289d1956 75380 
python-dmidecode_3.12.2-8_amd64.deb
 f4dc6be3218f3465d810a0d3213a599f3ff42bc7 306468 
python3-dmidecode-dbg_3.12.2-8_amd64.deb
 8d66d004c56822f2c0c7b1e3c376ca1bb95cee42 75104 
python3-dmidecode_3.12.2-8_amd64.deb
Checksums-Sha256:
 2a02eac647ef576fc0da57dbfc55c67c2f0c92a2a1f91201d0dc3d0a6956e991 2461 
python-dmidecode_3.12.2-8.dsc
 7b9c8cca14f06d73b15ff4fbab281aeb3b8b7b2d38bb7a77eb34c8d063257645 7088 
python-dmidecode_3.12.2-8.debian.tar.xz
 310a4437b8f049436acafdc564476295db2404b5af9781eb885f62fa352747e2 22812 
python-dmidecode-data_3.12.2-8_all.deb
 860354f2bc90b6a3699a970a3824cef91bac83fadb02db4ca17bba5b789f5ab5 251448 
python-dmidecode-dbg_3.12.2-8_amd64.deb
 e0f1f8df7ae77c08726469b71cc4e32680d99d37321b2b0104a5f7114fa1d4f6 9625 
python-dmidecode_3.12.2-8_amd64.buildinfo
 eea9b51dffbd58f82afc07664a9de43d98a11d9ac3386753693040ca9b730582 75380 
python-dmidecode_3.12.2-8_amd64.deb
 de8d54ed7163d769d4ff0ce56a840b6ee4e93e8aa134b383ceb1f8ff172d80b3 306468 
python3-dmidecode-dbg_3.12.2-8_amd64.deb
 4df7238dd22fe7bcd7fa836d08536a97c9f39acb5f250affd35e93ce5689b1ae 75104 
python3-dmidecode_3.12.2-8_amd64.deb
Files:
 567fd5324a2eff6738ddda2848a8f8b2 2461 python optional 
python-dmidecode_3.12.2-8.dsc
 a428dbbbfc7e7b302778f5772a9d4efe 7088 python optional 
python-dmidecode_3.12.2-8.debian.tar.xz
 97289c102594524f309cfaffef296867 22812 python optional 
python-dmidecode-data_3.12.2-8_all.deb
 feffe4eb86af2fb7c8013a5cd98c0fd0 251448 debug optional 
python-dmidecode-dbg_3.12.2-8_amd64.deb
 0b1b74ccd2fa6879d20b191656c5153a 9625 python optional 
python-dmidecode_3.12.2-8_amd64.buildinfo
 fb273e243ef9c630aa613551f3520180 75380 python optional 
python-dmidecode_3.12.2-8_amd64.deb
 cbde3b2ca1c22426d345ed26705ef304 306468 debug optional 
python3-dmidecode-dbg_3.12.2-8_amd64.deb
 53f51b4db59338c0cfda2a2415f6d072 75104 python optional 
python3-dmidecode_3.12.2-8_amd64.deb

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

iQIzBAEBCAAdFiEEufrTGSrz5KUwnZ05h588mTgBqU8FAlyBtMUACgkQh588mTgB
qU8s0Q//RzvHxZ4781hcMAaBfOO1mp6ISWjx5ppoxeB8CHnYNwIsADsrqVXuImco
t8Nhl6PnBvvbcnme6eRb2Nuq9H2NQxLi70l4EIY4xkDd2Rzkoa+5iXu2W+T8IIZY
auBBhHvmx0KWxKaWrgXFTyGE7iDnpPQHyBNF8KefKvZk7FlNpeCenu3NEvwR9aFf
ow4z0J7aHbjidR8Rw75cGv3rIrX/Zlx8OlHLfl+JdLoIEeJIbwzm9P6wY4JQl0qD
0xq6/Hz3IB4+vwdR1ERzmaFuYLTyk4Cu7S/BeYoZOVI8vG/gwurh0rDzFG+314sH
C3Vg1rFiYrWuhjmv5fTlTMlQRo3U4WZBX1BBTg6lHmQLmo6wm+2Mc/HeHKCLvomL
rGNKMkoR5mDahGJBzODB1A2QKusg+yj6u32TB7dty6Topn26WBfRK8qZi5/iR0gn
EUQjYr4J42MtoMH8/p5VxMTR6ibWfqOduAKmy7ACWwtwsd6VpQQ4HsPwMLP/9XN8
svttEdAETScnYVjoP7zDiG90s+4nqKPDTw4xHSl9ZNZOPXXMSz8kZ9kFr1HahCgZ
2AY3bLiKlHEr3TCpKfqSsqZl6VJeRxLVxTWil4zTCHwEHSb10b1vovzJHB451d4y
k6B0gimRtEgUrDEhwpOtpeZOPG7UtDUqNje+ujvvwyFM4E9Tz2Q=
=209f
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to