This often happens to me. I go to install a program and it says I am missing certain dependencies. Then I run apt-get build-dep and get an error message like the following:
sudo apt-get build-dep gnome-shell
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have unmet dependencies:
libgjs-dev: Depends: xulrunner-dev (< 1.9.2.4~) but 1.9.2.10+build1+nobinonly-0ubuntu0.10.04.1 is to be installed
librsvg2-dev: Depends: librsvg2-2 (= 2.26.2-0ubuntu1) but 2.26.3-0ubuntu1 is to be installed
E: Build-dependencies for gnome-shell could not be satisfied.
What should I do to fix this problem when I thought this was exactly the kind of problem build-dep was designed to fix. Thanks.