Debian: dpkg -i and Automatic Dependency Resolution

Practice



The gist: when installing a .deb package using the dpkg utility:

$ sudo dpkg -i mypackage.deb

it complains about unresolved dependencies. How can we try to resolve them automatically, without installing them manually?


So, after dpkg has complained at us, we run:

$ sudo apt-get -f install

which tries to install all the packages that are missing.


PS. Of course, it doesn't always work.

Comments

To leave a comment

If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Lectures and tutorial on "LINUX operating system"

Terms: LINUX operating system