I try to install php5-fpm
package but I have this information:
The following packages have unmet dependencies:
php5-fpm : Depends: php5-common (= 5.5.7+dfsg-1+sury.org~quantal+1) but 5.3.10-1ubuntu3 is to be installed
E: Unable to correct problems, you have held broken packages.
Here is full terminal output:
root@myserv /home/pw # sudo apt-get install php5-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
php5-common is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 43 not upgraded.
and:
root@myserv /home/pw # sudo apt-get install php5-fpm --fix-missing --fix-broken
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
php5-fpm : Depends: php5-common (= 5.5.7+dfsg-1+sury.org~quantal+1) but 5.3.10-1ubuntu3 is to be installed
E: Unable to correct problems, you have held broken packages.
How to fix it?
sudo apt-get install php5-fpm
I have the same error/information – user3207076 Jan 23 '14 at 10:23sudo apt-get install aptitude && sudo aptitude install php5-fpm
– Avinash Raj Jan 23 '14 at 10:25natty
(11.04) version? – Avinash Raj Jan 23 '14 at 10:29sudo apt-get install aptitude && sudo aptitude install php5-fpm
this works – user3207076 Jan 23 '14 at 12:09