package apache2 2.4.29-1ubuntu4.3 failed to install/upgrade: installed apache2 package post-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache2 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
.....ERROR: hook /usr/share/
Traceback (most recent call last):
File "/usr/lib/
symb[
File "/usr/share/
check_
File "/usr/share/
trim_
File "/usr/share/
report[
File "/usr/share/
report[
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe2 in position 19552: invalid continuation byte
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: apache2 2.4.29-1ubuntu4.3
ProcVersionSign
Uname: Linux 4.4.0-116-generic x86_64
Apache2ConfdDir
Apache2Modules: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
ApportVersion: 2.20.9-0ubuntu7.3
Architecture: amd64
Date: Tue Sep 18 19:43:19 2018
ErrorMessage: installed apache2 package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2018-09-12 (5 days ago)
InstallationMedia: Ubuntu-Server 16.04.4 LTS "Xenial Xerus" - Release amd64 (20180228)
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3ubuntu1
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageV
dpkg 1.19.0.5ubuntu2
apt 1.6.3ubuntu0.1
SourcePackage: apache2
Title: package apache2 2.4.29-1ubuntu4.3 failed to install/upgrade: installed apache2 package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to bionic on 2018-09-18 (0 days ago)
modified.
mtime.conffile.
Thanks for filing this bug in Ubuntu.
This is the error that was logged by dpkg: mods-enabled/ reqtimeout. load is a real file, not touching it^M
ERROR: Module reqtimeout not properly enabled: /etc/apache2/
^[[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.