Followup-For: Bug #685469 Control: found -1 1:0.3.1-2 Hi,
the missing copyright file persists after upgrading from squeeze+squeeze-backports with ekg2 from backports installed to wheezy. That probably means the package also does not properly cleanup when upgrading from an older snapshot of testing to the current testing. [continuing with the updated bug template for this problem] Hi, a test with piuparts revealed that your package misses the copyright file after an upgrade from squeeze to wheezy, which is a violation of Policy 12.5: http://www.debian.org/doc/debian-policy/ch-docs.html#s-copyrightfile After the upgrade /usr/share/doc/$PACKAGE/ is just an empty directory. This was observed on the following upgrade paths: squeeze -> squeeze-backports -> wheezy >From the attached log (scroll to the bottom...): MISSING COPYRIGHT FILE: /usr/share/doc/ekg2/copyright # ls -lad /usr/share/doc/ekg2 drwxr-xr-x 2 root root 40 Jan 29 07:01 /usr/share/doc/ekg2 # ls -la /usr/share/doc/ekg2/ total 0 drwxr-xr-x 2 root root 40 Jan 29 07:01 . drwxr-xr-x 94 root root 2020 Jan 29 07:01 .. Additional info may be available here: http://wiki.debian.org/MissingCopyrightFile Note that dpkg intentionally does not replace directories with symlinks and vice versa, you need the maintainer scripts to do this. For switching from a directory to a link the postinst script should do something like this: DOCDIR=/usr/share/doc/@@PACKAGE@@ DOCLINK=@@OTHERPACKAGE@@ if [ -d $DOCDIR ] && [ ! -L $DOCDIR ] ; then rmdir $DOCDIR ln -s $DOCLINK $DOCDIR fi For switching from a link to a directory, the preinst script should do something like this: DOCDIR=/usr/share/doc/@@PACKAGE@@ if [ -L $DOCDIR ] ; then rm $DOCDIR fi Andreas
ekg2_1:0.3.1-2.log.gz
Description: GNU Zip compressed data