Archive for January 30th, 2017

E: Unable to locate package mongodb-org

I got this error “E: Unable to locate package mongodb-org” when following installation instructions from mongodb.com

Solution was pretty simple, instead of


sudo apt-get install -y mongodb-org

try


sudo apt-get install mongodb

Command to find Ubuntu version

In order to find out which version of ubuntu, open Ubuntu command line and type


lsb_release -a

This command should output something like


No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.10
Release: 16.10
Codename: yakkety