akx*_*xer 6 apt ppa signature gnupg 14.04
这些是我尝试了 Internet 上提到的几个修复程序后仍然存在的签名错误
W: GPG error: http://deb.opera.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 517590D9A8492E35
W: GPG error: http://archive.canonical.com trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
W: GPG error: http://extras.ubuntu.com trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192
W: GPG error: http://linux.dropbox.com trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FC918B335044912E
W: GPG error: http://dl.google.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A040830F7FAC5991
W: GPG error: http://dl.google.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A040830F7FAC5991
W: GPG error: http://archive.ubuntu.com trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
W: GPG error: https://private-ppa.launchpad.net raring Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E131728675254D99
W: GPG error: http://archive.ubuntu.com trusty-updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
W: GPG error: http://archive.ubuntu.com trusty-backports Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
W: GPG error: https://private-ppa.launchpad.net trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E131728675254D99
W: GPG error: http://archive.ubuntu.com trusty-security Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
W: GPG error: http://ppa.launchpad.net trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0CC3AFF5CEDF0F40
W: GPG error: http://ppa.launchpad.net trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 32B18A1260D8DA0B
Run Code Online (Sandbox Code Playgroud)
我一直在四处寻找解决方案,但没有任何效果,请提出可以解决这些错误的建议。
我已经尝试过的:
所以请不要为这些方法标记重复并建议其他方法。
Xen*_*050 14
您的 apt 密钥或添加/更改存储库或其他内容出现问题...我不知道是什么
但这里有一些针对您症状的创可贴解决方案:
只需添加缺少的键,此命令应该可以工作(用您的实际缺少的键替换“2EA8 ...”字符串)
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2EA8F35793D8809A
Run Code Online (Sandbox Code Playgroud)
--keyserver keys.gnupg.net
如果有任何不在 ubuntu 上的可以尝试
[参见https://askubuntu.com/a/141088/129271 ]
看起来你没有正确添加一些 PPA,根据 Ubuntu 的说明,它应该自己“获取 PPA 的密钥”。这是来自https://help.ubuntu.com/community/Repositories/Ubuntu的终端说明
第二步:打开终端,输入:
$ sudo add-apt-repository ppa:user/ppa-name
Run Code Online (Sandbox Code Playgroud)
将“ppa:user/ppa-name”替换为您在上面提到的 PPA 位置。
您的系统现在将获取 PPA 的密钥。这使您的 Ubuntu 系统能够验证 PPA 中的软件包自构建以来没有受到干扰。
如果您的软件源出现问题,这应该将它们恢复为“默认值”。我会做一切的备份副本中/ect/apt/sources.list
和/ect/apt/sources.list.d/
第一,以防万一。不知道您的 Ubuntu 版本是什么,我不确定“默认值”应该是什么,或者您是否添加了额外的 PPA 或其他来源。运行lsb_release -a
应该告诉你你的版本和“代号”
只需将它们复制到某个地方的备份文件夹,这应该可以工作:
sudo mv /etc/apt/sources.list /etc/apt/sources.list.old
sudo mv /etc/apt/sources.list.d /etc/apt/sources.list.d.old
sources.list
对于 Ubuntu,如果你这样做,它应该生成一个新的新sources.list
文件
删除旧文件(sudo rm /etc/apt/sources.list
及sudo rm -R /etc/apt/sources.list.d
但先备份)。
然后执行以下任一操作:
运行软件源(sudo software-properties-gtk
或sudo software-sources
)选择/选中一些存储库,选择一个服务器并更新。
使用您的版本和国家/地区(选择本地镜像)在http://repogen.simplylinux.ch/ 上生成一个新的,然后gksudo gedit /etc/apt/sources.list
使用终端或在终端中将其复制并粘贴到新的 sources.list中sudo nano /etc/apt/sources.list
站点http://repogen.simplylinux.ch/也有很多可选的 PPA,看起来非常有用。[礼貌我如何恢复默认存储库?]
在知道 apt 不能处理超过 40 个密钥后,我开始从 /etc/apt/trusted.gpg.d 中删除 ppa 及其密钥
这样做之后,我更新了 apt-cache 并解决了我的问题。