当我输入时,sudo apt update
我得到了这个响应:
Get:1 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease [6,242 B]
Ign:2 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:3 http://dl.google.com/linux/chrome/deb stable Release
Err:1 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
Hit:5 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease
Hit:6 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:7 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:8 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:9 http://archive.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
W: An error occurred during …
Run Code Online (Sandbox Code Playgroud) 我怎么能忽略这条消息?
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。
我在联想 flex 11 上运行 19.10,一切似乎都运行顺利。我定期检查更新并经常安装一些新的东西。好吧,今天我检查了更新并收到消息“无法加载存储库信息”。我的网络连接很好......你好,我的问题是在这里......那么发生了什么?获取电子邮件工作,网上冲浪工作,流工作,但我无法下载存储库信息。这是怎么回事?更新尝试的结果:
tom@tom-Lenovo-FLEX-6-11IGM:~$ sudo apt 更新 [sudo] 汤姆的密码: Ign:1 http://dl.google.com/linux/earth/deb stable InRelease 命中:2 http://us.archive.ubuntu.com/ubuntu eoan InRelease 命中:3 http://us.archive.ubuntu.com/ubuntu eoan-updates InRelease 命中:4 http://us.archive.ubuntu.com/ubuntu eoan-backports InRelease 获取:5 http://dl.google.com/linux/earth/deb 稳定版 [933 B] 获取:6 http://dl.google.com/linux/earth/deb stable Release.gpg [819 B] 命中:7 http://security.ubuntu.com/ubuntu eoan-security InRelease Ign:6 http://dl.google.com/linux/earth/deb stable Release.gpg 阅读包裹清单...完成 W:GPG 错误:http://dl.google.com/linux/earth/deb 稳定版本:无法验证以下签名,因为公钥不可用:NO_PUBKEY 78BD65473CB3BD13 E:存储库“http://dl.google.com/linux/earth/deb stable Release”未签名。 N:无法安全地从此类存储库进行更新,因此默认情况下禁用。 N:有关存储库创建和用户配置详细信息,请参阅 apt-secure(8) 联机帮助页。 tom@tom-Lenovo-FLEX-6-11IGM:~$
我几乎完全无知,但在我看来,更新所在的地方可能缺少某些东西 - 我很感激我在这里得到的帮助。
通过 VirtualBox,即使在不同的机器上,我也有 2 个 Ubuntu Server 20.04 实例运行,并具有以下信息:
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
Run Code Online (Sandbox Code Playgroud)
两者都安装了 MySQL,其说明与我几个月前使用的说明相同。当我这样做时,突然间,对于其中一个人来说,sudo apt update
出现以下内容:
Get:2 http://repo.mysql.com/apt/ubuntu focal InRelease [12.9 kB]
Hit:3 http://pe.archive.ubuntu.com/ubuntu focal InRelease
Ign:4 https://packages.erlang-solutions.com/ubuntu focal InRelease
Hit:5 https://packages.erlang-solutions.com/ubuntu focal Release
Get:6 http://pe.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Err:2 http://repo.mysql.com/apt/ubuntu focal InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 467B942D3A79BD29
Get:9 http://pe.archive.ubuntu.com/ubuntu focal-backports InRelease [108 …
Run Code Online (Sandbox Code Playgroud) $ sudo apt-get update
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://extras.ubuntu.com maverick Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192
W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/maverick/Release
W: Some index files failed to download, they have been ignored, or old ones used instead.
Run Code Online (Sandbox Code Playgroud)
如何删除这些警告?apt-get update
从我全新的 10.10 安装开始,运行就给了我这些警告。
GPG 错误:http ://extras.ubuntu.com natty 发布:无法验证以下签名,因为公钥不可用:NO_PUBKEY 16126D3A3E5C1192
我想我在使用专家模式安装程序时选择从 extras.ubuntu.com 安装东西,但是在执行apt-get update
. 我该如何解决?
我知道这听起来很奇怪,但我有点想尝试一下。
在过去的几个月里,我有点把 Ubuntu 变成了我自己的小弗兰肯斯坦的怪物,但无论你告诉我什么都应该仍然有效。
apt-get 更新返回:
W: GPG error: http://pl.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: http://pl.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://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://deb.torproject.org trusty InRelease: The following signatures couldn't …
Run Code Online (Sandbox Code Playgroud) 在我最近的一次更新之后,我注意到我的第 3 方存储库由于 apt 的错误而无法更新NO_PUBKEY
。我花了几个小时才找到修复程序,但所有修复程序都建议使用 apt-key。然而,这不再有效,因为它已被弃用。因此,我手动复制了一个存储库的密钥/usr/share/keyrings
作为/etc/apt/trusted.gpg.d
测试,这似乎有效。现在该应用程序一切正常。
我的问题是:是否有一个新功能可以从密钥服务器下载密钥而不是该apt-key
功能?大多数站点尚未意识到此更改并apt-key
为其存储库密钥提供命令,但现在仅返回错误。以及如何更新我当前的第三方存储库密钥,因为只有他们有问题?我应该cp
像上面提到的那样手动按键,还是有更有效的解决方案?
编辑:我是 20.10。Apt-key 适用于 20.04,但之后就不行了。
$ sudo apt update
Err:9 http://repo.vivaldi.com/stable/deb stable Release.gpg
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9658E8044A3AA3D6
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://repo.vivaldi.com/stable/deb stable Release: The following signatures couldn't be verified because the …
Run Code Online (Sandbox Code Playgroud)