Package: fex
Version: 20140917-1
Severity: serious
User: debian...@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."
https://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 fex.
  (Reading database ... 9826 files and directories currently installed.)
  Preparing to unpack .../fex_20140917-1_all.deb ...
  Unpacking fex (20140917-1) ...
  Setting up fex (20140917-1) ...
  Adding group `fex' (GID 152) ...
  Done.
  Adding system user `fex' (UID 151) ...
  Adding new user `fex' (UID 151) with group `fex' ...
  Not creating home directory `/usr/share/fex'.
  Installing initial copy of htdocs into /var/lib/fex/htdocs ...
  Initializing /etc/fex/fex.ph with correcting hostname (using: 
myhost.domain.example.com)
  gzip: /usr/share/doc/fex/examples/fex.ph.gz: No such file or directory
  Logdir still pointing to $spooldir. Please update to /var/log/fex
  in order to take full advantage of logrotate settings.
  Once you have updated your configfiles just run:
             dpkg-reconfigure fex
  To have the logfiles moved into their new location
  Error: The new file /usr/share/doc/fex/examples/xinetd_fex does not exist!
  dpkg: error processing package fex (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   fex


Cheers,

Andreas

Attachment: fex_20140917-1.log.gz
Description: application/gzip

Reply via email to