Your message dated Sun, 11 Feb 2018 01:39:12 +0000
with message-id <e1ekgbo-000a9s...@fasolo.debian.org>
and subject line Bug#886944: fixed in python-regex 0.1.20171212-2
has caused the Debian Bug report #886944,
regarding python3-regex: 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.)


-- 
886944: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=886944
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python3-regex
Version: 0.1.20171212-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.9s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/python3-regex/Features.html (python3-regex) != 
/usr/share/doc/python-regex/Features.html (python-regex)
    /usr/share/doc/python3-regex -> python-regex
  /usr/share/doc/python3-regex/Features.rst.gz (python3-regex) != 
/usr/share/doc/python-regex/Features.rst.gz (python-regex)
    /usr/share/doc/python3-regex -> python-regex
  /usr/share/doc/python3-regex/README (python3-regex) != 
/usr/share/doc/python-regex/README (python-regex)
    /usr/share/doc/python3-regex -> python-regex
  /usr/share/doc/python3-regex/UnicodeProperties.txt.gz (python3-regex) != 
/usr/share/doc/python-regex/UnicodeProperties.txt.gz (python-regex)
    /usr/share/doc/python3-regex -> python-regex
  /usr/share/doc/python3-regex/changelog.Debian.gz (python3-regex) != 
/usr/share/doc/python-regex/changelog.Debian.gz (python-regex)
    /usr/share/doc/python3-regex -> python-regex
  /usr/share/doc/python3-regex/copyright (python3-regex) != 
/usr/share/doc/python-regex/copyright (python-regex)
    /usr/share/doc/python3-regex -> python-regex


cheers,

Andreas

Attachment: python3-regex_0.1.20171212-1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: python-regex
Source-Version: 0.1.20171212-2

We believe that the bug you reported is fixed in the latest version of
python-regex, 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 886...@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-regex 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: Sat, 10 Feb 2018 20:09:47 -0500
Source: python-regex
Binary: python-regex python-regex-dbg python3-regex python3-regex-dbg
Architecture: source amd64
Version: 0.1.20171212-2
Distribution: unstable
Urgency: medium
Maintainer: Sandro Tosi <mo...@debian.org>
Changed-By: Sandro Tosi <mo...@debian.org>
Description:
 python-regex - alternative regular expression module
 python-regex-dbg - alternative regular expression module (debug extension)
 python3-regex - alternative regular expression module (Python 3)
 python3-regex-dbg - alternative regular expression module (Python 3 debug 
extension)
Closes: 886944
Changes:
 python-regex (0.1.20171212-2) unstable; urgency=medium
 .
   * Correct errors in maintscripts to transition from a symlink to a dir for
     packages documenation dirs; patch by Nicholas D Steeves; Closes: #886944
   * debian/control
     - bump Standards-Version to 4.1.3 (no changes needed)
Checksums-Sha1:
 69ce66686a11365c16b2d686f3d37122e3ae2307 2377 python-regex_0.1.20171212-2.dsc
 16782b20071e84475fbc41bdda5ae9fb7cabbbf4 4920 
python-regex_0.1.20171212-2.debian.tar.xz
 911ca42fa485c81e172bd9188bb5db4dbb41a52d 592424 
python-regex-dbg_0.1.20171212-2_amd64.deb
 8e1f4480c13888c4a4443e953fa8dfc4eb7af1aa 9118 
python-regex_0.1.20171212-2_amd64.buildinfo
 a767f0c97358d120359c9567d8ba4014e527ee87 232828 
python-regex_0.1.20171212-2_amd64.deb
 cb43ae9c22c26b85abfb6190799a65b67cd5fcf3 696924 
python3-regex-dbg_0.1.20171212-2_amd64.deb
 982bfba3b3fb1571c208c7b030d3a2ecf680564d 242524 
python3-regex_0.1.20171212-2_amd64.deb
Checksums-Sha256:
 422919138a79c525e728240e7997f0da9535e3a27de9d44ef34af94e5664c2ca 2377 
