# Arch Linux Packages ## Downgrade cached package pacman -U /var/cache/pacman/pkg/package-version... ## Cleaning cache paccache -r * `-k`: how many past versions of each package to keep, defaults to 3. * `-u`: target only uninstalled packages. # remove all versions of uninstalled packages paccache -ruk0 ## Troubleshooting failed installations Usually enough to update keyring: pacman -Sy archlinux-keyring Might need to update mirrorlist first if outdated: sudo pacman -Sy pacman-mirrorlist (this might put it in /etc/pacman.d/mirrorlist.pacnew, uncomment wanted mirrors there and remove the .pacnew suffix)