[Bug 1707375] Re: package apache2 2.4.7-1ubuntu4.16 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Andreas Hasenack
andreas at canonical.com
Mon Jul 31 17:27:15 UTC 2017
Thanks for filing this bug in Ubuntu.
This is possibly the error:
Setting up apache2 (2.4.7-1ubuntu4.16) ...
ERROR: Module mpm_event is enabled - cannot proceed due to conflicts. It needs to be disabled first!
dpkg: error processing package apache2 (--configure):
subprocess installed post-installation script returned error exit status 1
That error message is printed when a2enmod is called to enable another
mpm module without disabling the current one first.
For example:
ubuntu at trusty-apache:~$ sudo a2query -M
event
ubuntu at trusty-apache:~$ sudo a2enmod mpm_prefork
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:
Somehow you got yourself into that situation during package
installation.
Could you please provide the following:
- output of "sudo a2query -M"
- output of "sudo /usr/sbin/apachectl -D DUMP_MODULES" (might fail, as it did fail when apport opened this bug)
- ls -la /etc/apache2/mods-enabled/
- dpkg -l|grep apache
Thanks
** Changed in: apache2 (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in Ubuntu.
https://bugs.launchpad.net/bugs/1707375
Title:
package apache2 2.4.7-1ubuntu4.16 failed to install/upgrade:
subprocess installed post-installation script returned error exit
status 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1707375/+subscriptions
More information about the Ubuntu-server-bugs
mailing list