首页 > Windows开发 > 详细

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

时间:2020-12-03 09:49:18      阅读:41      评论:0      收藏:0      [点我收藏+]

转自解决GPG error: The following signatures couldn‘t be verified because the public key is not available_追求卓越583的博客-CSDN博客

将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

技术分享图片

解决方法:

  1.  
    sudo gpg --keyserver keyserver.ubuntu.com --recv 5523BAEEB01FA116 //(这个公钥根据提示来写的)
  2.  
     
  3.  
    sudo gpg --export --armor 5523BAEEB01FA116 | sudo apt-key add -

再执行下面命令,就不报错了。

sudo apt-get update

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

原文:https://www.cnblogs.com/ellisonzhang/p/14077527.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!