python-regex_0.1.20171212-2.dsc
 1ef8fc51ac8ca33c2efbf86c2ca25ea8da3d51b45e976f9e8f02d08a5079f339 4920 
python-regex_0.1.20171212-2.debian.tar.xz
 9fad4de1dd6f1082c60b076f20c4fcd3dcdeabd4650ea4eb97aac66f14adcfe9 592424 
python-regex-dbg_0.1.20171212-2_amd64.deb
 c0323c97ae8c9f38238d123c6baf896d650ce69db7ec508fe088c9be610d0654 9118 
python-regex_0.1.20171212-2_amd64.buildinfo
 361da3828fab4e0f57538ec6b7f6d6c6114e975793039e632494c7efa357d3db 232828 
python-regex_0.1.20171212-2_amd64.deb
 caafe8c9fb16c39fdf1172f91661fa38ab31f5bf6038a5a8fb2d67c7446ac993 696924 
python3-regex-dbg_0.1.20171212-2_amd64.deb
 7c3ea6f5a1fe768182d14603ea14c2bb4d269d1a803fe5ac7e96d60109e87822 242524 
python3-regex_0.1.20171212-2_amd64.deb
Files:
 f2cbb6611e62934ec5771bc6f181375e 2377 python optional 
python-regex_0.1.20171212-2.dsc
 03ec8f6a7b8781d8e95cadfc98918bee 4920 python optional 
python-regex_0.1.20171212-2.debian.tar.xz
 1dc83240707d745916c8da6c96a8025e 592424 debug optional 
python-regex-dbg_0.1.20171212-2_amd64.deb
 8e1658948c64f88bd5bf540c4f2a9182 9118 python optional 
python-regex_0.1.20171212-2_amd64.buildinfo
 fb98eb713a85af7381fb54d5d66edc7e 232828 python optional 
python-regex_0.1.20171212-2_amd64.deb
 1118b3e8c1f483b2635857fbec9defe9 696924 debug optional 
python3-regex-dbg_0.1.20171212-2_amd64.deb
 da39021e57f965b27847e3ad806293af 242524 python optional 
python3-regex_0.1.20171212-2_amd64.deb

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

iQIzBAEBCAAdFiEEufrTGSrz5KUwnZ05h588mTgBqU8FAlp/mZEACgkQh588mTgB
qU/GIQ//XyNmNOc+p6VybJ4sP/onOgfIzmeLiQSUv+lHqNQyiX+M3XtoMqNUoxdh
I111bXI5mUATEjDX9ZIziVtysZOX9gh7ckKaqp506W9jBRclsYWeGtOzPCYTTL1y
B8EY7eJIDXlvjQm4XpRhITUHDDZ0y9URoWsrKRcYt16uk6DPePF16QFRJsqnDqR6
7n2oJ2kWcD5X9sudeoVBz+0VT/DvlWFumuRArQi5LGQdYAqNAI9y3FBleOC+LmLK
fNRZGFLZNNd1bQLdUY84BQcvqcTnDiOWBbTpa8AC/qr/zI0NFdBR8GT1CYKQFRfl
rgbnngE5OqERP5xIW/bnhwynhA6029pQyZDaODeVeR2Pch9tsyzQL/B5zbZqnvJb
AwD0D9fgAl1A9IE0B7rhNuxzAf0EXyUZTGWqHsY3VUppGx9wATnlJgPGr3LTf9R2
f2xF47OfvXtG9GykiJUaxN7Kdgu4M/dgep6LHdRdg6cdDzC0e0sx24jxv3OiUWwY
l5/O7gUGIxTY2vn60kqwhcdAylUqMbyZGIpkB0RJwOb+p6V6VWNyMoWqX1TMk427
pFIzYsyg2hIXyw8dweeXuSigF+ij6W+3IBjVAfyesjeoX6i7bVaIIDNjx/KAL/iJ
Qj1CsJRoaYam8XZtfVQ6ztO2+uebGqO51DN6zJUoi8Rz2M5R6vQ=
=LE3R
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to