Your message dated Sun, 17 Feb 2013 15:47:46 +0000
with message-id <[email protected]>
and subject line Bug#700778: fixed in python-crypto 2.6-4
has caused the Debian Bug report #700778,
regarding python-crypto-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 [email protected]
immediately.)
--
700778: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=700778
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-crypto-dbg
Version: 2.6-3
Severity: serious
User: [email protected]
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:
squeeze -> wheezy
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:
http://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
http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-unpackphase
For switching from a symlink to a directory, the *preinst* script
should do something like this:
DOCDIR=/usr/share/doc/@@PACKAGE@@
if [ -L $DOCDIR ] ; then
rm $DOCDIR
fi
>From the attached log (usually somewhere in the middle...):
0m59.9s ERROR: FAIL: silently overwrites files via directory symlinks:
/usr/share/doc/python-crypto-dbg/changelog.Debian.gz (python-crypto-dbg) !=
/usr/share/doc/python-crypto/changelog.Debian.gz (python-crypto)
/usr/share/doc/python-crypto-dbg/changelog.gz (python-crypto-dbg) !=
/usr/share/doc/python-crypto/changelog.gz (python-crypto)
/usr/share/doc/python-crypto-dbg/copyright (python-crypto-dbg) !=
/usr/share/doc/python-crypto/copyright (python-crypto)
cheers,
Andreas
python-crypto-dbg_2.6-3.log.gz
Description: GNU Zip compressed data
--- End Message ---
--- Begin Message ---
Source: python-crypto
Source-Version: 2.6-4
We believe that the bug you reported is fixed in the latest version of
python-crypto, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sebastian Ramacher <[email protected]> (supplier of updated python-crypto
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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 17 Feb 2013 16:24:21 +0100
Source: python-crypto
Binary: python-crypto python-crypto-dbg python3-crypto python3-crypto-dbg
python-crypto-doc
Architecture: source amd64 all
Version: 2.6-4
Distribution: unstable
Urgency: low
Maintainer: Sebastian Ramacher <[email protected]>
Changed-By: Sebastian Ramacher <[email protected]>
Description:
python-crypto - cryptographic algorithms and protocols for Python
python-crypto-dbg - cryptographic algorithms and protocols for Python (debug
extensio
python-crypto-doc - cryptographic algorithms and protocols for Python
(documentation)
python3-crypto - cryptographic algorithms and protocols for Python 3
python3-crypto-dbg - cryptographic algorithms and protocols for Python 3
(debug extens
Closes: 700778
Changes:
python-crypto (2.6-4) unstable; urgency=low
.
* debian/python-crypto-dbg.preinst: Add preinst script to handle symlink to
directory conversion for /usr/share/doc/python-crypto-dbg. Thanks to
Andreas Beckmann for the report. (Closes: #700778)
Checksums-Sha1:
860e852b3d8dd1ce7b3da4ecc4767bd6da6de312 2374 python-crypto_2.6-4.dsc
c27eefdb11345726edfa62a99f348f96a1d449ce 13153
python-crypto_2.6-4.debian.tar.gz
207d774c2d9b5f4a8fc026a6a8742e85dcbfd23d 524254 python-crypto_2.6-4_amd64.deb
69c7bf7a04596180531d97fd554aacaff4a72135 1371242
python-crypto-dbg_2.6-4_amd64.deb
6d8b5e2135414c163965b0a5604cd65a45f34597 378674 python3-crypto_2.6-4_amd64.deb
da97cf3ae2f325fa71fe50f5c96a951a20c92df8 701080
python3-crypto-dbg_2.6-4_amd64.deb
b7ed2931e5e357efb06822a0cad267dcf001fd33 120596 python-crypto-doc_2.6-4_all.deb
Checksums-Sha256:
ea64726429976c004eca5c5792770bff7e045be0b9caf88a172b4729c4029421 2374
python-crypto_2.6-4.dsc
c7450962e0fc31b408bc2330ce9f38deb1824854ea6448406c83d8d017f9ddb5 13153
python-crypto_2.6-4.debian.tar.gz
59f3d26708be0b7af4e4d4dcde776a669abd94b8a4d1a1893c5522298aeaab7c 524254
python-crypto_2.6-4_amd64.deb
7e870c797f3ca3cc0b4527029f9abb72cbc0fbfcda778cafbed989b53c10a592 1371242
python-crypto-dbg_2.6-4_amd64.deb
662def5d570ba12462edd920b242760c5d60a3381f71bae3b1cceb92aa11745a 378674
python3-crypto_2.6-4_amd64.deb
222f5d00749c572d0ccba7cd7ded22730f645502962904cca0059d167055dabe 701080
python3-crypto-dbg_2.6-4_amd64.deb
93b9890f3b62357565b62073c105a467d1beed2a1744f86fda13e6fe2bb5518e 120596
python-crypto-doc_2.6-4_all.deb
Files:
95a570c5765f727150824b0012af6a5e 2374 python optional python-crypto_2.6-4.dsc
dcab08a061beb63a858cf31e5ac40f39 13153 python optional
python-crypto_2.6-4.debian.tar.gz
4887d04662f8d284f96baf661c2b0a8f 524254 python optional
python-crypto_2.6-4_amd64.deb
f668dbe799713042c7323e58abbbe9af 1371242 debug extra
python-crypto-dbg_2.6-4_amd64.deb
5978002cc704d625b5c6aa4b0f9bb465 378674 python optional
python3-crypto_2.6-4_amd64.deb
d9f5cf9bb423c2e5bb559eb9d7d25765 701080 debug extra
python3-crypto-dbg_2.6-4_amd64.deb
f5c3b751345d5b03e4f7cd829a2bbc1f 120596 doc optional
python-crypto-doc_2.6-4_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCAAGBQJRIPkbAAoJEGny/FFupxmTL5cQALfRsIO9hne/D9MjtzTueL4y
i9r5aawCP6ETCuqTINrnCc5Q3iAbzuEnUjPQmC5L26yZLqEt5AXKMFHosnBYuqDF
xwEmOy76P1JNiDfL+Wf4f0/SBOMhG+5sUVZNAuKoGcHz9CGSsnxk8rh78YbSAyFQ
p/ColP/JWBzLY1R53l6Q5v6iV5cF8y5xX3RckpMhWpNDQ4Zt8wUK0a3gQEOhuE27
g1TMVLmFgOgbdbtWv+Z1FhvuJTPVMfQI/7lI+9a+7ewuh+YyLqvzl3jMp4EIQ7mC
9OBfR1hDRTfo/qjeKYUrDLmpeRze/bEW/hVuNz7Vy/BYByaod5YXV1IIC3Au913E
CRoB4jJ9SM+EomhyM+pUFQpEOR6OewZnbtrXEvKqsTTMwIOC/v+xDQlgUND90HIZ
fMSgapU1pd70EEN6gr5VSnRq6lMm/wTcrKcQcQx6a2QM1T08gzxmwvLFVs40X2a3
XHm6ODa4HdVt/n+lAnC60xUrr/Y+f35dHd7kgScj/hG8NhuUGsPZlwMwVZQRNVFj
rI4yewaC2sHjmwGKCVwnCJaxQ8e/DGAaRM6Fpipo2xIHU7f1H7Um2aj1bWbQC0LQ
djPehYA0JbbmfSE5C26cUrhEfCNsrqtH6C/CQtIs0kfKvWM515Yt1rus+PaaK6Qi
ckITEHmWQW4jgTXw3pEG
=+/6i
-----END PGP SIGNATURE-----
--- End Message ---