Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I can't install php5-apc:

~# apt-get install php5-apc
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-apc : Depends: php5-common (= 5.3.19-1~dotdeb.0) but 5.3.8-2 is to be installed
E: Broken packages

Have fresh Debian 6 and

deb squeeze all
deb-src squeeze all

in source.list.

P. S. I'm not very experienced—just trying to set up a server by the tutorial.

share|improve this question
Are you sure you're up to date? apt-get update && apt-get upgrade – Michael Hampton Dec 18 '12 at 17:20
@MichaelHampton Yes, I'm. – YNT Dec 18 '12 at 22:07
I've got the same problem. Still not work. – user974312 Dec 23 '12 at 14:09

You may try downloading the debain package manually and try to install it. Go to link and select your system arch from the list given at the bottom to download.

Or you can also try editing source.list file and add the given below entry and try again.

deb squeeze main 
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.