spacemacs 安装中gnu 的key 出错,有遇到的吗?

Failed to verify signature archive-contents.sig: No public key for 066DAFCB81E42C40 created at 2019-09-26T05:10:03+0800 using RSA Command output: gpg: Signature made Thu 26 Sep 2019 05:10:03 AM CST gpg: using RSA key C433554766D3DDC64221BFAA066DAFCB81E42C40 gpg: Can’t check signature: No public key

使用 26.3 没有问题,否则需要自己更新 key。参考 gnu-elpa-keyring-update 包。



Ubuntu apt源里的还是25.2,snap 源速度不超过10k/s,这只能自己编译了?

it works for me

  1. set package-check-signature to nil , e.g. M-: (setq package-check-signature nil) RET
  2. download the package gnu-elpa-keyring-update and run the function with the same name, e.g. M-x package-install RET gnu-elpa-keyring-update RET .
  3. reset package-check-signature to the default value allow-unsigned