package libapache2-mod-php5 5.3.10-1ubuntu3.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1097340 reported by Joshua Egan
6
This bug affects 1 person
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/php5/php.ini-production file is missing. I don't have a php5 folder in /usr/share, so I'm not sure where the install went wrong.

Thanks,
Josh

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: libapache2-mod-php5 5.3.10-1ubuntu3.4
ProcVersionSignature: Ubuntu 3.2.0-35.55-generic-pae 3.2.34
Uname: Linux 3.2.0-35-generic-pae i686
NonfreeKernelModules: fglrx
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)

Revision history for this message
Joshua Egan (josh-egan145) wrote :
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

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.

Changed in php5 (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.