I want to install php5-mcrypt, I used this command to install mcrypt on my ubuntu 14.04 server:
sudo apt-get install php5-mcrypt
and I'm getting the error like this,
The following packages have unmet dependencies:
php5-mcrypt : Depends: phpapi-20100525
Depends: php5-common (= 5.4.35-1~dotdeb.1) but 5.5.9+dfsg-1ubuntu4.5 is to be installed
E: Unable to correct problems, you have held broken packages.
please help me.
Asked
Active
Viewed 1,642 times
0

programmer
- 11
1 Answers
1
I found answer to my question.
I removed php completely in my system using sudo apt-get -y purge php.*
and install php again on my system.
reference to remove php:
How to completely remove PHP?

programmer
- 11
apt-get update --fix-missing && apt-get install -f
– aroll605 Dec 11 '14 at 04:32