“Origin”值更改后如何更新 Google Chrome 70?

“Origin”值更改后如何更新 Google Chrome 70?

我有 Google Chrome 版本 70.0.3538.77(官方版本)(64 位)。

今天,跑步之后sudo apt updatesudo apt full-upgrade我看到了:

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.

我看了看男人页面apt-secure但它非常技术性并且很难理解,至少对我来说是这样。

那么我该如何解决这个问题?


编辑:现在,我已经从软件源中删除了现有的 Google Chrome ppa,然后运行sudo apt updatesudo apt full-upgrade成功安装/升级以下内容:

The following NEW packages will be installed:
  python3-netifaces
The following packages will be upgraded:
  netplan.io nplan ppp
3 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.

答案1

这个问题已经存在一段时间

错误消息清楚地表明,这与 Google 将其名称从 Google, Inc 更改为 Google LLC 有关。错误消息显示了错误所在,但没有告诉我们要运行什么命令来修复此问题。

我怎样才能像消息所说的那样明确接受这个更改?

正如 2018 年 6 月上述问题所述,该问题涉及chrome-remote-desktop解决方案很简单,只需运行并在提示时sudo apt update做出响应即可。y

这是我跑步时看到的sudo apt update 无需将其与sudo apt upgrade

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:8 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,130 B]                                                    

跑步只是sudo apt update提供[y/N]提示。

答案2

对于使用 Ansible 或类似工具在多个主机上处理此提示的任何人,以下是我发现对我有用的方法。

虽然apt -y update在交互式环境中工作,但我无法让它在 Ansible 的临时环境中工作。我尝试了各种选项和强制选项的组合,但似乎都没有用。

可能有更好的方法,但这个命令似乎可以让所有主机接受更改:

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

相关内容