Arch Linux Notes
My usual scribblings of notes on stuff I rarely do an so constantly forget!
Common Upgrade Problems
Signature errors can often be fixed by installing the latest keyring package. This will bring in the latest keys into GPG, and will verify the signature dependencies.
sudo pacman -S archlinux-keyring
# Re-run the upgrade
sudo pacman -Syu
Common pacman flags
- -S <pkg_name> Install package
- -R <pkg_name> Remove package
- -Si <pkg_name> Package info
- -Sii <pkg_name> Package extra info
- -Ss str1 str2 ... Search available packages
- -Qs str1 str2 ... Search installed packages
Handy utilities
- pactree From pacman-contrib, the pactree command shows package dependencies. Adding the -r flag shows the package dependants.