【问题标题】:E: Repository 'http://dl.google.com/linux/chrome/deb stable Release' changed its 'Origin' value from 'Google, Inc.' to 'Google LLC' [closed]E:存储库“http://dl.google.com/linux/chrome/deb stable Release”将其“Origin”值从“Google, Inc.”更改为到“谷歌有限责任公司”[关闭]
【发布时间】:2018-11-29 05:46:48
【问题描述】:

当我 apt-get updateapt-get upgrade 我的 Ubuntu 系统时,我收到以下有关获取 Google Chrome 更新的错误消息。这只是几天前才开始发生的。

E: Repository 'http://dl.google.com/linux/chrome/deb stable Release' changed its 'Origin' value from 'Google, Inc.' to 'Google LLC'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.

错误消息清楚地表明这与从 Google, Inc 到 Google LLCGoogle changing its name 有关。错误消息显示出了什么问题,但没有告诉我们要运行什么命令来解决此问题。

我如何才能像消息中所说的那样明确接受此更改?

【问题讨论】:

  • 这似乎在几个小时前再次发生,在本例中是 http://dl.google.com/linux/chrome/deb,即 Chrome 浏览器存储库。如果能够从 Google 官方页面确认这样的更改,那就太好了。
  • @MichaelDurrant 它已关闭,因为它与 Stack Overflow 无关。它可能是 SuperUser 或 AskUbuntu 的主题

标签: google-chrome ubuntu apt-get apt


【解决方案1】:

解决方案

运行:

$ sudo apt update

注意这是apt不是 apt-get

然后输入y接受更改:

E: Repository 'http://dl.google.com/linux/chrome/deb stable Release' changed its 'Origin' value from 'Google, Inc.' to 'Google LLC'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository? [y/N] y

错误不会再次出现。您需要像往常一样运行 sudo apt-get updatesudo apt-get upgrade 以获取更新。

详情

正如问题中所指出的,此错误消息旨在确保您从中获取 Google Chrome 更新的名为 Google LLC 的新实体与 Google, Inc. 您的系统信任并知道其签名。接受更改,即表示您要求您的系统信任 Google LLC 并在未来接受来自它的 Google Chrome 更新。

【讨论】:

  • 我是否可以在您的问题中添加一个提示,不要将aptapt-get 混淆(很明显,但不适合我和其他人)?
  • 为什么apt-get update 不能解决这个问题?奇怪的边缘情况需要运行 apt 来代替
  • 有没有办法强制以非交互方式接受更改?
  • 这很奇怪。如果这种变化发生在今年早些时候,为什么我今天(2018 年 11 月 6 日)才遇到这种情况?无论哪种方式,修复都有效。
  • @Stéphane 因为它是一个不同的存储库。这个问题是关于chrome-remote-desktop,而今天chrome 发生了变化。
【解决方案2】:

运行

apt-get update -y --allow-releaseinfo-change

这允许安装,即使在应用程序的新版本中其信息已更改

【讨论】:

  • 只是出于好奇:apt-get update --allow-releaseinfo-change 对我来说很好用。 -y 标志在哪里使用?
  • -y 用于终端上的是/否类型的问题。你可以避免它
【解决方案3】:

我必须从 Google https://www.google.com/linuxrepositories/ 下载密钥文件并将其导入到软件源身份验证中。

重新运行 Sudo Apt Update 后,我可以选择回答问题

点击:8 http://archive.ubuntu.com/ubuntubionic-updates InRelease
点击:9http://packages.linuxmint.comtara 发布
点击:10 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
E: 存储库 'http://dl.google.com/linux/chrome/deb 稳定版本' 将其“Origin”值从“Google, Inc.”更改为给“谷歌有限责任公司” N:这个 必须明确接受此存储库的更新才能 应用。有关详细信息,请参阅 apt-secure(8) 联机帮助页。你愿意接受吗 这些更改并继续从此存储库更新? [是/否] 是 获取:11 http://dl.google.com/linux/chrome/deb stable/main amd64 包 [1,130 B] 在 4 秒内获取 2,892 B (705 B/s)
阅读包裹清单...完成 构建依赖树 读取状态信息...完成 所有软件包都是最新的。

希望这对某人有所帮助

【讨论】:

  • 非常感谢。在我执行此解决方案并安装密钥之前,接受的解决方案不起作用。哇,这太粗糙了!
猜你喜欢
  • 1970-01-01
  • 2021-10-18
  • 2012-04-09
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2020-01-09
  • 1970-01-01
相关资源
最近更新 更多