apt-get update before trying to install missing dependencies.