gpt4 book ai didi

ubuntu - 从 hkp 服务器获取 key 但失败,因为 "unknown pubkey algorithm"

转载 作者:行者123 更新时间:2023-12-04 18:29:58 24 4
gpt4 key购买 nike

我的系统是 Ubuntu 16.04。

当我跑

apt-get update

它失败并出现以下错误:
the following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1C52189C923F6CA9

所以我跑了:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1C52189C923F6CA9

获取 pubkey 但再次失败并出现以下错误:
keyserver.ubuntu.com
--recv-keys
1C52189C923F6CA9
gpg: requesting key 923F6CA9 from hkp server keyserver.ubuntu.com
gpgkeys: key 1C52189C923F6CA9 can't be retrieved
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
gpg: keyserver communications error: keyserver helper general error
gpg: keyserver communications error: unknown pubkey algorithm
gpg: keyserver receive failed: unknown pubkey algorithm

经过多次搜索和尝试,我仍然不知道如何解决。

最佳答案

我遇到了同样的问题,我通过检查解决了这个问题:

  • 如果您的 Internet 连接位于某些身份验证门或代理之后

    确保您已登录身份验证门,或导出代理以便终端可以与公钥服务器通信

  • 更新:嗯,身份验证门取决于您的互联网提供商。它曾经是一个网站登录页面。

    或者,您可以输入此内容以在终端中使用代理:
    export http_proxy='http://<proxyserveraddress>:<portnumber>'    
    export https_proxy='https://<proxyserveraddress>:<portnumber>'

    关于ubuntu - 从 hkp 服务器获取 key 但失败,因为 "unknown pubkey algorithm",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46470051/

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