Control: reopen -1
Control: found -1 2.0.5-1.2

Dear Maintainer(s),

Sorry to reopen this bug, but your updated package doesn't actually
really fix this. You followed my advice for adding the alternative
dependencies (for which I'm grateful), but you didn't consider my point
2 in my original report that you should update your postinst script not
to automatically do a2enmod (or now apache2_invoke enmod php5) when
libapache2-mod-php5 is not installed.

Currently, the package fails to configure:

Setting up ocsinventory-reports (2.0.5-1.2) ...
dpkg: error processing package ocsinventory-reports (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 ocsinventory-reports

Using APACHE2_MAINTSCRIPT_DEBUG=1 and running dpkg --configure gives me:

Setting up ocsinventory-reports (2.0.5-1.2) ...
[... stuff ...]
+ a2query -qm php5
+ apache2_invoke enmod php5
+ local CMD=enmod
+ local CONF=php5
+ local RCD_ACTION=
+ local invoke_rcd=0
+ local check_switch=
+ local invoke_string=
+ [ -x /usr/sbin/a2enmod ]
+ [ -x /usr/sbin/a2query ]
+ [ -n  ]
+ check_switch=-m
+ invoke_string=module
+ rcd_action=restart
+ local a2query_ret=0
+ a2query -m php5
+ a2query_ret=1
+ [ 1 -eq 0 ]
+ [ 1 -eq 32 ]
+ APACHE2_NEED_ACTION=1
+ a2enmod -m -q php5
+ return 1
dpkg: error processing package ocsinventory-reports (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 ocsinventory-reports

Steps to reproduce (roughly):

 - install a fresh Jessie system
 - add sid to sources.list, pin all packages in sid to low
   priority except ocsinventory-reports
 - apt-get install apache2 php5-cgi
 - apt-get install ocsinventory-reports

It would be great if you could fix this.

Thanks!

Christian


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to