Package: oar-web-status,oar-common
Version: 2.5.2-3.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."
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 oar-web-status.
  (Reading database ... 11451 files and directories currently installed.)
  Unpacking oar-web-status (from .../oar-web-status_2.5.2-3.1_all.deb) ...
  Setting up oar-web-status (2.5.2-3.1) ...
  Error: The new file /usr/share/doc/oar-web-status/examples/apache.conf does 
not exist!
  dpkg: error processing oar-web-status (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   oar-web-status

  Selecting previously unselected package oar-common.
  (Reading database ... 8135 files and directories currently installed.)
  Unpacking oar-common (from .../oar-common_2.5.2-3.1_amd64.deb) ...
  Setting up oar-common (2.5.2-3.1) ...
  Adding group oar....done
  Adding system user oar....done
  grep: /var/lib/oar/.bash_profile: No such file or directory
  grep: /var/lib/oar/.bashrc: No such file or directory
  Error: The new file /usr/share/doc/oar-common/examples/oar.conf does not 
exist!
  dpkg: error processing oar-common (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   oar-common


Cheers,

Andreas

Attachment: oar-web-status_2.5.2-3.1.log.gz
Description: GNU Zip compressed data

Reply via email to