E: 存储库 'http://dl.google.com/linux/chrome/deb stable Release' 将其 'Origin' 值从 'Google, Inc.' 更改为 'Google LLC'

E: Repository 'http://dl.google.com/linux/chrome/deb stable Release' changed its 'Origin' value from 'Google, Inc.' to 'Google LLC'

当我 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 changing its name 有关 Google, Inc to Google LLC。错误消息显示出了什么问题,但没有告诉我们用什么命令 运行 解决这个问题。

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

解决方案

运行:

$ 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 LLC 的新实体 Google Chrome 更新来源与 Google, Inc. 相同,您的系统信任并知道其签名。接受更改,即表示您要求系统信任 Google LLC 并在将来接受来自它的 Google Chrome 更新。

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

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

Hit:8 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:9 http://packages.linuxmint.com tara Release
Hit:10 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
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 Get:11 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,130 B] Fetched 2,892 B in 4s (705 B/s)
Reading package lists... Done Building dependency tree Reading state information... Done All packages are up-to-date.

希望这对某人有所帮助

运行

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

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