package php5-fpm 5.3.5-1ubuntu6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php5 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: php5
I just selected php5-fpm (I didn't select php5 metapackage because I don't want to use apache2) in synaptic and click install.
ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: php5-fpm 5.3.5-1ubuntu6
ProcVersionSign
Uname: Linux 2.6.38-8-generic i686
NonfreeKernelMo
Architecture: i386
Date: Sat Apr 9 21:33:06 2011
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110302)
SourcePackage: php5
Title: package php5-fpm 5.3.5-1ubuntu6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to natty on 2011-03-25 (15 days ago)
I have found a problem. This script check /var/www directory and return 1 if directory doesn't exists.
I think directory doesn't exists in my environment because I didn't install php5 meta-package or apache2. I wanted to install Nginx+PHP only.
How about remove this test?
Workaround for me:
Create /var/www directory and repeat installation.