Your message dated Mon, 18 Feb 2013 02:47:51 +0000
with message-id <e1u7glj-0005tg...@franck.debian.org>
and subject line Bug#700788: fixed in libavc1394 0.5.4-2
has caused the Debian Bug report #700788,
regarding libavc1394-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.)


-- 
700788: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=700788
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libavc1394-dev
Version: 0.5.4-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.5s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/libavc1394-dev/changelog.Debian.gz (libavc1394-dev:amd64) != 
/usr/share/doc/libavc1394-0/changelog.Debian.gz (libavc1394-0:amd64)
  /usr/share/doc/libavc1394-dev/changelog.gz (libavc1394-dev:amd64) != 
/usr/share/doc/libavc1394-0/changelog.gz (libavc1394-0:amd64)
  /usr/share/doc/libavc1394-dev/copyright (libavc1394-dev:amd64) != 
/usr/share/doc/libavc1394-0/copyright (libavc1394-0:amd64)


cheers,

Andreas

Attachment: libavc1394-dev_0.5.4-1.log.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message ---
Source: libavc1394
Source-Version: 0.5.4-2

We believe that the bug you reported is fixed in the latest version of
libavc1394, 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.
Alessio Treglia <ales...@debian.org> (supplier of updated libavc1394 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: SHA1

Format: 1.8
Date: Mon, 18 Feb 2013 02:00:02 +0000
Source: libavc1394
Binary: libavc1394-dev libavc1394-0 libavc1394-tools
Architecture: source amd64
Version: 0.5.4-2
Distribution: unstable
Urgency: low
Maintainer: Debian Multimedia Maintainers 
<pkg-multimedia-maintain...@lists.alioth.debian.org>
Changed-By: Alessio Treglia <ales...@debian.org>
Description: 
 libavc1394-0 - control IEEE 1394 audio/video devices
 libavc1394-dev - control IEEE 1394 audio/video devices (development files)
 libavc1394-tools - control IEEE 1394 audio/video devices (utilities)
Closes: 700788
Changes: 
 libavc1394 (0.5.4-2) unstable; urgency=low
 .
   * Add libavc1394-dev.preinst to prevent symlink-to-directory conversion.
     Thanks to Andreas Beckmann for reporting this. (Closes: #700788)
Checksums-Sha1: 
 3f0d93eafcf09356b3636963f86b7e4b5556a3a1 2143 libavc1394_0.5.4-2.dsc
 3d35a2c866248a1410ddd5877c2fbdec17a17201 6419 libavc1394_0.5.4-2.debian.tar.gz
 a861cbc01ad5de7ab9e5a15300b14f9bd13e2902 14148 libavc1394-dev_0.5.4-2_amd64.deb
 5f24a1cb7e8e60f87c730fde53a2b67d062b2c83 23898 libavc1394-0_0.5.4-2_amd64.deb
 92be03792cc6c4156ec6b1cfb6f40688268989c3 23774 
libavc1394-tools_0.5.4-2_amd64.deb
Checksums-Sha256: 
 de0de9a38a1ad914f05cd2e8dc3b3b4019d6536b720f406ce2522c3c2cd5820a 2143 
libavc1394_0.5.4-2.dsc
 240142b8b2971cbc64ab2fdae5d80edb97fef4ca0677286d8302068bda902c5b 6419 
libavc1394_0.5.4-2.debian.tar.gz
 8dee2c6c24c33f74a370e2a1a8bf22dc8d4c71c2281e0dac1872ccc264e01375 14148 
libavc1394-dev_0.5.4-2_amd64.deb
 c07a88e9489fb6953bd4e5779d2d36160922f4f4d1fc5f19b6df806a507a06d1 23898 
libavc1394-0_0.5.4-2_amd64.deb
 95e8a5cce29b7c0128b81b898262d0731a252c7e27b451bc03b75e22ff7ef4d4 23774 
libavc1394-tools_0.5.4-2_amd64.deb
Files: 
 2541b0c384def68f23be7d723e2fdb43 2143 libs optional libavc1394_0.5.4-2.dsc
 1bab5e5b45ca85176836a781370f4bba 6419 libs optional 
libavc1394_0.5.4-2.debian.tar.gz
 3ca2ed643fd9e1756a58cb65fcbdbcb4 14148 libdevel optional 
libavc1394-dev_0.5.4-2_amd64.deb
 a6e0956205221c7935a62a83f90f7232 23898 libs optional 
libavc1394-0_0.5.4-2_amd64.deb
 963dcaf86c3a6c8d1690c9d82905f83e 23774 utils optional 
libavc1394-tools_0.5.4-2_amd64.deb

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

iQIcBAEBAgAGBQJRIYxPAAoJEOikiuUxHXZaRxwQAJGMXHJUyNM5Tw44ntPUH5Vw
+BSEFwCVRIcA8VwgIAa8DXQ88izvLqERie+NP84rfnY5FTRlQbWilkOlAgJokhh5
P1cCTSpQGmjXTH0MR8vfINafUXl00rXwNEuT8ALB4mHn4Aj+JfOhsAGgBrSw2eOt
nD+ofT6GHDWNZ5fLun8LEp9l9f6UG7iE+H0Pt/8JCiMbePLSYvuAj7zGjk9Tpaf8
usWYR5OaupKSI4OHrrJOTZbrkTLQTv4Z5WIDSMoGwl0GFZM8BeE35YpYWhnYWIte
oA1kVyAHX8IoWk2GZbqH1uNg1wyUXUatf6ktvRwQYPkX0EgeHluJ0YBNQGzdXO6D
Lzgsezrgc9h0QI9CMujbWU+2iAzlLHXY6tPMx9vHeFXn3ydDcX70k7vjzyfHvNf2
h+6q/BN6P3fz61C+7jYwPNoTsZe6UVZVzSRNdvdzFuRt7kKFEHrPKBHfFeEGMbbp
RAiFXx6xBWzlj2WxzmqadIoptS1iHIF9hgjlcvLirYECL7yNGsevNlFT+9fYKB6n
hHQhUsYOhtktPj+OOFl+Nq0nolt8kSr08hxDdOLUS42OmUIF4Echcyvqfwkf23Eb
BwFz+LNwdekbysKw14YbuxGXb6XU8walBFM6ZitKizNQWJOjKDhDa9RRQvHsde3b
Q2OVro2v2DEhEasB3qUH
=mstg
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to