【发布时间】:2019-04-12 08:03:18
【问题描述】:
我在 CircleCi 设置中有以下步骤来安装 Google Chrome:
- run:
name: Install Chrome headless
working_directory: /
command: |
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \
echo "deb http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google.list && \
apt-get update && \
apt-get install -y dbus-x11 google-chrome-unstable && \
rm -rf /var/lib/apt/lists/*
它停止工作并返回以下错误消息:
W: GPG error: http://dl.google.com/linux/chrome/deb stable Release: The following signatures were invalid: EXPKEYSIG 1397BC53640DB551 Google Inc. (Linux Packages Signing Authority) <linux-packages-keymaster@google.com>
W: The repository 'http://dl.google.com/linux/chrome/deb stable Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libappindicator3-1 libdbusmenu-gtk3-4 libindicator3-7
Recommended packages:
libu2f-udev
The following NEW packages will be installed:
dbus-x11 google-chrome-unstable libappindicator3-1 libdbusmenu-gtk3-4
libindicator3-7
0 upgraded, 5 newly installed, 0 to remove and 48 not upgraded.
Need to get 60.4 MB of archives.
After this operation, 214 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
google-chrome-unstable
E: There were unauthenticated packages and -y was used without --allow-unauthenticated
Exited with code 100
我该如何解决这个问题?
【问题讨论】:
-
我不明白为什么 Google 让报告错误变得如此困难(部分不可能)。去年我什至发现了与帐户有关的错误,他们不允许我以任何形式联系他们。好伤心。
-
你试过联系
linux-packages-keymaster@google.com吗? -
我有完全相同的 GPG 错误。也许谷歌搞砸了签署他们最新的更新?
-
这个问题有一个更好的标题,但我在askubuntu.com/questions/1133199/… 看到重复...可能的解决方案是注释掉上面显示的正常安装并手动复制之前安装的 google
-
@DanFromGermany 我现在联系了
linux-packages-keymaster@google.com。让我们看看我是否得到任何回应(不过我的信心很低)
标签: linux google-chrome ubuntu apt