package libapache2-mod-php5 5.3.10-1ubuntu3.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php5 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I'm trying to get LAMP running, and ran into this error. It says that my /usr/share/
Thanks,
Josh
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: libapache2-mod-php5 5.3.10-1ubuntu3.4
ProcVersionSign
Uname: Linux 3.2.0-35-
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu15.1
Architecture: i386
Date: Tue Jan 8 09:15:14 2013
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release i386 (20120817.3)
MarkForUpload: True
SourcePackage: php5
Title: package libapache2-mod-php5 5.3.10-1ubuntu3.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
Thanks for reporting this bug. The missing file belongs to php5-common package, which is properly depended upon by libapache2- mod-php5. It would appear to have been manually deleted. You can cause it to be reinstalled by doing:
sudo apt-get install --reinstall php5-common
After this, you can do
sudo apt-get install -f
to complete the failed installation of libapache2- mod-php5. Please let us know if this does not solve your problem.