Bug#710416: courier-filter-perl: postinst uses /usr/share/doc content (Policy 12.3)

Andreas Beckmann anbe at debian.org
Thu May 30 15:33:43 UTC 2013


Package: courier-filter-perl
Version: 0.200+ds-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

a test with piuparts revealed that your package uses files from
/usr/share/doc in its maintainer scripts which is a violation of
Policy 12.3: "Packages must not require the existence of any files in
/usr/share/doc/ in order to function."
http://www.debian.org/doc/debian-policy/ch-docs.html#s12.3

These files must be moved to /usr/share/$PACKAGE and may be symlinked
from /usr/share/doc/$PACKAGE.

This piuparts test prevents the installation of (most) files into
/usr/share/doc with 'dpkg --path-exclude=...'.

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

  Selecting previously unselected package courier-filter-perl.
  (Reading database ... 8659 files and directories currently installed.)
  Unpacking courier-filter-perl (from .../courier-filter-perl_0.200+ds-1_all.deb) ...
  Setting up courier-filter-perl (0.200+ds-1) ...
  cp: cannot stat '/usr/share/doc/courier-filter-perl/examples/courier-filter-perl.conf.bare': No such file or directory
  dpkg: error processing courier-filter-perl (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   courier-filter-perl


Cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: courier-filter-perl_0.200+ds-1.log.gz
Type: application/x-gzip
Size: 5812 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20130530/4c9f448a/attachment.bin>


More information about the pkg-perl-maintainers mailing list