package php5-fpm 5.3.5-1ubuntu7.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #806782 reported by Mohammed Abdul Hafeez
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
php5 (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Unable to install php5-fpm

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: php5-fpm 5.3.5-1ubuntu7.2
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic-pae 2.6.38.2
Uname: Linux 2.6.38-8-generic-pae i686
NonfreeKernelModules: fglrx wl
AptOrdering:
 php5-fpm: Install
 php5-fpm: Configure
Architecture: i386
Date: Tue Jul 5 18:42:20 2011
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
SourcePackage: php5
Title: package php5-fpm 5.3.5-1ubuntu7.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to natty on 2011-04-29 (68 days ago)

Revision history for this message
Mohammed Abdul Hafeez (hafeez3000) wrote :
Revision history for this message
James Page (james-page) wrote :

Setting up php5-fpm (5.3.5-1ubuntu7.2) ...
update-rc.d: warning: php5-fpm stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (none)
 * Starting PHP5 FPM...  Please fix your configuration file...
Jul 05 18:42:20.781959 [ERROR] Unable to open file '/etc/php5/fpm/main.conf', errno=2
Jul 05 18:42:20.782001 [ERROR] failed to load configuration file '/etc/php5/fpm/main.conf'

[fail]
invoke-rc.d: initscript php5-fpm, action "start" failed.
dpkg: error processing php5-fpm (--configure):
 subprocess installed post-installation script returned error exit status 1

Changed in php5 (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Hi Mohammed. I know this was a long time ago. Do you still have the affected system? I'm guessing that you had installed php5-fpm before, then removed /etc/php5/fpm/main.conf , then removed the package (but not purged). dpkg respects a removed config file so the next time you install, it won't be "resurrected".

If thats the case, you could have done

dpkg --force-confmiss -i /var/cache/apt/archives/php5-fpm_5.3.5-1ubuntu7.2_i386.deb

Which would have brought back the config file.

Please try that and report back if you are still affected. Thanks!

Changed in php5 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for php5 (Ubuntu) because there has been no activity for 60 days.]

Changed in php5 (Ubuntu):
status: Incomplete → Expired
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.