L
L
lil_koi2019-11-22 20:39:34
MongoDB
lil_koi, 2019-11-22 20:39:34

Why does it give an error when installing mongodb?

I do everything according to the instructions, namely
1.sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927
2.echo "deb repo.mongodb.org/apt/ubuntu xenial/mongodb -org/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list
3.sudo apt-get update
and already there is an error in
GPG Error: repo.mongodb.org/apt/ubuntu xenial/mongodb-org /3.2 Release: The following signatures could not be verified because the public key is not available: NO_PUBKEY D68FA50FEA312927

5. when I type sudo apt install -y mongodb-org
it says "Unable to find package mongodb-org"
How to fix this?
Restart tried

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Satisfied IT, 2019-11-22
@lil_koi

try to execute
and then
sudo apt-get update

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question