gpt4 book ai didi

circleci - sudo apt-key adv 间歇性失败

转载 作者:行者123 更新时间:2023-12-03 18:18:44 26 4
gpt4 key购买 nike

我正在关注 the instructions用于在 CircleCI 上安装 Yarn,但 CircleCI 在尝试检查 key 服务器时显示这些错误:

sudo apt-key adv --keyserver pgp.mit.edu --recv D101F7899D41F3C3
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.j5q2IRFiKK --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d//apt.postgresql.org.gpg --keyserver pgp.mit.edu --recv D101F7899D41F3C3
gpg: requesting key 9D41F3C3 from hkp server pgp.mit.edu
gpgkeys: key D101F7899D41F3C3 not found on keyserver
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0

sudo apt-key adv --keyserver pgp.mit.edu --recv D101F7899D41F3C3 returned exit code 2

Action failed: sudo apt-key adv --keyserver pgp.mit.edu --recv D101F7899D41F3C3

最佳答案

错误消息意味着 GPG 无法加载用于验证包签名的公共(public) GPG key 。尝试这样做:

sudo apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg

问题是 pgp.mit.edu key 服务器有时会中断,这会导致您看到错误消息。通过 URL 加载 GPG key 应该更可靠。

关于circleci - sudo apt-key adv 间歇性失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40248965/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com