解决 gpg: key xxx: no user ID for key signature packet of class 10

有些 keyserver过时了需要更新,遂改变为其他 keyserver

nano /etc/pacman.d/gpg.conf
keyserver hkps://pgp.circl.lu

如果你安装了 yay或者其他 AUR Helper需要去导入 key你可以按照一下方法来操作

mkdir -p ~/.gnupg/
vi ~/.gnupg/gpg.conf

之后添加

keyserver hkps.pool.sks-keyservers.net

artixlinux.org论坛