Removing Partially Installed Packages with Unmet Dependencies

If you run into dependency issues while installing a package, and then want to remove the partially installed package, follow the process below:

  1. Run an audit to show packages with unmet dependencies: dpkg --audit
  2. Force remove offending package(s): dpkg --remove --force-all [name of package]