[SERVER-21813] Cannot download 3.0.7 for Ubuntu from main repos Created: 09/Dec/15  Updated: 09/Dec/15  Resolved: 09/Dec/15

Status: Closed
Project: Core Server
Component/s: Packaging
Affects Version/s: 3.0.7
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Dave Augustus Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
Operating System: ALL
Steps To Reproduce:

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

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

If I do this:
apt-get install mongodb-org-server

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

If I do this:
apt-get install mongodb-org-server=3.0.7
I get:
Version '3.0.7' for 'mongodb-org-server' was not found

Participants:

 Description   

also posted yesterday without response: https://groups.google.com/d/topic/mongodb-user/3Au23GukBs8/discussion

I need to test our 3.0.2 migration to 3.0.7 but apt-get cannot find the version I specify. It doesn't matter which package- none of 3.0.7 is available. As I said, this is for testing so my workaround was to manually download the files from http://repo.mongodb.org/apt/ubuntu/dists/trusty/mongodb-org/stable/multiverse/binary-amd64/
and manually install them.

I have tested this on several servers- my guess is that the indexes for these repos are corrupt or include settings to prevent downloads of non 3.2.0 versions.

Thanks!
Dave



 Comments   
Comment by Ernie Hershey [ 09/Dec/15 ]

Great!! Thanks for using MongoDB and for reporting the error.

Comment by Dave Augustus [ 09/Dec/15 ]

Excellent!

Problem solved!

Thanks for the quick response and have a Merry Christmas!

Comment by Ernie Hershey [ 09/Dec/15 ]

Did you run "apt-get update" first? I just tested the 3.0 repo and that command and it should work, but you do have to update your local repo data with "apt-get update." Sorry I didn't mention that explicitly.

Comment by Dave Augustus [ 09/Dec/15 ]

Following your instructions did not solve the problem.

apt-get install mongodb-org-server=3.0.7
E: Unable to locate package mongodb-org-server

Comment by Ernie Hershey [ 09/Dec/15 ]

Sorry about this. You will need to point to the 3.0 package repository in order to install the 3.0.x packages.

You should be able to follow the instructions from the 3.0 version of the installation docs - https://docs.mongodb.org/v3.0/tutorial/install-mongodb-on-ubuntu/

Specifically this part should allow your system to see 3.0 packages:
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

Generated at Thu Feb 08 03:58:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.