Your message dated Sun, 16 Nov 2014 10:33:57 +0000
with message-id <e1xpx9z-0002ng...@franck.debian.org>
and subject line Bug#768275: fixed in python-whoosh 2.5.7-3
has caused the Debian Bug report #768275,
regarding python-whoosh-doc: 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.)


-- 
768275: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768275
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python-whoosh-doc
Version: 2.5.7-2
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:

  wheezy -> jessie

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

It is recommended to use the dpkg-maintscript-helper commands
'dir_to_symlink' and 'symlink_to_dir' (available since dpkg 1.17.2)
to perform the conversion, ideally using d/$PACKAGE.mainstscript.
See dpkg-maintscript-helper(1) and dh_installdeb(1) for details.


>From the attached log (usually somewhere in the middle...):

1m0.9s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/python-whoosh-doc/NEWS.Debian.gz (python-whoosh-doc) != 
/usr/share/doc/python-whoosh/NEWS.Debian.gz (python-whoosh)
  /usr/share/doc/python-whoosh-doc/changelog.Debian.gz (python-whoosh-doc) != 
/usr/share/doc/python-whoosh/changelog.Debian.gz (python-whoosh)
  /usr/share/doc/python-whoosh-doc/copyright (python-whoosh-doc) != 
/usr/share/doc/python-whoosh/copyright (python-whoosh)
  /usr/share/doc/python-whoosh-doc/html (python-whoosh-doc) != 
/usr/share/doc/python-whoosh/html (?)
  /usr/share/doc/python-whoosh-doc/html/_sources (python-whoosh-doc) != 
/usr/share/doc/python-whoosh/html/_sources (?)
  /usr/share/doc/python-whoosh-doc/html/_sources/analysis.txt 
(python-whoosh-doc) != /usr/share/doc/python-whoosh/html/_sources/analysis.txt 
(?)
  /usr/share/doc/python-whoosh-doc/html/_sources/api (python-whoosh-doc) != 
/usr/share/doc/python-whoosh/html/_sources/api (?)
  /usr/share/doc/python-whoosh-doc/html/_sources/api/analysis.txt 
(python-whoosh-doc) != 
/usr/share/doc/python-whoosh/html/_sources/api/analysis.txt (?)
....
  /usr/share/doc/python-whoosh-doc/html/tech (python-whoosh-doc) != 
/usr/share/doc/python-whoosh/html/tech (?)
  /usr/share/doc/python-whoosh-doc/html/tech/backend.html (python-whoosh-doc) 
!= /usr/share/doc/python-whoosh/html/tech/backend.html (?)
  /usr/share/doc/python-whoosh-doc/html/tech/filedb.html (python-whoosh-doc) != 
/usr/share/doc/python-whoosh/html/tech/filedb.html (?)
  /usr/share/doc/python-whoosh-doc/html/tech/index.html (python-whoosh-doc) != 
/usr/share/doc/python-whoosh/html/tech/index.html (?)
  /usr/share/doc/python-whoosh-doc/html/threads.html (python-whoosh-doc) != 
/usr/share/doc/python-whoosh/html/threads.html (?)


cheers,

Andreas

Attachment: python-whoosh-doc_2.5.7-2.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: python-whoosh
Source-Version: 2.5.7-3

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

