Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.