linux - 存储库 'http://dl.google.com/linux/chrome/deb stable Release' 未签名

标签 linux google-chrome ubuntu apt

<分区>

我在我的 CircleCi 设置中有以下步骤来安装谷歌浏览器:

  - 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 更新他们的 key 并进行更新。

重要信息是:

The following signatures were invalid: EXPKEYSIG 1397BC53640DB551 Google Inc. (Linux Packages Signing Authority)

表示加密签名无效。其根源可能是攻击、配置错误或其他类型的技术问题。强制您的系统更新将导致运行未经验证的网络浏览器版本,这会使您面临很多安全问题。

关于linux - 存储库 'http://dl.google.com/linux/chrome/deb stable Release' 未签名,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55647076/

相关文章:

c++ - C++中的进程间通信

google-chrome - 添加到 Google Chrome 扩展程序的 “right-click” 菜单

python - 通过终端打开 Pycharm

linux - 无法将字符串转换为 bool 值 - 可以在 Linux 上转换为 powershell

linux - 如何完全删除 Gitosis 然后运行 ​​Gitolite?

css - 如果 outline-style 设置为 "solid"(而不是 "auto"),则 Chrome 上的轮廓绘制不正确

ubuntu - 带有 ubuntu 的树莓派 POE-FAN 帽子

ubuntu - apt-get install hadoop-0.20-fuse - 找不到包

c++ - 如何使用 Linux getrandom 系统调用生成一个范围内的随机数?

google-chrome - SSRS 报告滚动问题