dpkg returns error 10 when processing package php5-common
- by Jesse
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?