Automatically installing dependencies for .deb packages

Adam Conrad adconrad at
Sun Apr 9 12:34:11 UTC 2006

Neil McLeod wrote:
> I used "dpkg -i freemind_0.8.0+01-4_all.deb" to install FreeMind, but have
> about ten dependencies. Is there any way to install these dependencies
> automatically?

After your failed "dpkg -i foo.deb" attempt, follow it up with "apt-get
-f install", which will get apt to clean up the mess by either:

A) Installing the dependencies for foo.deb, if they're available.
B) Removing foo.deb, because the dependencies aren't available.

Assuming you're in the (A) position, that should make you happy. :)

... Adam

More information about the ubuntu-users mailing list