1. 程式人生 > 其它 >解決GPG error: The following signatures couldn‘t be verified because the public key is not available

解決GPG error: The following signatures couldn‘t be verified because the public key is not available

技術標籤:問題解決方法

原文:https://blog.csdn.net/zhuiqiuzhuoyue583/article/details/90597499

將Ubuntu的源修改為國內源:https://blog.csdn.net/zhuiqiuzhuoyue583/article/details/88777483

將Ubuntu的源修改為國內源的之後,執行

sudo apt-get update
  

出現問題:

GPG error: The following signatures couldn't be verified because the public key is not available

由評論區得到的另一種方法,親測有用: sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com XXXX