[SERVER-21777] Mongodb installation on Ubuntu Created: 05/Dec/15  Updated: 19/Oct/16  Resolved: 09/Jan/16

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

Type: Bug Priority: Major - P3
Reporter: steve clerk Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

I went through the installation steps from the mongodb manual.

they all seemed to work except:

sudo apt-get install -y mongodb-org

results in an error:

Unable to locate package mongodb-org

has anyone else seen this ?



 Comments   
Comment by Suresh Veeranala [ 19/Oct/16 ]

I have tried installing with the steps mentioned in https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/ on my Ubuntu 14.04 LTS (trusty). I have followed all the steps, but when running the install command I still get the error

UBUNTU:~$ sudo apt-get install -y mongodb-org
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package mongodb-org

Comment by Ernie Hershey [ 05/Dec/15 ]

Hi sclerk - first off, the mongodb users mailing list is a much better medium for problems like this since it will get a better audience and is conducive to discussion around operational problems. The SERVER JIRA project is better for bugs in the product.

I'm having trouble reproducing the error you got. Is it possible you missed a step? I believe that error will occur if you leave out either of these two steps:

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

-Ernie

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