博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
GPG error: the public key is not available
阅读量:6474 次
发布时间:2019-06-23

本文共 1145 字,大约阅读时间需要 3 分钟。

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

I have had it happen on several occasions where I try to update software and I get a GPG error like this:

$ sudo apt-get updateW: GPG error: http://inverse.ca lucid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 06FD0B51C1FF59BB

If you ever run into an issue similar to this when running apt-get update, take the GPG key fingerprint (in the above example the fingerprint is 06FD0B51C1FF59BB) and attempt to retrieve it from the Ubuntu keyserver, then add it to your  aptitude keys:

$ gpg --keyserver keyserver.ubuntu.com --recv 06FD0B51C1FF59BBgpg: requesting key C1FF59BB from hkp server keyserver.ubuntu.comgpg: key C1FF59BB: public key "Inverse Support (package signing) 
" importedgpg: Total number processed: 1gpg:               imported: 1

So, the key was found, now add it to our aptitude keys:

$ gpg --export --armor 06FD0B51C1FF59BB | sudo apt-key add -

Now, when you run apt-get update you should have no errors.

转载于:https://www.cnblogs.com/MagicLetters/p/4382870.html

你可能感兴趣的文章
SHOW CREATE DATABASE Syntax
查看>>
rsync常见问题及解决办法
查看>>
MySQL日期 专题
查看>>
C#中禁止程序多开
查看>>
分布式缓存Redis使用以及原理
查看>>
Activity竟然有两个onCreate方法,可别用错了
查看>>
Linux经常使用命令(十六) - whereis
查看>>
插件编译 版本问题
查看>>
android中TextView的阴影设置
查看>>
core dump相关
查看>>
Linux五种IO模型
查看>>
Bootstrap技术: 模式对话框的使用
查看>>
小知识,用myeclipes找jar
查看>>
in-list expansion
查看>>
设计原则(四):接口隔离原则
查看>>
基于react的滑动图片验证码组件
查看>>
iOS快速清除全部的消息推送
查看>>
java单例模式深度解析
查看>>
【学习笔记】阿里云Centos7.4下配置Nginx
查看>>
VuePress手把手一小時快速踩坑
查看>>