From unix.stackexchange.com/questions/159094/how-to-install-a-deb-file-by-dpkg-i-or-by-apt/159114:
# apt-get install -f
Useful to run after installing a package manually from a .deb
file.
# apt-cache madison ${PACKAGE_NAME} # apt-get install ${PACKAGE_NAME}=${VERSION_NO} # or other numerical comparison operators