Package: otrs2
Version: 3.2.7-1
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 otrs2.
  (Reading database ... 14864 files and directories currently installed.)
  Unpacking otrs2 (from .../archives/otrs2_3.2.7-1_all.deb) ...
  Warning: The home dir /usr/share/otrs you specified can't be accessed: No 
such file or directory
  Adding system user `otrs' (UID 103) ...
  Adding new user `otrs' (UID 103) with group `www-data' ...
  Not creating home directory `/usr/share/otrs'.
  Setting up otrs2 (3.2.7-1) ...
  dbconfig-common: writing config to /etc/dbconfig-common/otrs2.conf
  
  Creating config file /etc/dbconfig-common/otrs2.conf with new version
  
  Creating config file /etc/otrs/database.pm with new version
  granting access to database otrs2 for otrs@localhost: success.
  verifying access for otrs@localhost: success.
  creating database otrs2: success.
  verifying database otrs2 exists: success.
  populating database via sql...  done.
  dbconfig-common: flushing administrative password
  
  Creating config file /etc/otrs/Kernel/Config.pm with new version
  
  Creating config file /etc/otrs/Kernel/Config/GenericAgent.pm with new version
  
  Creating config file /etc/otrs/maintenance.html with new version
  
  Creating config file /etc/otrs/cron with new version
  
  Creating config file /etc/otrs/fetchmailrc with new version
  ERROR: Can't read /usr/share/otrs/RELEASE: No such file or directory This 
file is needed by central system parts of OTRS, the system will not work 
without this file.
  Died at /usr/share/otrs/Kernel/Config/Defaults.pm line 1914.
  dpkg: error processing otrs2 (--configure):
   subprocess installed post-installation script returned error exit status 2
  Errors were encountered while processing:
   otrs2


Cheers,

Andreas

Attachment: otrs2_3.2.7-1.log.gz
Description: GNU Zip compressed data

Reply via email to