You are not logged in.
Pages: 1
Is there some flag to pacman by which pacman will automatically import new gpg keys that are needed?
Or a way to determine, prior to running pacman upgrade, that new keys need to be imported, and do that as a separate command?
I'd like to script something and my script just bailed out on me with any unexpected "downloading required keys...
:: Import PGP key ... [Y/n] Y"
Offline
Maybe use pacman-key first?
Offline
Is that what you mean?
# pacman-key --refresh-keys
(never have used pacman-key directly)
Offline
Pretty sure that is the one. It has been a while since I hvae needed it though, so I don't recall if there is a confirmation dialog or not. Typically the archlinux-keyring package will have everything you need. There has been exceptions of course, but for the most part it works just fine as is.
Offline
You can configure /etc/pacman.d/gnupg/gpg.conf to automatically download the keys.
Offline
I'd just run
# pacman -Sy archlinux-keyring
# pacman -Suand everything will be fine.
Offline
Pages: 1