Can't install MongoDB


#1

Hello

I use this instruction for mongodb installation
https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/#install-mongodb

and executed this commands:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv
0C49F3730359A14518585931BC711F9BA15703C6

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

The installation returns an error:

The following packages have unmet dependencies:
mongodb-org : Depends: mongodb-org-shell but it is not going to be installed
Depends: mongodb-org-server but it is not going to be installed
Depends: mongodb-org-mongos but it is not going to be installed
Depends: mongodb-org-tools but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Please help me to solve the issue


#2

Check out this url (Setting Up MongoDB)


#3

Of course I started with this instruction. It didn’t work because MongoDB install gave the same issues as wrote in my first message. Then I looked at discussion of issue solving and implemented 4 commands with the same results (