Package: libgc-dev
Version: 1:7.1-9
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during an upgrade test with piuparts I noticed your package installs
files over an existing symlink, overwriting files from another package
in a way that is not detected by dpkg:

0m42.9s INFO: dirname part contains a symlink:
  /usr/share/doc/libgc-dev/changelog.Debian.gz != 
/usr/share/doc/libgc1c2/changelog.Debian.gz (libgc-dev)
  /usr/share/doc/libgc-dev/changelog.gz != /usr/share/doc/libgc1c2/changelog.gz 
(libgc-dev)
  /usr/share/doc/libgc-dev/copyright != /usr/share/doc/libgc1c2/copyright 
(libgc-dev)

Looks like /usr/share/doc/libgc-dev was a symlink in squeeze and is a
directory in wheezy. Note that dpkg intentionally does not replace
directories with symlinks and vice versa.

libgc-dev.preinst should probably do something like

    test ! -L /usr/share/doc/libgc-dev || rm /usr/share/doc/libgc-dev

Please clean this up in wheezy.


Cheers,

Andreas

Attachment: libgc-dev_1:7.1-9.log.gz
Description: GNU Zip compressed data

Reply via email to