存储库“http://dl.google.com/linux/chrome/deb stable Release”没有发布文件

Eri*_*oko 14 updates apt authentication google-chrome gnupg

执行此命令后

sudo apt-get update && sudo apt-get -y upgrade
Run Code Online (Sandbox Code Playgroud)

我收到这个错误

W: The repository 'http://dl.google.com/linux/chrome/deb stable Release' does not have a Release file.
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)

我看过过去对同一问题的查询,但给出的答案特定于其他存储库。任何帮助将不胜感激。

小智 24

之前的答案是错误的(Traxidus Wolf)。

该问题(参考)不是错误,只是让那个人回答是或否(从 Google Inc 更改为 LLC)的消息,它发生在更新后的所有上周。

问题是现在apt-get是低级别的,而且apt更面向用户,所以apt-get没有要求用户交互。


这个错误是不同的:

“密钥”是“存储库无法通过身份验证

恕我直言......你没有回购的钥匙

要解决这个问题,只需使用以下命令:

$ wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
Run Code Online (Sandbox Code Playgroud)

https://www.google.com/linuxrepositories/

过去你可以添加任何你想要的仓库,现在你需要他们的 gpg 密钥,否则不起作用。

  • @ParisaN 为什么使用“jenkins.io”而不是官方的 Google 密钥存储库? (3认同)

小智 5

根据这篇文章的答案 »如何在“Origin”值更改后更新 Google Chrome 70?' 由于 apt-get 的级别较低,不提供提示。

运行:“apt更新”

它会给你一个“y/n”提示,选择“y”,然后错误和注释将被处理。