Mongodb installation error

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: 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.


Submit an 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.