Report this

What is the reason for this report?

Mongodb installation error

Posted on September 15, 2016

I’m a beginner in terms of servers, and I’m trying to set up my droplet - something I’ve never done before. I went through the “create sudo privileged user” part and all that, and I wanted to set up mongodb. There are 2 issues I noticed:

  1. The sudo apt-get update command resulted in a lot of success messages and one failure: Err8: http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0/multiverse amd64 Package 404 Not Found
  2. After this, when I ran the next command (sudo apt-get install -y mongodb-org), it threw an error as follows: E: Unable to locate package mongodb-org

What is the solution here? Thanks.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.