Your message dated Sat, 23 Feb 2013 01:02:32 +0000
with message-id <e1u93vy-0006jj...@franck.debian.org>
and subject line Bug#700789: fixed in autoconf-archive 20111221-2
has caused the Debian Bug report #700789,
regarding autoconf-archive: 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.)


-- 
700789: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=700789
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: autoconf-archive
Version: 20111221-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:

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

0m49.6s INFO: dirname part contains a symlink:
  /usr/share/doc/autoconf-archive/html/Downloads.html (autoconf-archive) != 
/usr/share/autoconf-archive/html/Downloads.html (?)
  /usr/share/doc/autoconf-archive/html/GNU-Free-Documentation-License.html 
(autoconf-archive) != 
/usr/share/autoconf-archive/html/GNU-Free-Documentation-License.html (?)
  /usr/share/doc/autoconf-archive/html/How-to-contribute.html 
(autoconf-archive) != /usr/share/autoconf-archive/html/How-to-contribute.html 
(?)
  /usr/share/doc/autoconf-archive/html/Introduction.html (autoconf-archive) != 
/usr/share/autoconf-archive/html/Introduction.html (?)
  /usr/share/doc/autoconf-archive/html/The-Macros.html (autoconf-archive) != 
/usr/share/autoconf-archive/html/The-Macros.html (?)
  /usr/share/doc/autoconf-archive/html/ax_005fabsolute_005fheader.html 
(autoconf-archive) != 
/usr/share/autoconf-archive/html/ax_005fabsolute_005fheader.html (?)
  
/usr/share/doc/autoconf-archive/html/ax_005fac_005fappend_005fto_005ffile.html 
(autoconf-archive) != 
/usr/share/autoconf-archive/html/ax_005fac_005fappend_005fto_005ffile.html (?)
  /usr/share/doc/autoconf-archive/html/ax_005fac_005fprint_005fto_005ffile.html 
(autoconf-archive) != 
/usr/share/autoconf-archive/html/ax_005fac_005fprint_005fto_005ffile.html (?)
  /usr/share/doc/autoconf-archive/html/ax_005fadd_005fam_005fmacro.html 
(autoconf-archive) != 
/usr/share/autoconf-archive/html/ax_005fadd_005fam_005fmacro.html (?)
  
/usr/share/doc/autoconf-archive/html/ax_005fadd_005fam_005fmacro_005fstatic.html
 (autoconf-archive) != 
/usr/share/autoconf-archive/html/ax_005fadd_005fam_005fmacro_005fstatic.html (?)
  
/usr/share/doc/autoconf-archive/html/ax_005fadd_005fam_005ftrilinos_005fmakefile_005fexport.html
 (autoconf-archive) != 
/usr/share/autoconf-archive/html/ax_005fadd_005fam_005ftrilinos_005fmakefile_005fexport.html
 (?)
  
/usr/share/doc/autoconf-archive/html/ax_005fadd_005frecursive_005fam_005fmacro.html
 (autoconf-archive) != 
/usr/share/autoconf-archive/html/ax_005fadd_005frecursive_005fam_005fmacro.html 
(?)
  
/usr/share/doc/autoconf-archive/html/ax_005fadd_005frecursive_005fam_005fmacro_005fstatic.html
 (autoconf-archive) != 
/usr/share/autoconf-archive/html/ax_005fadd_005frecursive_005fam_005fmacro_005fstatic.html
 (?)
  /usr/share/doc/autoconf-archive/html/ax_005fafs.html (autoconf-archive) != 
/usr/share/autoconf-archive/html/ax_005fafs.html (?)
[...]

I have no idea how to properly clean up currently messed up installations ...


cheers,

Andreas

Attachment: autoconf-archive_20111221-1.log.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message ---
Source: autoconf-archive
Source-Version: 20111221-2

