2020-01-02 00:04:35 +00:00
|
|
|
|
|
|
|
Packages are kept in /var/cache/pacman/pkg.
|
|
|
|
|
|
|
|
Delete unused old packages with:
|
|
|
|
|
|
|
|
> sudo pacman -Sc
|
|
|
|
|
|
|
|
Signatures are handled by the pacman-key, initially set up with:
|
|
|
|
|
|
|
|
> sudo pacman-key --populate archlinux
|
|
|
|
|
|
|
|
And refreshed with:
|
|
|
|
|
|
|
|
sudo pacman-key --refresh-keys
|
|
|
|
|
|
|
|
If you have usigned keys, you can refresh with:
|
|
|
|
|
|
|
|
> sudo pacman -Sc
|
|
|
|
|
|
|
|
or
|
|
|
|
|
|
|
|
> sudo pacman -Scc
|
|
|
|
|
|
|
|
Reset all keys with:
|
|
|
|
|
|
|
|
> sudo rm -r /etc/pacmand.d/gnupg/ && sudo pacman-key --init
|
|
|
|
|
|
|
|
If you're constantly getting 'everything corrupted, nothing upgraded', try running:
|
|
|
|
|
|
|
|
> sudo pacman -S archlinux-keyring
|
|
|
|
|
2020-03-13 19:33:04 +00:00
|
|
|
List all orphaned packages:
|
|
|
|
|
|
|
|
> sudo pacman -Qtdq
|