I have tried installing mongodb using official repos but I always get the same error.
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
echo "deb 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 udate
sudo apt-get install -y mongodb-org
But the package manager is unable to find and install mongodb-org:
sudo apt-get install -y mongodb-org
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
E: No se ha podido localizar el paquete mongodb-org
I followed the instructions of the official documentation without success.
Linux Ubuntu-WS 4.8.0-32-generic #34-Ubuntu SMP Tue Dec 13 14:30:16 UTC 2016 i686 i686 i686 GNU/Linux
sudo apt-get update
? I'm pretty sure you want this URL in theecho
command instead:http://repo.mongodb.org/apt/ubuntu/dists/xenial/mongodb-org/3.5/
.