Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

Is there an easy fix for errors such as this one?

enter image description here

Because usually I end up going to and installing them one by one, since apt-get -f install rarely does the trick. And if those dependencies have missing dependencies as well (and so on) that can end up taking quite some time.

You'd think this process could be automated.. or is this the only way to go?

share|improve this question
Do aptitude (console) or synaptic (gui) do a better job of resolving these for you? – adric Apr 13 '12 at 12:17
How does this happen to you? Did you download php5-fpm Debian 6 Squeeze package manually from and are now trying to install it to Debian 5 Lenny? If so, that's not recommended at all. – Janne Pikkarainen Apr 13 '12 at 12:34
@JannePikkarainen Actually, I used the dotdeb-stable repo. I guess that supports debian-squeeze only... Am I to understand that if an error like this ever occurs, and it can't fix itself, it's always due to an incompatibility like that? Because otherwise I guess I just used a bad example. – natli Apr 13 '12 at 14:23
up vote 1 down vote accepted

You must manually unwind the dependencies and figure out what is causing the conflict, then fix it (adric suggested using aptitude or synaptic to help you, but I doubt they'll get you much further along than apt-get would...).

Note that you probably got into this mess by manually installing packages instead of using the apt system -- If you think you know better than the tools provided you need to be prepared to fix things like this yourself, otherwise you should not start down the path of overriding the system and doing things manually, because this is where that path always ends.

share|improve this answer
I'm happy as long as I'm not spending more time on it than I have to. Which I apparently am not, thanks! – natli Apr 13 '12 at 22:09

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.