Debian distribution maintenance software
pp.
أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmo...@users.sourceforge.net> (supplier 
of updated python-whoosh 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: Sun, 16 Nov 2014 12:16:23 +0200
Source: python-whoosh
Binary: python-whoosh python3-whoosh python-whoosh-doc
Architecture: source all
Version: 2.5.7-3
Distribution: unstable
Urgency: medium
Maintainer: أحمد المحمودي (Ahmed El-Mahmoudy) 
<aelmahmo...@users.sourceforge.net>
Changed-By: أحمد المحمودي (Ahmed El-Mahmoudy) 
<aelmahmo...@users.sourceforge.net>
Description:
 python-whoosh - pure-Python full-text indexing, search, and spell checking 
librar
 python-whoosh-doc - full-text indexing, search, and spell checking library 
(doc)
 python3-whoosh - pure-Python full-text indexing, search, and spell checking 
librar
Closes: 768275
Changes:
 python-whoosh (2.5.7-3) unstable; urgency=medium
 .
   [ أحمد المحمودي (Ahmed El-Mahmoudy) ]
   * Update my email address.
   * debian/control: Bumped Standards-Version to 3.9.6
 .
   [ Jean-Michel Nirgal Vourgère ]
   * Change python-whoosh.maintscript into python-whoosh-doc.maintscript
     /usr/share/doc/python-whoosh-doc was a link to python-whoosh. Fixed
     'prior-version' as the current one, see dpkg-maintscript-helper(1). Drop
     optional 'package' since where are not using maintscript but
     python-whoosh-doc.maintscript. Drop unused Pre-Depends on dpkg with support
     of symlink_to_dir, added missing Pre-Depends on misc:Pre-Depends in
     python-whoosh-doc (Closes: #768275)
Checksums-Sha1:
 b1812eaeaf0d1316eacbe03b7b7bffbdf2cea31f 1884 python-whoosh_2.5.7-3.dsc
 39a6966c802289ec209061948f2bdd8459d75dd7 8128 
python-whoosh_2.5.7-3.debian.tar.xz
 0c62c2909b91f4ac0e200423a7df9e06708701d1 300124 python-whoosh_2.5.7-3_all.deb
 8c969b9376db2c190f013c5cd18f9374a1fa4b58 300132 python3-whoosh_2.5.7-3_all.deb
 7cb28a0875da4db89ebe4f3531c2899f0829956f 245632 
python-whoosh-doc_2.5.7-3_all.deb
Checksums-Sha256:
 42ff09f961476e179b5e768498ba8dedaaacd846b2491baca4a1ac4c38353f72 1884 
python-whoosh_2.5.7-3.dsc
 6333c66e87b14ab208fa4d484af8dc1fbd6f60ca963258132b66922ebb988a1c 8128 
python-whoosh_2.5.7-3.debian.tar.xz
 a8ef1ae0ab68af7cd62b8064ebc66dd3b7dbfbbcee8d4ef6e81bfd8fa40ba1b9 300124 
python-whoosh_2.5.7-3_all.deb
 e2e4aa26d6314a97b26e392be206a6c8697813ada4c3133a74854e6a4f58ff0c 300132 
python3-whoosh_2.5.7-3_all.deb
 8de606aecea98375493765b20af30b8a65eea94984d7cc1f024993a23ed2e406 245632 
python-whoosh-doc_2.5.7-3_all.deb
Files:
 a940a959c78942466c0c687495bf4d02 1884 python optional python-whoosh_2.5.7-3.dsc
 ad32184ad89c965f93d3ba0d9c9e07aa 8128 python optional 
python-whoosh_2.5.7-3.debian.tar.xz
 d141113898e0cf51462e5a9eabd506bc 300124 python optional 
python-whoosh_2.5.7-3_all.deb
 1e4ab48c76a59f891360ab9253bbde23 300132 python optional 
python3-whoosh_2.5.7-3_all.deb
 9c521d9fede8353471b3a939840d57ad 245632 doc extra 
python-whoosh-doc_2.5.7-3_all.deb

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

iQEcBAEBCAAGBQJUaHtyAAoJELwZapTt3aG3tmEIAJjU+AbDN2FfoJflBnrKOuYJ
73bEl64vAYs1FDY7D0Xs/RHrQ/rvwpDN6fHoZyy5iDFrxlu6WSY+PRHcJWygh/zz
cwWw5jLPGiXXhXVZlhS8bFXyo1uPfSt9tn3kBWjZ7O6T9UHCZcLkUgG6wf7VjUbV
C3JZEpzTWoM90iLo2Fc+kFlmlDALM3UzvpamhSONmeUmDti/BXpvubl0j8XovHmn
rTQn1XpGmCnuw5UDXh/iE8Fk5It7iXnTB63hy4bYSPyRrclWHVnjiqfBJgKX1niO
PVliQ9i4bgxGl3GdKOvmpiZ68ITSosrS83FjzYWdD0E1/NzHUiRvaeTFAYK1+Wc=
=5KU2
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to