Если вылазит ошибка, то решить можно так
sudo pacman-key —init
sudo pacman-key —populate archlinux
This command will initialize and populate the Arch Linux keyring with the latest keys.
After updating the keyring, refresh your package database using:
sudo pacman -Sy