gpt4 book ai didi

database - 为什么这个 MongoDB 安装步骤会出现错误?

转载 作者:行者123 更新时间:2023-12-04 19:05:41 26 4
gpt4 key购买 nike

wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | sudo apt-key add -
当我运行上述命令导入 MongoDB 公共(public) GPG key 时,出现此错误。
MongoDB 文档有这些安装步骤。如何通过 PPA 安装 MongoDB 的最新版本?
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
gpg: invalid key resource URL '/tmp/apt-key-
gpghome.y7PLc7iFDy/home:manuelschneid3r.asc.gpg'
gpg: keyblock resource '(null)': General error
gpg: key 7721F63BD38B4796: 2 signatures not checked due to missing keys
gpg: key 8C718D3B5072E1F5: 75 signatures not checked due to missing keys
gpg: key 7721F63BD38B4796: 2 signatures not checked due to missing keys
gpg: key 1488EB46E192A257: 1 signature not checked due to a missing key
gpg: key 1488EB46E192A257: 1 signature not checked due to a missing key
gpg: key D94AA3F0EFE21092: 3 signatures not checked due to missing keys
gpg: key 871920D1991BC93C: 1 signature not checked due to a missing key
gpg: Total number processed: 17
gpg: skipped new keys: 17

最佳答案

你能试试下面的吗?两个人在安装 MongoDB 时遇到了与您类似的问题,他们解决了删除 gpg key 的问题。

sudo rm /etc/apt/trusted.gpg.d/home:manuelschneid3r.gpg
source: askubuntu.com

关于database - 为什么这个 MongoDB 安装步骤会出现错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70542545/

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