Skip to content

Instantly share code, notes, and snippets.

@sxiii
Created May 20, 2021 21:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sxiii/427e895bf76046a31d3a2d9f3bc76b6b to your computer and use it in GitHub Desktop.
Save sxiii/427e895bf76046a31d3a2d9f3bc76b6b to your computer and use it in GitHub Desktop.
What to do if Arch / Manjaro linux has broken packages

If your Manjaro, ArchLinux, Garuda, EndeavourOS and other Arch-based distro has broken packages, use this command to reinstall them (via chroot or recovery CLI)


pacman -Syu $(pacman -Qnq) --overwrite "*"

Hope this helps. Good luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment