Skip to main content

Terminal Commands

To Update:

Run these commands in order:

yay -Syy
yay -S archlinux-keyring
yay -Syu

(Note: if you are prompted to add GPG signatures after downloading updated packages in command 3, cancel the upgrade and re-start from the first command!

Why 3 commands and not yay -Syyu?

Often when upgrading packages, a new contributer is added, with a new GPG signature. Updating the core repositories, then the archlinux-keyring package, ensures that all the correct GPG signatures are installed before upgrading. Skipping these steps may cause some upgrades to fail, as the updated packages may have new signers that are not yet in the system's keyring, and thus the integrity checks will fail.