问题描述
当我的apt-get update
和apt-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 update
和sudo 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.
希望这有助于某人