Package: tvtime
Version: 1.0.2-10
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 tests 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 tvtime.
  (Reading database ... 8539 files and directories currently installed.)
  Unpacking tvtime (from .../tvtime_1.0.2-10_amd64.deb) ...
  Setting up tvtime (1.0.2-10) ...
  cp: cannot stat '/usr/share/doc/tvtime/examples/default.tvtime.xml': No such 
file or directory
  dpkg: error processing tvtime (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   tvtime


Cheers,

Andreas

Attachment: tvtime_1.0.2-10.log.gz
Description: GNU Zip compressed data

Reply via email to