I have followed all the official istructions listed here:
In detail, i have done:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list
(seems ok, as the file /etc/apt/sources.list.d/mongodb-org-3.0.list is created with the right entry)
sudo apt-get update
(seems ok, as i see the repos in the list)
but when i do :
sudo apt-get install -y mongodb-org
it always says "Can't find package mongodb-org".
If i do:
sudo apt-get install -y mongodb
It works, but it doesn't install version 3.0 but version 2.4
I have tried multiple times to install 3.0 after removing / purging the 2.4 version, but with the same result: "Can't find package mongodb-org"
How can i install version 3.0 ?
apt-cache search mongodb doesn't find anything regarding mongodb-org
This is the content of /etc/apt/sources.list.d/mongodb-org-3.0.list :
deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0 multiverse
these are the lines resulting from apt-get update regarding mondodb:
Ign http://repo.mongodb.org trusty/mongodb-org/3.0 InRelease Trovato http://repo.mongodb.org trusty/mongodb-org/3.0 Release.gpg Trovato http://repo.mongodb.org trusty/mongodb-org/3.0 Release Trovato http://repo.mongodb.org trusty/mongodb-org/3.0/multiverse i386 Packages Ign http://repo.mongodb.org trusty/mongodb-org/3.0/multiverse Translation-it_IT Ign http://repo.mongodb.org trusty/mongodb-org/3.0/multiverse Translation-it Ign http://repo.mongodb.org trusty/mongodb-org/3.0/multiverse Translation-en
I'am running on Ubuntu 14.04 LTS 32 bit. Maybe the repo is only for x64? If it's the case, how can i install mongodb 3.0 on a 32 bit machine ? (i haven't seen anything regarding this dinstinction in the docs )
So, it seems there are no 32 packages in those repos. Now, where can i find them? I think it's stange as the docs ( official docs ) specify only this repo, and nothing is said about 32/64 bit differences.