Failed to verify signature archive-contents.sig:
No public key for 066DAFCB81E42C40 created at 2020-08-04T05:05:02+0800 using RSA
Command output:
gpg: keyblock resource '/d/Users/home/d:/Users/home/.emacs.d/elpa/gnupg/pubring.kbx': No such file or directory
gpg: Signature made Tue Aug 4 05:05:02 2020
gpg: using RSA key C433554766D3DDC64221BFAA066DAFCB81E42C40
gpg: Can't check signature: No public key
Failed to verify signature archive-contents.sig:
No public key for 066DAFCB81E42C40 created at 2021-06-07T17:05:02+0800 using RSA
Command output:
gpg: keyblock resource ‘/d/dev/temp/d:/dev/et1/.emacs.d/elpa/gnupg/pubring.kbx’: No such file or directory
gpg: Signature made Mon Jun 7 17:05:02 2021
gpg: using RSA key C433554766D3DDC64221BFAA066DAFCB81E42C40
gpg: Can’t check signature: No public key
在这个帖子中有线索:
Failure to start Spacemacs following upgrade to Emacs 27.1 #13866Failure to start Spacemacs following upgrade to Emacs 27.1 · Issue #13866 · syl20bnr/spacemacs · GitHub
然后从帖子中找到最详细的解释在这个帖子:
GNU bug report logs - #42984 27.1; package-list results in error while updating archive due to malformed path
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=42984
所以如果是在快捷方式中添加 msys2 的路径的话,要把 mingw64 的放在前面,而如果是在 emacs 的启动文件中 add-list 到 exec-path 的话,要把 mingw64 放在后面添加,因为是从头上添加的。