Your message dated Tue, 26 Feb 2013 19:47:35 +0000
with message-id <e1uaqux-0002cq...@franck.debian.org>
and subject line Bug#700781: fixed in newt 0.52.14-11.1
has caused the Debian Bug report #700781,
regarding python-newt-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.)


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

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

0m57.3s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/python-newt-dbg/changelog.Debian.gz (python-newt-dbg) != 
/usr/share/doc/python-newt/changelog.Debian.gz (python-newt)
  /usr/share/doc/python-newt-dbg/changelog.gz (python-newt-dbg) != 
/usr/share/doc/python-newt/changelog.gz (python-newt)
  /usr/share/doc/python-newt-dbg/copyright (python-newt-dbg) != 
/usr/share/doc/python-newt/copyright (python-newt)


cheers,

Andreas

Attachment: python-newt-dbg_0.52.14-10.log.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message ---
Source: newt
Source-Version: 0.52.14-11.1

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

Debian distribution maintenance software
pp.
Sebastian Ramacher <sramac...@debian.org> (supplier of updated newt 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...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 25 Feb 2013 19:58:40 +0100
Source: newt
Binary: libnewt-dev libnewt-pic newt-tcl python-newt python-newt-dbg 
libnewt0.52 whiptail
Architecture: source amd64
Version: 0.52.14-11.1
Distribution: unstable
Urgency: low
Maintainer: Alastair McKinstry <mckins...@debian.org>
Changed-By: Sebastian Ramacher <sramac...@debian.org>
Description: 
 libnewt-dev - Developer's toolkit for newt windowing library
 libnewt-pic - Not Erik's Windowing Toolkit, shared library subset kit
 libnewt0.52 - Not Erik's Windowing Toolkit - text mode windowing with slang
 newt-tcl   - NEWT module for Tcl
 python-newt - NEWT module for Python
 python-newt-dbg - NEWT module for Python (debug extension)
 whiptail   - Displays user-friendly dialog boxes from shell scripts
Closes: 700781
Changes: 
 newt (0.52.14-11.1) unstable; urgency=low
 .
   * Non-maintainer upload.
   * python-newt-dbg.preinst: Handle symlink to directory conversion. (Closes:
     #700781)
Checksums-Sha1: 
 3c9ce846180ae60f791dc84384c549fc56466d10 2203 newt_0.52.14-11.1.dsc
 e13930935e06cd065a47cabbcc38674400994c83 40514 newt_0.52.14-11.1.debian.tar.gz
 66f80da5dc26fe0af956ffd3f284d77921089963 98944 
libnewt-dev_0.52.14-11.1_amd64.deb
 f77c3983cdb8bb8c2af8fcc80830f7d33686a47c 19200 
libnewt-pic_0.52.14-11.1_amd64.deb
 e4748ae0e083193573408b5e5baa57e04785a8b1 28592 newt-tcl_0.52.14-11.1_amd64.deb
 66e0d40e773dcd06dd97ea100a23c552eb2fa982 129220 
python-newt_0.52.14-11.1_amd64.deb
 49d27077cf8e96096061263daeadf3ffc12b065d 44924 
python-newt-dbg_0.52.14-11.1_amd64.deb
 5c781c966958681b75cee993facc3034ffd24fbb 77542 
libnewt0.52_0.52.14-11.1_amd64.deb
 27090c4ff8ad150152fb89ad7441fbeaa14298b1 33988 whiptail_0.52.14-11.1_amd64.deb
Checksums-Sha256: 
 49aeeb56b682f995da61770ec182aaaadc6388d629890cc640e435075d436ffb 2203 
newt_0.52.14-11.1.dsc
 2f6b6a8fc57b9f32e199c804abff47ead5d2448acd58f859423142994b260092 40514 
newt_0.52.14-11.1.debian.tar.gz
 405969cd802283d73adbc10f11b06e732f77ef4e85db53131f0043efd003b34e 98944 
libnewt-dev_0.52.14-11.1_amd64.deb
 50f6067f90c73e67a8ce10cf10095c05a36ae5f7e22c61f90547200ce220095a 19200 
libnewt-pic_0.52.14-11.1_amd64.deb
 b2bbad2f35d01b8f788f64da95c345a8d8b50f90563994c1de7c53b7f0946bba 28592 
newt-tcl_0.52.14-11.1_amd64.deb
 6b30d743696dd9025e6a37dbad7f217c259450ed8ed25bbf3314fb346419367e 129220 
python-newt_0.52.14-11.1_amd64.deb
 66381c25757d6acb9ae9ce24616ebe6e87d697d80a9c74362a22079263abb6e3 44924 
python-newt-dbg_0.52.14-11.1_amd64.deb
 1ae30f31d25712dec891d6c8d7df376ace9e2b9cf3f9cd1619fa714f7c53fe35 77542 
libnewt0.52_0.52.14-11.1_amd64.deb
 f7fdef3a934a814a1320891e53016194a7dba7057d014fccde9cb5aec3e798dd 33988 
whiptail_0.52.14-11.1_amd64.deb
Files: 
 f9843fe748439c50b26d6284efdd9650 2203 devel optional newt_0.52.14-11.1.dsc
 f8a0ca1e51c508ad9ac314c01e572f0e 40514 devel optional 
newt_0.52.14-11.1.debian.tar.gz
 e19f0522699d436e1fb6341b3ca141f5 98944 libdevel optional 
libnewt-dev_0.52.14-11.1_amd64.deb
 e57d6f711d0385279db0ae9e0b694296 19200 libdevel extra 
libnewt-pic_0.52.14-11.1_amd64.deb
 5a9a0943106f68930f5ca2828fb97815 28592 interpreters extra 
newt-tcl_0.52.14-11.1_amd64.deb
 b6397b4a890ad7ae4fd26da2399f6b28 129220 python optional 
python-newt_0.52.14-11.1_amd64.deb
 880ddd14d38bb76bab7e76925adbd198 44924 debug extra 
python-newt-dbg_0.52.14-11.1_amd64.deb
 8a55cb3dbc0480fa45fd866d41c2e18f 77542 libs important 
libnewt0.52_0.52.14-11.1_amd64.deb
 c34b620b24f710c09fcd8576168422a5 33988 utils important 
whiptail_0.52.14-11.1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJRK7mAAAoJEGny/FFupxmTquwQAJluqjBjd8L2oeN6Hw0xDN6O
IUPTAxPgcqaewj3CdUeKCcIrCsMQ6yO0tDCZN55Mnn0zgrEbltgGGApGDSeedzhm
wv7NKSXbSAOntX8MnyiNVU26ipPdge8dWOvBpRk8NJU7FIVCNbLptWSysnVM06uW
xKIAMs1RNawl9KKbNXwzcndGB9Nd+WRTEgVWM8VS0GDftOBoImsV+HtlDD0ER3K9
rhWuDHAmRuJ//a33vrG65Xq3nk6Enzz27jRdS2IXLqHvXwnW0w14PwSm5h/6LdSk
jym0bM+CMv3ppmyRliGnSOzUhZXb1kkMn4Jv/9Wsm0eKdaq9IHPxeOAYtz0drC28
ZqTBv48VaJoqnuld08OtgclOsPU7HquMH1M3GiVGmXdaqdoGbxk9T2zrH1vLPzLB
ALhRpMj1bLq/2kFGE66CFpdWWgVoh2b6AEUga53yvTEVM+CeHF+cqGX58mHodgb3
SfdZgqGDzQnGnO0sMnrkyYq9c7+cIpggkMniNq5SteeDPhZIgxjfqJPl4JaWyMSQ
Vrc20Z6Wr0T3FSVA2Wcy9CaR3TORvuufJ66ym5VovYBMX3llCGM0B1S58BhhCoTS
zlpIdKY4sLL84eFYfboaaS31xLRSwMtBsUbEpAt6oevEzPbSLmdcLt1nC7goyZfc
3rYNoe5Aa4F7f4PclkKW
=ijIK
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to