Package: isdnlog
Version: 1:3.25+dfsg1-3+nmu2
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 isdnlog.
  (Reading database ... 6777 files and directories currently installed.)
  Unpacking isdnlog (from .../isdnlog_1%3a3.25+dfsg1-3+nmu2_amd64.deb) ...
  Setting up isdnlog (1:3.25+dfsg1-3+nmu2) ...
  /var/lib/dpkg/info/isdnlog.config: 40: [: -eq: unexpected operator
  Warning: no suitable isdn.conf file found, proceeding with an empty one.
  
  Creating config file /etc/isdn/isdn.conf with new version
  Warning: no suitable rate.conf file found, proceeding with an empty one.
  
  Creating config file /etc/isdn/rate.conf with new version
  /var/lib/dpkg/info/isdnlog.postinst: 61: /var/lib/dpkg/info/isdnlog.postinst: 
cannot open /usr/share/doc/isdnlog/examples/isdnlog.DEVICE: No such file
  dpkg: error processing isdnlog (--configure):
   subprocess installed post-installation script returned error exit status 2
  Errors were encountered while processing:
   isdnlog


Cheers,

Andreas

Attachment: isdnlog_1:3.25+dfsg1-3+nmu2.log.gz
Description: GNU Zip compressed data

Reply via email to