Package: inn2-lfs
Version: 2.5.4-2
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

a test with piuparts revealed that your package misses the copyright
file after an upgrade, which is a violation of Policy 12.5:
https://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:

  wheezy -> jessie

>From the attached log (scroll to the bottom...):

2m8.0s ERROR: WARN: Inadequate results from running adequate!
  inn2-lfs: missing-copyright-file /usr/share/doc/inn2-lfs/copyright

2m13.2s DUMP: 
  MISSING COPYRIGHT FILE: /usr/share/doc/inn2-lfs/copyright
  # ls -lad /usr/share/doc/inn2-lfs
  drwxr-xr-x 2 root root 40 Jan 15 00:58 /usr/share/doc/inn2-lfs
  # ls -la /usr/share/doc/inn2-lfs/
  total 0
  drwxr-xr-x   2 root root   40 Jan 15 00:58 .
  drwxr-xr-x 193 root root 4060 Jan 15 00:58 ..


Additional info may be available here:
https://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.
See in particular the end of point 4 in
https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-unpackphase

It is recommended to use the dpkg-maintscript-helper commands
'dir_to_symlink' and 'symlink_to_dir' (available since dpkg 1.17.14)
to perform the conversion, ideally using d/$PACKAGE.mainstscript.
Do not forget to add 'Pre-Depends: ${misc:Pre-Depends}' in d/control.
See dpkg-maintscript-helper(1) and dh_installdeb(1) for details.


Furthermore there is one obsolete conffile left owned by the package,
while all other have been taken over by inn2:

2m8.0s ERROR: WARN: Inadequate results from running adequate!
  inn2-lfs: obsolete-conffile /etc/news/radius.conf


cheers,

Andreas

Attachment: inn2-lfs_2.5.4-2+b1.log.gz
Description: application/gzip

Reply via email to