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

执行此命令后
sudo apt-get update && sudo apt-get -y upgrade

我遇到了这个错误。
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.

我看到过关于同样问题的先前咨询,但给出的答案都是针对其他存储库的。非常感谢任何帮助。

1这是谷歌需要在他们的端上修复的问题,通过以更安全和正确的方式重建他们的apt软件源。 - dobey
apt-get update的输出中查找404。如果有,可能可以通过将存储库URL从http://dl.google.com/linux/chrome/deb/ stable main更改为https://dl-ssl.google.com/linux/chrome/deb/ stable main来解决此问题(例如,在/etc/apt/sources.list.d/google-chrome.list或您添加Chrome apt存储库的任何位置)。 - qff
3个回答

先前的答案是错误的(Traxidus Wolf)。
那个问题(参考文献)并不是一个错误,而只是给那个人回答"是"或"否"的消息(从Google Inc更改为LLC),这是在上周更新后发生的情况。
问题是现在`apt-get`是低级的,而`apt`更面向用户,所以`apt-get`没有要求用户交互。
这个错误不同:
"key" 是 "存储库无法验证"
在我看来... 你没有存储库的密钥
要解决这个问题,只需使用以下命令:
$ wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

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

在过去,你可以添加任何仓库,现在你需要它们的 GPG 密钥,否则无法正常工作。

使用这个命令而不是:wget -q -O - https://pkg.jenkins.io/debian/jenkins-ci.org.key | sudo apt-key add - - ParisaN
3@ParisaN 为什么要使用 jenkins.io 而不是官方的 Google 密钥存储库? - MestreLion


这似乎解决了错误。
编辑文件/etc/apt/sources.list.d/google-chrome.list 通过在每行开头加上#符号来注释所有行。 关闭文件。