dpkg returns error 10 when processing package php5-common

Posted by Jesse on Ask Ubuntu See other posts from Ask Ubuntu or by Jesse
Published on 2013-10-17T15:43:53Z Indexed on 2013/10/17 16:24 UTC
Read the original article Hit count: 251

Filed under:
|

I'm having trouble installing php in 13.04. Seems like the package manager can't (re)configure the php package. I already tried purging every php* package, removing the cache files in /var/cache/aptbut and other solutions I've found but nothing seems to work. Here's the error output:

$ sudo dpkg --configure -a                                                         
Setting up php5-common (5.4.9-4ubuntu2.3) ...
dpkg: error processing php5-common (--configure):
subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
php5-common

sudo apt-get install -f sudo apt-get install php5-common php5 they all return the same error. How can I fix this?

© Ask Ubuntu or respective owner

Related posts about dpkg

Related posts about php