Package: pygopherd
Version: 2.0.18.3+nmu3
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 pygopherd.
  (Reading database ... 8452 files and directories currently installed.)
  Preparing to unpack .../pygopherd_2.0.18.3+nmu3_all.deb ...
  Unpacking pygopherd (2.0.18.3+nmu3) ...
  Setting up pygopherd (2.0.18.3+nmu3) ...
  Adding system user `gopher' (UID 150) ...
  Adding new group `gopher' (GID 151) ...
  Adding new user `gopher' (UID 150) with group `gopher' ...
  Creating home directory `/var/gopher' ...
  cp: cannot stat '/usr/share/doc/pygopherd/examples/gophermap': No such file 
or directory
  dpkg: error processing package pygopherd (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   pygopherd


Cheers,

Andreas

Attachment: pygopherd_2.0.18.3+nmu3.log.gz
Description: application/gzip

Reply via email to