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

Because usually I end up going to packages.debian.org 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?