Package: phpbb3
Version: 3.0.10-4
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 phpbb3.
  (Reading database ... 9937 files and directories currently installed.)
  Unpacking phpbb3 (from .../phpbb3_3.0.10-4_all.deb) ...
  Setting up phpbb3 (3.0.10-4) ...
  dbconfig-common: writing config to /etc/dbconfig-common/phpbb3.conf
  
  Creating config file /etc/dbconfig-common/phpbb3.conf with new version
  
  Creating config file /etc/phpbb3/database.inc.php with new version
  granting access to database phpbb3 for phpbb3@localhost: success.
  verifying access for phpbb3@localhost: success.
  creating database phpbb3: success.
  verifying database phpbb3 exists: success.
  populating database via sql...  done.
  dbconfig-common: flushing administrative password
  Setting admin password
  Admin password set to 2RFeVHrb2t
  Error: The new file /usr/share/doc/phpbb3/examples/apache2.conf does not 
exist!
  dpkg: error processing phpbb3 (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   phpbb3


Cheers,

Andreas

Attachment: phpbb3_3.0.10-4.log.gz
Description: GNU Zip compressed data

Reply via email to