Synchronize package databases on Arch.
Section: Pacman and Zypper
Refresh package databases
bash
bash
sudo pacman -SyExplanation
Often paired with `-u` for a full system update.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Pacman and Zypper