We believe that the bug you reported is fixed in the latest version of
autoconf-archive, 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.
Bastien ROUCARIÈS <roucaries.bastien+deb...@gmail.com> (supplier of updated 
autoconf-archive 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: Sun, 17 Feb 2013 20:56:01 +0100
Source: autoconf-archive
Binary: autoconf-archive
Architecture: source all
Version: 20111221-2
Distribution: unstable
Urgency: low
Maintainer: Bastien ROUCARIÈS <roucaries.bastien+deb...@gmail.com>
Changed-By: Bastien ROUCARIÈS <roucaries.bastien+deb...@gmail.com>
Description: 
 autoconf-archive - Autoconf Macro Archive
Closes: 700789
Changes: 
 autoconf-archive (20111221-2) unstable; urgency=low
 .
   * Bug fix: "unhandled symlink to directory conversion:
     /usr/share/doc/PACKAGE", thanks to Andreas Beckmann (Closes: #700789).
     Remove old symlink /usr/share/doc/autoconf-archive/html and old target
     /usr/share/autoconf-archive/html using preinst and postinst scripts.
Checksums-Sha1: 
 fb3d67dc8fc70ba3a9d68d9a1410945bacafdd99 2055 autoconf-archive_20111221-2.dsc
 494d43de7c52395abfa649f4ea76823380fb0662 16894 
autoconf-archive_20111221-2.debian.tar.bz2
 509a096359888243611e45ff1bc58a108998e048 734380 
autoconf-archive_20111221-2_all.deb
Checksums-Sha256: 
 5e71831b8eae737c4f4a07c6c0fe19ca1f881cf92aec118a76c60e8694f2e065 2055 
autoconf-archive_20111221-2.dsc
 e76f57a063d8c5e9eb96eed6647726864c4e7d6568dd43b4f4c58916b5925d45 16894 
autoconf-archive_20111221-2.debian.tar.bz2
 17279aa2276f95b4a2cb50883b0e7d6f688a19ee3edc948dd18503c139e024b7 734380 
autoconf-archive_20111221-2_all.deb
Files: 
 d8791f774f3c7135991d6b4ee0301d05 2055 devel optional 
autoconf-archive_20111221-2.dsc
 74416408c0dd4427a5c0301a8ebfe1fd 16894 devel optional 
autoconf-archive_20111221-2.debian.tar.bz2
 9d933531992f55a2df7f9ea9a3e8b7e1 734380 devel optional 
autoconf-archive_20111221-2_all.deb

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

iQIcBAEBCAAGBQJRJBuqAAoJEF+zP5NZ6e0IZugQAIfi4615VScVoQuu0gYeJnCp
LMsVXcs5NhZrq6zmjwWiyoBttetd8qXfd+d/QDr7up0jyIvEePlWSZfXkbGCzkcM
yLCx9Ljw94csw/wbortxWBDweoMA1Hqju6kdkHPiMdcGuXF/aNy9EmOyYh+IYjSi
dAHsDIxrqq/ew6feaadXJK9Oe9gzWkl6TsO6YpwdOYF0W4oDDhfhS+XGk/wPpBT1
osz7PBoGKYZeNV+cK4E4sNV9tUR1vdQF4B2ht2OQs9dfn22EP8nBnqHIfA6Q0I9q
hDY+RqFH9N2mYObQzrbAipXvF8l/h3mYhAY76ykMECj2qQdi8xTIw7b0cSQoMhuR
Q68UHc4rsW7+snOnUaMNQ+CHgs9cI2S0OOY3jWy7tCulQ5j57+NgBQzEe6EjHr94
P8KpW+A3oe+oMqLslwlMLonIvRJkvn06Lb9jkS07aIu9mQzTatx3w1OeSjtzHnBU
uBCGNCMfR8pApAeomzN/Z0mdHvu5/Lx/BYlp3tMC+AFvgxOXlVrkzAj1cCl1IwQ4
46Sf8iENhc0cJgeBo10BkYWHUDYfN9rdqlxYjr5R1CfyQPhXVlQ9xhDcKTTfGp+0
NBwzx/Dy4/9VjhDoCprZ9gutp3+Lr/6i+GG/1iK8wzdKUkUMMYtPOcI1NObnsSbH
9TAGKK2Dm/5SLyhSA8QD
=0cPR
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to