我不再需要服务器密钥环中的密钥。是否可以删除它?我使用以下命令添加了密钥:
curl http://repo.varnish-cache.org/debian/GPG-key.txt | apt-key add -
Run Code Online (Sandbox Code Playgroud)
谢谢你的帮助
我正在尝试通过简单地执行来安装 bitcoind sudo apt-get install bitcoind,但是我收到此错误消息,指出以下软件包无法通过身份验证:
libdb5.1++ libcrypto++9 bitcoind
Run Code Online (Sandbox Code Playgroud)
我可以简单地安装它们而无需对其进行身份验证,但是由于该程序可能会处理金钱,因此我希望它们是正确的。所以我在 AskUbuntu 上找到了这个解决方案,它建议执行以下操作:
$ sudo apt-key update
$ sudo apt-get update
Run Code Online (Sandbox Code Playgroud)
在第一个命令之后,它列出了四个键,它说它们都保持不变。第二个命令只是执行通常的操作,但它以一条消息结束,指出存在 GPG 错误。在一些blabla之后,它然后说以下签名无效(从荷兰语自由翻译):
BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key <ftpmaster@ubuntu.com>
BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
Run Code Online (Sandbox Code Playgroud)
并且无法验证以下签名,因为公钥不可用:
NO_PUBKEY 1F968B3903D886E7
Run Code Online (Sandbox Code Playgroud)
并且以下签名无效:
BADSIG E585066A30C18A2B Opera Software Archive Automatic Signing Key 2013 <packager@opera.com>
Run Code Online (Sandbox Code Playgroud)
从以下地址获取东西失败了:
http://extras.ubuntu.com/ubuntu/dists/precise/Release
Run Code Online (Sandbox Code Playgroud)
有谁知道我能做些什么来解决这个问题?
先上图:

