Your message dated Wed, 04 Sep 2013 16:03:17 +0000
with message-id <e1vhfy5-0001vh...@franck.debian.org>
and subject line Bug#721781: fixed in libtexttools 2.1.0-4
has caused the Debian Bug report #721781,
regarding libtexttools3-dev: 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.)


-- 
721781: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721781
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libtexttools3-dev
Version: 2.1.0-3
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:

  testing -> sid

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

0m30.1s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/libtexttools3-dev/README.Debian (libtexttools3-dev) != 
/usr/share/doc/libtexttools5/README.Debian (?)
  /usr/share/doc/libtexttools3-dev/changelog.Debian.gz (libtexttools3-dev) != 
/usr/share/doc/libtexttools5/changelog.Debian.gz (libtexttools5:amd64)
  /usr/share/doc/libtexttools3-dev/copyright (libtexttools3-dev) != 
/usr/share/doc/libtexttools5/copyright (libtexttools5:amd64)

  debsums: missing file /usr/share/doc/libtexttools3-dev/README.Debian (from 
libtexttools3-dev package)


cheers,

Attachment: libtexttools3-dev_2.1.0-3.log.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message ---
Source: libtexttools
Source-Version: 2.1.0-4

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

Debian distribution maintenance software
pp.
Nicolas Boulenguez <nico...@debian.org> (supplier of updated libtexttools 
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, 04 Sep 2013 17:37:22 +0200
Source: libtexttools
Binary: libtexttools3-dev libtexttools5 libtexttools-dbg libtexttools-doc
Architecture: source amd64 all
Version: 2.1.0-4
Distribution: unstable
Urgency: low
Maintainer: Nicolas Boulenguez <nico...@debian.org>
Changed-By: Nicolas Boulenguez <nico...@debian.org>
Description: 
 libtexttools-dbg - Ada library for writing console applications: debug symbols
 libtexttools-doc - Ada library for writing console applications: documentation
 libtexttools3-dev - Ada library for writing console applications: development
 libtexttools5 - Ada library for writing console applications: shared library
Closes: 721781
Changes: 
 libtexttools (2.1.0-4) unstable; urgency=low
 .
   * preinst: typo in directory name. Closes: #721781.
Checksums-Sha1: 
 969ea5cb3916121598f50e677e6246a50b5f7cce 2144 libtexttools_2.1.0-4.dsc
 a234f0a8a8235b89c252f83135843056b9a348a4 7070 
libtexttools_2.1.0-4.debian.tar.bz2
 f9565993ca51a8b1b18396716b700c536aca5904 798798 
libtexttools3-dev_2.1.0-4_amd64.deb
 b483903b2f5c1d9c1a9fd3914c687cfb35f1d1b8 250652 libtexttools5_2.1.0-4_amd64.deb
 8cc585c2eeabf16a659d661a7254bc6835a49f7f 416786 
libtexttools-dbg_2.1.0-4_amd64.deb
 faacc2013db964ea5e90df193522c5998b22d72d 37062 libtexttools-doc_2.1.0-4_all.deb
Checksums-Sha256: 
 404dee55a10e8c65f504c0beca5df504e837e140f5f72adffc46740307e206d2 2144 
libtexttools_2.1.0-4.dsc
 63da4aa7a755a47ee51ebbf6fcd91c227a15d1ce54f73347edea3cf4835d9fed 7070 
libtexttools_2.1.0-4.debian.tar.bz2
 93479a19f5bae6464f42fac4941963edae073ba7e6f549d3f24e45ae907033a1 798798 
libtexttools3-dev_2.1.0-4_amd64.deb
 dfbe4cb44fbd955488ea1c399612f6bae79a2682fe91b0c6c9794777c34f1d4c 250652 
libtexttools5_2.1.0-4_amd64.deb
 4190ee30e6289f0a607f119fdb4bdb97f199219c8d68324f23d85ca127fd2720 416786 
libtexttools-dbg_2.1.0-4_amd64.deb
 bb051273dbed832350839e91cf91ccdfc911a1006ffaf9d8651650ab895aa48d 37062 
libtexttools-doc_2.1.0-4_all.deb
Files: 
 b7a7354f5bcd2c203d1da011186afa95 2144 libdevel extra libtexttools_2.1.0-4.dsc
 d38586986603862eeb8532f95f4d10a4 7070 libdevel extra 
libtexttools_2.1.0-4.debian.tar.bz2
 4bed4f98b594b9982d1ceb46061c583a 798798 libdevel extra 
libtexttools3-dev_2.1.0-4_amd64.deb
 1c60ab09b4f9d1dca10fafea2fe819d6 250652 libs extra 
libtexttools5_2.1.0-4_amd64.deb
 b546f26428e022deaee1bd916b2b9c9b 416786 debug extra 
libtexttools-dbg_2.1.0-4_amd64.deb
 c8bcddaae3c206e5aa2c450a1c435056 37062 doc extra 
libtexttools-doc_2.1.0-4_all.deb

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

iQIcBAEBCAAGBQJSJ1ZcAAoJELUqnPRJDfyNJlcP/AiKHktroTiVyPySuWFKqM8s
Wrhc6w+25bbcIjR3nHvag3uBhYR7iqRqDD8AT4hriCF5jVzp8/nahzEEfJTM9wWY
otW+pqKK1q8THsUinb3VYqgVCtsNVH2myZbaHjUINVhMjd0fAd9QhGmYSxf48Qkd
vV1MoBH8RHND8a6G+yV/iy0A3beltu0XIOLW2hyxpvav70YhhDvbrEvFdu1a67Sr
MkWdy/579aG4Hn0ictzvM5BE+WDoHBgVxFjxKonYNBUfUJIaV92TbkspV9XpFBZV
42OQTsjrXwrBwj3wfXePYaNMoK9HuU7BOfNaMOHtrXQZBB0F9Sv+Se8AVebV1ezL
PFf6FJJtpAOPdHNZdnEUrw3pagxBrYjz6HKORPdXGl9L+qeDPLlfA8GgUaQu1Ceh
NoLAraccf2mlFg3mDPUnpOqzHQfzd42E1kAn4v5Y0WY+kGx45LAQ1vvJroe+qdbr
Fh7aoyn6jJ/3MuC4j24ckFrYBUT1JN3+s1PIgAnUOCG16IMENdz4IuNwtEue8ckU
8M+sANKBb5Bmz7yYMAwNzJhCk4OJgzXkabsbdQZtvcHy/avi4kGBrm8zEFbZpFNT
3x5gOVdtqI/+6n3fOtKX0o+AQ2JxN2YdFjwNTM+4GPzHLRBoTfZyHyFmyEAvc0ry
sdWw6m4hLz/ITvvx4IH+
=Xm4c
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to