php5-memcache install error


I was trying to install memcache on my ec2 server. I have setup server with your tutorials and everything works fine. One thing I did different was to use RDS for mysql. So there’s no mysql server running on my VPS.

When I run following command
sudo apt-get install memcached php5-memcache

I get this error
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-memcache : Depends: phpapi-20121212+lfs
E: Unable to correct problems, you have held broken packages.

I have no idea what to do next. Hoping for some help.

Hello Tharindu

This issue is handled on

Thanks Mitesh,

I can’t login to my GitHub account for some reason. So I’ll just ask it here. You said that Ubuntu official repository provides same package. Can you tell me how to install it?


@Tharindu Kumara

Provide me the ssh login details so i can debug and fix the issue