Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I follow the instruction provided by mongodb.

But seems package mongodb-10gen isn't existed.

vagrant@m1:~$ sudo apt-get install -y mongodb-10gen
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package mongodb-10gen is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'mongodb-10gen' has no installation candidate

How can I install the official provided mongodb?

share|improve this question
up vote 2 down vote accepted

You missed all or part of the "Configure Package Management" step in their instructions. You need to follow those steps to add the official Mongo apt repository to your system, and then update your local package list. After doing this you should be able to install.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.