相关疑难解决方法(0)

如何修复 GPG 错误“NO_PUBKEY”?

我使用 Software Sources 程序添加了一些额外的存储库。但是当我重新加载包数据库时,出现如下错误:

W:GPG 错误:http : //ppa.launchpad.net trusty InRelease:以下签名无法验证,因为公钥不可用:NO_PUBKEY 8BAF9A6F

apt-key根据官方的 Ubuntu 文档,我知道我可以在终端中修复它。但我希望以图形方式进行。有没有办法在不使用终端的情况下做到这一点?

apt gnupg

464
推荐指数
10
解决办法
79万
查看次数

如何处理软件中心中的“未经验证的来源”错误?

我通过软件中心尝试的任何安装都告诉我:

需要安装不受信任的软件包:该操作将要求安装来自未经身份验证的来源的软件包。

apt-get update从命令行做了一个,然后删除了密钥错误的软件源(我自己添加的 PPA),并在软件中心的软件源中取消选中它们,但无济于事。我不能再从软件中心安装任何东西——只能>从命令行使用 apt-get。

卸载/安装是唯一的选择吗?我不想破坏我拥有的其他 PPA。

附加信息:

这是来自 apt-get update 的粘贴:

Reading package lists... Done
W: GPG error: http://ppa.launchpad.net oneiric Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B725097B3ACC3965
W: GPG error: http://us.archive.ubuntu.com oneiric Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
Run Code Online (Sandbox Code Playgroud)

我试过apt-key update,没有效果(两个键不变)。

的输出apt-get updateapt-get upgrade,和中的内容/etc/apt/sources.list,可以发现这个引擎收录职位

software-center package-management authentication

120
推荐指数
3
解决办法
13万
查看次数

W:GPG 错误:http://ppa.launchpad.net 精确发布:由于公钥不可用,无法验证以下签名:

当我这样做时,我收到以下错误 sudo apt-get update

W: GPG error: http://ppa.launchpad.net precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6AF0E940624A220
Run Code Online (Sandbox Code Playgroud)

在阅读了这里的各种问题以及谷歌搜索后,我尝试了以下方法。

我试过

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6AF0E1940624A220
Run Code Online (Sandbox Code Playgroud)

它没有帮助。我也试过

sudo gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys
Run Code Online (Sandbox Code Playgroud)

认为端口 11371(默认)可能由于防火墙而被阻止。

我还尝试按如下方式重置所有内容

sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update && sudo apt-get upgrade
Run Code Online (Sandbox Code Playgroud)

我仍然遇到相同的错误或获取更新。我可以尝试任何其他可能的解决方案吗?

apt keyserver 12.04

46
推荐指数
1
解决办法
10万
查看次数

apt-get 更新后英特尔图形 ppa 错误

我怎么能忽略这条消息?

W: GPG error: https://download.01.org/gfx/ubuntu/16.04/main xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 56A3DEF863961D39
W: The repository 'https://download.01.org/gfx/ubuntu/16.04/main xenial InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Run Code Online (Sandbox Code Playgroud)

它来自英特尔更新 gfx。

apt graphics drivers

17
推荐指数
2
解决办法
2万
查看次数

W: GPG 错误:无法验证以下签名,因为公钥不可用

在我的 Ubuntu 14.04 上,我按照http://mirror.its.dal.ca/cran/bin/linux/ubuntu/README将以下内容添加到/etc/apt/sources.list

deb http://stat.ethz.ch/CRAN/bin/linux/ubuntu trusty/
Run Code Online (Sandbox Code Playgroud)

当我运行时sudo apt-get update,我收到此错误

W: GPG error: http://stat.ethz.ch trusty/ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 51716619E084DAB9
Run Code Online (Sandbox Code Playgroud)

整个输出在这篇文章的末尾。我想知道问题是什么意思以及如何解决?谢谢!

$ sudo apt-get update
Ign http://us.archive.ubuntu.com trusty InRelease
Ign http://us.archive.ubuntu.com trusty-updates InRelease                      
Ign http://dl.google.com stable InRelease                                      
Ign http://us.archive.ubuntu.com trusty-backports InRelease                    
Ign http://security.ubuntu.com trusty-security InRelease                       
Hit http://us.archive.ubuntu.com trusty Release.gpg                            
Hit http://security.ubuntu.com trusty-security Release.gpg                     
Hit http://us.archive.ubuntu.com trusty-updates Release.gpg                    
Ign http://dl.google.com stable InRelease                                      
Hit http://us.archive.ubuntu.com trusty-backports …
Run Code Online (Sandbox Code Playgroud)

apt r

14
推荐指数
1
解决办法
2万
查看次数