package apache2 2.4.7-1ubuntu4.10 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Occured when upgrade to 14.02
ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: apache2 2.4.7-1ubuntu4.10
ProcVersionSign
Uname: Linux 3.2.0-26-generic x86_64
Apache2ConfdDir
Apache2Modules:
Error: command ['/usr/
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
Action '-D DUMP_MODULES' failed.
The Apache error log may have more information.
ApportVersion: 2.14.1-0ubuntu3.20
AptOrdering:
apache2: Configure
apache2-
Architecture: amd64
Date: Tue May 17 03:13:58 2016
DpkgHistoryLog: Start-Date: 2016-05-17 03:13:56
DpkgTerminalLog:
Setting up apache2 (2.4.7-1ubuntu4.10) ...
ERROR: Module musicindex does not exist!
dpkg: error processing package apache2 (--configure):
subprocess installed post-installation script returned error exit status 1
DuplicateSignature: package:
ErrorMessage: subprocess installed post-installation script returned error exit status 1
RelatedPackageV
dpkg 1.17.5ubuntu5.6
apt 1.0.1ubuntu2.13
SourcePackage: apache2
Title: package apache2 2.4.7-1ubuntu4.10 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to trusty on 2016-05-17 (0 days ago)
error.log:
[Tue May 17 01:42:56 2016] [notice] Apache/2.2.22 (Ubuntu) mod_musicindex/
[Tue May 17 01:50:55 2016] [notice] caught SIGTERM, shutting down
tags: | removed: need-duplicate-check |
Somehow my mods file were missing.
I fixed by these commands: apache2/ modules/ mod_musicindex. so" > /etc/apache2/ mods-available/ musicindex. load mods-enabled available/ musicindex. conf available/ musicindex. load
sudo su
echo "LoadModule musicindex_module /usr/lib/
cd /etc/apache2/
ln -s ../mods-
ln -s ../mods-