Package: bandwidthd-pgsql
Version: 2.0.1+cvs20090917-5
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 bandwidthd-pgsql.
  (Reading database ... 10120 files and directories currently installed.)
  Unpacking bandwidthd-pgsql (from 
.../bandwidthd-pgsql_2.0.1+cvs20090917-5_amd64.deb) ...
  Setting up bandwidthd-pgsql (2.0.1+cvs20090917-5) ...
  invoke-rc.d: policy-rc.d denied execution of reload.
  cp: cannot stat '/usr/share/doc/bandwidthd-pgsql/bandwidthd-pgsql.conf': No 
such file or directory
  dpkg: error processing bandwidthd-pgsql (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   bandwidthd-pgsql


Cheers,

Andreas


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to