Skip to content

Instantly share code, notes, and snippets.

@dapize
Last active April 25, 2021 05:00
Show Gist options
  • Select an option

  • Save dapize/6c74cc78b2b096496057355105915d0a to your computer and use it in GitHub Desktop.

Select an option

Save dapize/6c74cc78b2b096496057355105915d0a to your computer and use it in GitHub Desktop.
dpkg error processing package
# run this command to remove broken packages in Debian and derivates.
# package_name have to be the name of the package, for example: com.brave.brave-browser
sudo dpkg --remove --force-remove-reinstreq package_name
sudo apt-get update
# EXTRA: if we need see the package with errors we can use this commands:
sudo apt-get clean
sudo dpkg --configure -a
sudo apt-get autoremove
sudo apt-get upgrade && sudo apt-get -f install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment