Unbuntu Repos for Mongo V3 seem to only work for v3.2

41 views
Skip to first unread message

Dave Augustus

unread,
Dec 8, 2015, 7:10:43 PM12/8/15
to mongodb-user
Hello all,

I want to install version 3.0.7 of Mongo on Ubuntu 14.04 for testing. The problem I am having is described below and It appears to be repo-related.

doing this:

apt-get install mongodb-org-server=3.0.7

results in:

Version '3.0.7' for 'mongodb-org-server' was not found

Contents of /etc/apt/sources.list.d/mongodb.list

deb     http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/stable multiverse



I can see the 3.0.7 version there. I can download and install these as well but they do not seem to be available via apt-get.

...sigh...


If I do this:

apt-get install mongodb-org-server

I will get 3.2.0 installed...which is ALSO listed there.

Help!!

Thanks,
Dave

Ernie Hershey

unread,
Dec 9, 2015, 11:59:42 AM12/9/15
to mongodb-user
Hi Dave - 

The "stable" apt repository points only to the current release series, which is now 3.2. 

I replied in JIRA as well -  but to repeat things slightly -

To install 3.0.x packages you'll have to point to the 3.0 repository which is located here - http://repo.mongodb.org/apt/ubuntu/dists/trusty/mongodb-org/3.0/multiverse/binary-amd64/

You can see more detail in the 3.0 installation instructions here - https://docs.mongodb.org/v3.0/tutorial/install-mongodb-on-ubuntu/

Specifically if you run these commands, you should be able to install 3.0 versions - 

echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list
sudo apt-get update

Hope this helps.
Ernie
Reply all
Reply to author
Forward
0 new messages