How to force install .deb package

In certain contexts debian packages are reluctant to install using gdebi or software center due to dependencies problem. In that case, you can install .deb file using following command,

dpkg --force-all -i PackageName

e.g. dpkg --force-all -i google-chrome-stable_current_i386.deb

1 comment:

  1. Thanks, google-chrome i386 is exactly what I am using this for as it keeps getting uninstalled somehow.