Arch Keys

Needed to install calibre on oregano, for a downloaded e-book. So, I found calibre in the Arch User Repository, AUR.

I’ve been using AUR a good deal, but I constantly forget what to do and have to look it up: copy the url for the git link, create a directory, git clone from the link. cd into the directory, non-root. Inspect the BUILDPKG for safety. Then:

makepkg -si 

Great. But (it has happened several times), I get a squawk about the gpg keys. Why is this? Look it up.

The problem seems to be that my “local” gpg keychain, in ~/.gnupg/pubring.gpg doesn’t have the keys for the ARCH devs, but the system keyring at /etc/pacman.d/gnupg/pubring.gpg does have all the right keys.

So I added to ~/.gnupg/pubring.gpg the specification:

keyring /etc/pacman.d/gnupg/pubring.gpg

Bingo. As always, this is an aide memoire for myself, not some great insight of interest to the world.