K
K
Konstantin2016-07-27 00:00:27
MongoDB
Konstantin, 2016-07-27 00:00:27

I can't install mongoDB in any way. Couldn't find a package?

I do so

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927
echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list
sudo apt-get update // (вот на этом этапе появляются строки начинающиеся с игн)
sudo apt-get install -y mongodb-org

So after the last command it appears, it was not possible to find the mongodb-org package.
The picture shows
the picture of the terminal prntscr.com/bxw467

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nazar Mokrinsky, 2016-07-27
@armenka29

You have both 3.0 and 3.2 in the screenshot - some kind of mess. I just followed their instructions in a clean 14.04 - everything works like clockwork.
Delete everything that is related to mongodb in /etc/apt/sources.list.d/ and in the /etc/apt/sources.list file if there is anything there, and then follow the instructions again: https://docs.mongodb. com/master/tutorial/install-m...
And everything should work.
Lines with Hit and Ign (and localized analogues) can be safely ignored, these are not errors.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question