I ran into a situation where I was installing a Ubuntu server for a project. This project would have the server without a GUI interface. I needed to install a software package that had software dependencies. dpkg utilities do not follow or solve package dependencies. I needed a command line utility to install packages that resolved dependencies.

gdebi is that tool. It is in the gdebi-core package.