Package: libapache2-mod-php7.0 Version: 7.0.19-1 Severity: important
Hi, the installation of libapache2-mod-php7.0 failed on one of our systems with Setting up libapache2-mod-php7.0 (7.0.19-1) ... apache2_switch_mpm prefork: No action required dpkg: error processing package libapache2-mod-php7.0 (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: libapache2-mod-php7.0 E: Sub-process /usr/bin/dpkg returned an error code (1) which is a rather useless error message - as there is none. Adding a set -x to the postinst script showed, that actually a2enmod failed: + APACHE2_NEED_ACTION=1 + a2enmod -m -q php7.0 + return 1 + exit 1 dpkg: error processing package libapache2-mod-php7.0 (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: libapache2-mod-php7.0And I had to run a2enmod manually to figure out what the reason for this issue was:
# a2enmod php7.0 Considering dependency mpm_prefork for php7.0: Considering conflict mpm_event for mpm_prefork:ERROR: Module mpm_event is enabled - cannot proceed due to conflicts. It needs to be disabled first!
Considering conflict mpm_worker for mpm_prefork: ERROR: Could not enable dependency mpm_prefork for php7.0, aborting So I'm wondering:- why is there not a proper error message in postinst, stating that the wrong mpm is configured for php? - or: should a2enmod print the error message, although it was called with -q?
The current state is rather frustrating. Thanks, Bernd -- Mit freundlichen Grüßen Bernd Zeimetz Systems Engineer Debian Developer conova communications GmbH Web | http://www.conova.com/ E-Mail | b.zeim...@conova.com Zentrale Salzburg Karolingerstraße 36A 5020 Salzburg Tel | +43 (0) 662 22 00 - 313 Fax | +43 (0) 662 22 00 - 209 Es gelten die Allgemeinen Geschäftsbedingungen der conova communications GmbH, http://www.conova.com/de/agb/
smime.p7s
Description: S/MIME cryptographic signature