[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#710727: awffull: postinst uses /usr/share/doc content (Policy 12.3): /usr/share/doc/awffull/examples/sample.conf.gz

Package: awffull
Version: 3.10.2-2
Severity: serious
User: debian-qa@lists.debian.org
Usertags: piuparts


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."

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 awffull.
  (Reading database ... 7157 files and directories currently installed.)
  Unpacking awffull (from .../awffull_3.10.2-2_amd64.deb) ...
  Setting up awffull (3.10.2-2) ...
  /var/www/awffull created
  gzip: /usr/share/doc/awffull/examples/sample.conf.gz: No such file or directory
  dpkg: error processing awffull (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:



Attachment: awffull_3.10.2-2.log.gz
Description: GNU Zip compressed data

Reply to: