gpt4 book ai didi

linux - 无法在 Ubuntu 17.04 上正确安装 mongodb

转载 作者:可可西里 更新时间:2023-11-01 10:49:15 24 4
gpt4 key购买 nike

你好,每次我尝试 apt-get 安装某些东西或更新时,我的终端都会出现错误,我想这与安装 mongodb 有关,我是 linux 新手,我完全按照本指南操作安装它,我找不到 17.04 版本的指南,所以我做了 16.10,现在每次我尝试 apt-get 的时候我都会得到这个错误

Reading package lists... Done
W: GPG error: http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.0
Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9ECBEC467F0CEB10 W: The repository 'http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.0 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.

此外,我在顶部栏中有一个提醒:

an error occured please run package manager from the right-click menu or apt-get in a terminal to see what is wrong

错误信息是:

Error brokenCount > 0. this usually means that your installed packages have unmet dependencies.

最佳答案

我认为问题在于 mongodb 存储库未签名。您需要使用 apt-key adv 进行签名 ...

在网址中https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/有一些 mongodb 的 ubuntu 存储库,最后可用的版本是 16.04 。还提供了设置教程。

祝你好运

关于linux - 无法在 Ubuntu 17.04 上正确安装 mongodb,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44419982/

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