Skip to content

Instantly share code, notes, and snippets.

@bandit145
Created January 13, 2017 17:13
Show Gist options
  • Save bandit145/6014eac7fb435e07e6b0482b5254b0f8 to your computer and use it in GitHub Desktop.
Save bandit145/6014eac7fb435e07e6b0482b5254b0f8 to your computer and use it in GitHub Desktop.
Manually remove a broken package
sudo mv /var/lib/dpkg/info/<package>.* /tmp/
sudo dpkg --remove --force-remove-reinstreq <package>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment