[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#775053: debbugs: postinst uses /usr/share/doc content (Policy 12.3): /usr/share/doc/debbugs/examples/config

Package: debbugs
Version: 2.4.1
Severity: serious
Tags: wheezy-ignore squeeze-ignore
User: debian-qa@lists.debian.org
Usertags: piuparts


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."

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 debbugs.
  (Reading database ... 9350 files and directories currently installed.)
  Preparing to unpack .../archives/debbugs_2.4.1_all.deb ...
  Unpacking debbugs (2.4.1) ...
  Setting up debbugs (2.4.1) ...
  cp: cannot stat '/usr/share/doc/debbugs/examples/config': No such file or directory
  No such file or directory at /usr/sbin/debbugsconfig line 75.
  dpkg: error processing package debbugs (--configure):
   subprocess installed post-installation script returned error exit status 2
  Errors were encountered while processing:



Attachment: debbugs_2.4.1.log.gz
Description: application/gzip

Reply to: