Wes*_*sam 114 ubuntu apt google-chrome apt-get
当我apt-get update
和apt-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.
Run Code Online (Sandbox Code Playgroud)
错误消息清楚地表明,这与Google将其名称从Google,Inc 更改为Google LLC有关.错误消息显示错误,但没有告诉我们要运行什么命令来解决此问题.
如消息所示,我如何明确接受此更改?
Wes*_*sam 234
跑:
$ sudo apt update
Run Code Online (Sandbox Code Playgroud)
请注意,这是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
Run Code Online (Sandbox Code Playgroud)
该错误不会再次出现.您需要运行sudo apt-get update
,并sudo apt-get upgrade
像往常一样让你更新.
正如问题中所指出的,此错误消息旨在确保您从谷歌公司获取谷歌Chrome更新的新实体与您的系统信任并知道其签名的谷歌公司相同.接受此更改后,您要求系统信任Google LLC,并在将来接受Google Chrome的更新.
跑
apt-get update -y --allow-releaseinfo-change
Run Code Online (Sandbox Code Playgroud)
这允许安装,即使在应用程序的新版本中其信息发生了变化