[Bug 1793190] Re: package apache2 2.4.29-1ubuntu4.3 failed to install/upgrade: installed apache2 package post-installation script subprocess returned error exit status 1

Andreas Hasenack andreas at canonical.com
Mon Oct 1 14:59:09 UTC 2018


Thanks for filing this bug in Ubuntu.

This is the error that was logged by dpkg:
ERROR: Module reqtimeout not properly enabled: /etc/apache2/mods-enabled/reqtimeout.load is a real file, not touching it^M
^[[1mdpkg:^[[0m errore nell'elaborare il pacchetto apache2 (--configure):^M
 installed apache2 package post-installation script subprocess returned error exit status 1^M

In the Ubuntu packaging layout, the mods-enabled directory should only
contain symlinks to the ../mods-available directory. Which modules are
enabled or not is controlled by the a2enmod/a2dismod pair of tools,
which manage these symlinks.

It looks like in your case you have an actual file in mods-enabled
instead of a symlink.

Could you please verify this:

ls -la /etc/apache2/mods-{available,enabled}/reqtimeout.load

If you get two files back, please compare them. If you made any changes
to the one in the mods-enabled directory, please make these changes in
the file from the mods-available directory instead, then remove the one
from mods-enabled and use "sudo a2enmod reqtimeout" to properly enable
it.


** Changed in: apache2 (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to apache2 in Ubuntu.
https://bugs.launchpad.net/bugs/1793190

Title:
  package apache2 2.4.29-1ubuntu4.3 failed to install/upgrade: installed
  apache2 package post-installation script subprocess returned error
  exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1793190/+subscriptions



More information about the Ubuntu-server-bugs mailing list