然后我说“说什么!!..怎么..什么..??”。
基本上我都惊呆了。如何禁用/绕过/删除/分解不受信任的软件包的选项,不允许我安装它们。我的意思是它是 Wine 的 PPA。这就像 99% 的官方 ^^。
无论如何,问题是关于所有带有不受信任标志的 PPA。
好的,通常我每天运行一次 apt-get 更新和升级。现在突然它告诉我这个:
Fetched 666 B in 6s (105 B/s)
W: GPG error: ttp://archive.canonical.com oneiric Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: ttp://extras.ubuntu.com oneiric Release: The following signatures were invalid: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key <ftpmaster@ubuntu.com>
W: GPG error: ttp://gb.archive.ubuntu.com oneiric …Run Code Online (Sandbox Code Playgroud) 我遇到以下问题(为了删除超链接,我从地址中删除了“/”之一):
W: GPG error: http://archive.ubuntu.com oneiric Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
W: GPG error: http://ppa.launchpad.net oneiric Release: The following signatures were invalid: BADSIG B725097B3ACC3965 Launchpad lffl
W: GPG error: http://ppa.launchpad.net oneiric Release: The following signatures were invalid: BADSIG 4874D3686E80C6B7 Launchpad PPA for Banshee Team
W: GPG error: http://archive.getdeb.net jaunty-getdeb Release: The following signatures were invalid: BADSIG A8A515F046D7E7CF GetDeb Archive Automatic Signing Key <archive@getdeb.net>
W: GPG error: http://badgerports.org lucid Release: The following …Run Code Online (Sandbox Code Playgroud) 我正在运行apt-get update,我看到类似的错误
W: GPG error: http://us.archive.ubuntu.com precise Release:
The following signatures were invalid:
BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
Run Code Online (Sandbox Code Playgroud)
不难找到有关如何解决这些问题的说明,例如通过请求新密钥apt-key adv --recv-keys或重建缓存;所以我不是在问如何解决这些问题。
但为什么这是正确的做法呢?为什么“哦,我需要新密钥?很酷,去获取新密钥”而不是一开始就违背了拥有签名存储库的目的?密钥是否由apt-key检查的主密钥签名?我们是否应该进行一些额外的验证以确保我们获得合法的密钥?
最近,我尝试从 Ubuntu 调整安装谷歌地球。该程序要求我添加 google earth 的存储库。好吧,在我执行命令后,我发现一条错误消息告诉我我无法添加源并且系统无法构建包 tree.i 在终端中运行sudo apt-get update
,我发现以下错误:
Fetched 143 kB in 3min 43s (637 B/s)
Reading package lists... Error!
W: GPG error: http://ppa.launchpad.net trusty Release: The following signatures were invalid: BADSIG 6AF0E1940624A220 Launchpad PPA for TualatriX
W: GPG error: http://eg.archive.ubuntu.com trusty-backports Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/eg.archive.ubuntu.com_ubuntu_dists_trusty_multiverse_i18n_Translation-en%5fUS
E: The package lists or status file …Run Code Online (Sandbox Code Playgroud) 在你标记这个重复之前,请听我说:
当我运行时,sudo apt-get update我收到以下经典错误:
W: GPG error: http://de.archive.ubuntu.com trusty-updates Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
Run Code Online (Sandbox Code Playgroud)
所以我尝试的第一件事当然是
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 40976EAF437D05B5
Run Code Online (Sandbox Code Playgroud)
它用新签名更新了密钥,但没有解决 GPG 错误。如果我再次运行它,密钥保持不变。
我做了一些研究(在这里阅读了大约 10 个问题,全部标记为重复)并尝试删除/var/lib/apt/lists(https://askubuntu.com/a/64544/43951),但也没有这样做。
如果我跑
sudo aptitude -o Acquire::http::No-Cache=True -o Acquire::BrokenProxy=true update
Run Code Online (Sandbox Code Playgroud)
我没有收到签名错误,但散列错误:
W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-amd64/Packages: Hash Sum mismatch
W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-amd64/Packages: Hash Sum mismatch
W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-i386/Packages: Hash Sum mismatch
Run Code Online (Sandbox Code Playgroud) 每次打开手机并要求我检查更新时,任务栏上都会出现错误。这是任务栏上的消息:
更新信息已更新。这可能是由网络错误或不再可用的存储库引起的。请通过单击此图标手动更新,然后选择“检查更新”并检查某些列出的存储库是否失败。
但是当我这样做时,它说没有可用的更新。
我打开包管理器并按下重新加载按钮并收到此消息框:
W:GPG 错误:http ://in.archive.ubuntu.com oneiric 发布:以下签名无效:BADSIG 40976EAF437D05B5 Ubuntu 存档自动签名密钥 W:签名验证期间发生错误。存储库未更新,将使用以前的索引文件。GPG 错误:http ://extras.ubuntu.com oneiric 发布:以下签名无效:BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key
W:GPG 错误:http : //archive.ubuntu.com oneiric 发布:以下签名无效:BADSIG 40976EAF437D05B5 Ubuntu 存档自动签名密钥 W:无法获取http://extras.ubuntu.com/ubuntu/dists/oneiric /释放
W:无法获取http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu/dists/oneiric/main/source/Sources 404 Not Found
W:无法获取http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu/dists/oneiric/main/binary-i386/Packages 404 Not Found
W:部分索引文件下载失败。它们已被忽略,或使用旧的代替。
我看到 Pidgin 存储库在此消息中产生了问题(重新加载包管理器会出现 GPG 错误)并从我的软件源中删除了 Pidgin PPA,但是每次我重新启动它时,它都会显示两个 Pidgin PPA 和软件。谁能告诉我如何彻底删除它?
今天下午我在 Starbucks 坐下来做一些工作(Ubuntu 12.04 Desktop x64),并在系统托盘中得到了一个红圈白线错误图标,通知一个包错误。此外,apt、aptitude、update-manager 和 synaptic 都因此无法启动。
仔细一看,错误是:
> sudo aptitude install mmv
[sudo] password for kurtosis:
[ ERR] Reading package lists
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/linux.dropbox.com_ubuntu_dists_precise_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
[ ERR] Reading package lists
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/linux.dropbox.com_ubuntu_dists_precise_main_binary-i386_Packages
E: The package lists or status file could not be parsed or …Run Code Online (Sandbox Code Playgroud) apt ×7
gnupg ×2
security ×2
updates ×2
11.10 ×1
14.04 ×1
aptitude ×1
package-info ×1
pidgin ×1
ppa ×1
repository ×1
server ×1
signature ×1
ubuntu-tweak ×1
upgrade ×1