首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >不能在ubuntu上安装monogo

不能在ubuntu上安装monogo
EN

Stack Overflow用户
提问于 2020-09-02 20:29:09
回答 1查看 671关注 0票数 1

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

代码语言:javascript
复制
$ 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

代码语言:javascript
复制
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

EN

回答 1

Stack Overflow用户

发布于 2020-09-03 01:50:13

您的命令中有一个错误,即命令行:

代码语言:javascript
复制
$ 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/

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/63705547

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档