gpt4 book ai didi

linux - mongo 没有安装在 ubuntu 上

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

当我尝试使用以下命令安装 Mongo 时,我在更新部分遇到以下消息:

$ wget -qO - https://www.mongodb.org/static/pgp/server-3.4.asc | sudo apt-key add -
$ echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list
$ sudo apt-get update
$ sudo apt-get install -y mongodb-org curl

SSH 上的错误
, Ubuntu 16.04
root@karafarinyar:~# sudo apt-get update
sudo: unable to resolve host karafarinyar
Hit:1 http://ppa.launchpad.net/bigbluebutton/support/ubuntu xenial InRelease
Ign:2 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 InRelease
Hit:3 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Ign:5 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 Release
Hit:6 http://security.ubuntu.com/ubuntu xenial-security InRelease
Ign:7 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse amd64 Packages
Hit:8 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:9 http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial InRelease
Ign:10 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse arm64 Packages
Ign:11 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse all Packages
Hit:12 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease
Ign:13 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse Translation-en_US
Hit:14 http://ppa.launchpad.net/rmescandon/yq/ubuntu xenial InRelease
Ign:15 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse Translation-en
Ign:7 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse amd64 Packages
Ign:10 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse arm64 Packages
Ign:11 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse all Packages
Ign:13 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse Translation-en_US
Ign:15 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse Translation-en
Ign:7 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse amd64 Packages
Ign:10 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse arm64 Packages
Hit:16 https://ubuntu.bigbluebutton.org/xenial-22 bigbluebutton-xenial InRelease
Ign:11 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse all Packages
Hit:17 https://deb.nodesource.com/node_8.x xenial InRelease
Ign:13 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse Translation-en_US
Ign:15 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse Translation-en
Ign:7 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse amd64 Packages
Ign:10 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse arm64 Packages
Ign:11 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse all Packages
Ign:13 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse Translation-en_US
Ign:15 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse Translation-en
Ign:7 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse amd64 Packages
Ign:10 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse arm64 Packages
Ign:11 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse all Packages
Ign:13 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse Translation-en_US
Ign:15 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse Translation-en
Err:7 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse amd64 Packages
403 Forbidden [IP: 13.33.242.42 80]
Ign:10 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse arm64 Packages
Ign:11 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse all Packages
Ign:13 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse Translation-en_US
Ign:15 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4/multiverse Translation-en
Reading package lists... Done
W: The repository 'http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 Release' does not have a Release file.
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.
E: Failed to fetch http://repo.mongodb.org/apt/ubuntu/dists/xenial/mongodb-org/3.4/multiverse/binary-amd64/Packages 403 Forbidden [IP: 13.33.242.42 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
我要安装以下软件
https://docs.bigbluebutton.org/2.2/install.html

最佳答案

您的命令中有错误,该行:

$ echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list
MongoDB 存储库的路径不正确,应该是 http://repo.mongodb.org/apt/ubuntu/dists/xenial/mongodb-org/3.4/

关于linux - mongo 没有安装在 ubuntu 上,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63705547/

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