Your message dated Wed, 21 Oct 2015 12:34:21 +0000
with message-id <e1zosaz-0002th...@franck.debian.org>
and subject line Bug#775254: fixed in python-mysqldb 1.3.4-2.1
has caused the Debian Bug report #775254,
regarding python-mysqldb-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.)


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

2m59.1s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/python-mysqldb-dbg/changelog.Debian.gz (python-mysqldb-dbg) != 
/usr/share/doc/python-mysqldb/changelog.Debian.gz (python-mysqldb)
    /usr/share/doc/python-mysqldb-dbg -> python-mysqldb
  /usr/share/doc/python-mysqldb-dbg/copyright (python-mysqldb-dbg) != 
/usr/share/doc/python-mysqldb/copyright (python-mysqldb)
    /usr/share/doc/python-mysqldb-dbg -> python-mysqldb


cheers,

Andreas

Attachment: python-mysqldb-dbg_1.3.4-1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: python-mysqldb
Source-Version: 1.3.4-2.1

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

Debian distribution maintenance software
pp.
Andreas Tille <ti...@debian.org> (supplier of updated python-mysqldb 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: Wed, 21 Oct 2015 13:17:56 +0200
Source: python-mysqldb
Binary: python-mysqldb python-mysqldb-dbg python3-mysqldb python3-mysqldb-dbg
Architecture: source amd64
Version: 1.3.4-2.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 
<python-modules-t...@lists.alioth.debian.org>
Changed-By: Andreas Tille <ti...@debian.org>
Description:
 python-mysqldb - Python interface to MySQL
 python-mysqldb-dbg - Python interface to MySQL (debug extension)
 python3-mysqldb - Python interface to MySQL
 python3-mysqldb-dbg - Python interface to MySQL (debug extension)
Closes: 775254
Changes:
 python-mysqldb (1.3.4-2.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * handle symlink to directory conversion
     Closes: #775254
Checksums-Sha1:
 f6dbd90a71453a0719882747b35ec450f4f1fd5e 2453 python-mysqldb_1.3.4-2.1.dsc
 e85b8df27d4a22cb5ee88a80a90fb1c2d6d8828f 9380 
python-mysqldb_1.3.4-2.1.debian.tar.xz
 d9f29a96804e8164bb7f153210642a53d9d4ba96 31950 
python-mysqldb-dbg_1.3.4-2.1_amd64.deb
 18bbf50230760ed8f4475cff247efda1799d494e 50414 
python-mysqldb_1.3.4-2.1_amd64.deb
 a42c5d9dadf9fa17507b61ad9a29c558e065f6da 32298 
python3-mysqldb-dbg_1.3.4-2.1_amd64.deb
 eb21ced406bc26f9a053956cfec626a45a8cd7bd 47668 
python3-mysqldb_1.3.4-2.1_amd64.deb
Checksums-Sha256:
 c6259c3bb756be5555ffb6d43fb3dfaf89b3abd75aabad8bd4a8f783653865b9 2453 
python-mysqldb_1.3.4-2.1.dsc
 535cf782bd4c20b853d60b2c340bf939bda2df74c66f30c8838f6a03d26ead68 9380 
python-mysqldb_1.3.4-2.1.debian.tar.xz
 bb566ce837b887d5de9b53569686cb257fd04ec46666eab2f68346a21b20c9ef 31950 
python-mysqldb-dbg_1.3.4-2.1_amd64.deb
 a6c857353d93c67fd13f708202c910f7d52e568a619709da95c3e077858cf1aa 50414 
python-mysqldb_1.3.4-2.1_amd64.deb
 ec7d54f670ca4b505ae7bfc7dae7557c8ecfdceb61b8036c3d34832005c21c80 32298 
python3-mysqldb-dbg_1.3.4-2.1_amd64.deb
 f32399cac328228b36cc44a92f371a549428018e63f83acf02014f977a38dfff 47668 
python3-mysqldb_1.3.4-2.1_amd64.deb
Files:
 b153101f7c95a3b5b5b916ebeefc5dbc 2453 python optional 
python-mysqldb_1.3.4-2.1.dsc
 318041b6b15247806cf141400dd9475d 9380 python optional 
python-mysqldb_1.3.4-2.1.debian.tar.xz
 b8dee3f1293e56fec929ac93fd83140d 31950 debug extra 
python-mysqldb-dbg_1.3.4-2.1_amd64.deb
 844c94a84b0ae9fcc4a3add6e98ce041 50414 python optional 
python-mysqldb_1.3.4-2.1_amd64.deb
 4765391459fbf35c3aad7ecd67f80514 32298 debug extra 
python3-mysqldb-dbg_1.3.4-2.1_amd64.deb
 e8e87305d19c82d442d0f272e87ca845 47668 python optional 
python3-mysqldb_1.3.4-2.1_amd64.deb

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

iQIcBAEBCAAGBQJWJ3nZAAoJEFeKBJTRxkbRj6IP/1qa4YX7EYkpmNyf5CXhlUAH
gzAu9FpPqyEECVi2bocD/CpDqIQF112M7MJakP+Rqwc4t7kGsJqatK6LyewCPH1Z
m+37EHsga4DaV4WY6v3rQ3Afws8+JoKsLZaYtxHtiKqSReNdCT+0yMO4yKiaHmjg
21PByuc6xvQGK7Qo9YWjjXGXh3T12+/XsQQSfi8C3SoVrfPuT/zBUZ/Kf8mzLVV/
asosQ6sD4hNSFF2Zpt92c88pdk1ZK87d9mNs9biScoqG89iBn4MDHQjxubeVbV2Z
RiG2U9w6CG29jiAoJaUw3Ec1SoeXM9kOl1S5mu7KGCXo/hgs5Vkaz8/7egoyKpf2
CaaMdaYr+U14rLrLLjnimI8YZ+BRVw1odQ3P9Em3xee7FJEW+L6kF4tGR1ka8jb8
PiKg+HOGhj3Urx4v8jFAPhKoHub83CwMy+VZ3RkNPgG10Mgq4SvQ1P56nzy+xvjn
M2aJWyLJM9VvJwgHGRndwSX95sL5Pa3D1WDGL/jnDr1ZVQDmJ74IuZvDkckfXfUj
O6kurE2zsDMRn1NPxB9r2cr0jXFmjmCfu35Bfu7+Zvz5e2JuBUlZnX1oCROx8Lq/
FAksWnFIZwRW6TgUCF/q2PjZpL21pw9Z+M8I1SvWyQmmWDeC5cFgOxK6V+tor2Zw
hRDMhdWUtqO4zinl/ncS
=zfrh
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to