当前位置: 首页>>技术问答>>正文


E:存储库’http://dl.google.com/linux/chrome/deb稳定版’将其’Origin’值从’Google, Inc.’更改为’Google LLC’

, , ,

问题描述

当我的apt-get updateapt-get upgrade我的Ubuntu系统时,我收到有关获取谷歌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 changing its name与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以获取更新。

Details

正如问题中所指出的,此错误消息旨在确保您从谷歌公司获取谷歌Chrome更新的新实体与您的系统信任并知道其签名的谷歌公司相同。接受此更改后,您要求系统信任Google LLC,并在将来接受Google Chrome的更新。

次佳解决思路

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

这允许安装,即使在应用程序的新版本中其信息发生了变化

第三种解决思路

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

根据re-running 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.

希望这有助于某人

参考资料

本文由Ubuntu问答整理, 博文地址: https://ubuntuqa.com/article/6489.html,未经允许,请勿转载。