DK *_*ose 81 updates apt ppa google-chrome
我有 Google Chrome 版本 70.0.3538.77(官方版本)(64 位)。
今天,在跑完sudo apt update
and 之后sudo 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.
Run Code Online (Sandbox Code Playgroud)
我查看了apt-secure的手册页,但它非常技术性且难以遵循,至少对我而言。
那么我该如何解决这个问题呢?
编辑:现在,我已经从软件源中删除了现有的 Google Chrome ppa,然后运行sudo apt update
并sudo 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.
Run Code Online (Sandbox Code Playgroud)
DK *_*ose 97
这个问题已经存在一段时间了:
错误消息清楚地表明,这与 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]
Run Code Online (Sandbox Code Playgroud)
运行只是sudo apt update
提供[y/N]
提示。
小智 24
对于使用 Ansible 或类似工具在多个主机上处理此提示的任何人,以下是我发现对我有用的方法。
在apt -y update
交互式环境中工作时,我无法让它在 Ansible 的临时环境中工作。我尝试了各种选项和强制是选项的组合,但似乎都不起作用。
可能有更好的方法,但这是似乎在所有主机上都接受更改的命令:
apt-get update -y --allow-releaseinfo-change
Run Code Online (Sandbox Code Playgroud)