Package: sbackup
Version: 0.10.5+nmu1
Severity: serious
User: [email protected]
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 sbackup.
  (Reading database ... 12752 files and directories currently installed.)
  Unpacking sbackup (from .../sbackup_0.10.5+nmu1_all.deb) ...
  Processing triggers for desktop-file-utils ...
  Processing triggers for mime-support ...
  Setting up sbackup (0.10.5+nmu1) ...
  cp: cannot stat '/usr/share/doc/sbackup/examples/sbackup.conf.example': No 
such file or directory
  dpkg: error processing sbackup (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   sbackup


Cheers,

Andreas

Attachment: sbackup_0.10.5+nmu1.log.gz
Description: GNU Zip compressed data

Reply via email to