Unable to locate package mongodb-enterprise

Just ran the provision step and it fails to install mongodb-enterprise. Also, validate_box is not a command.

mongod-m103: Reading package lists…
mongod-m103: W: Failed to fetch http://repo.mongodb.com/apt/ubuntu/dists/trusty/mongodb-enterprise/3.6/InRelease
mongod-m103:
mongod-m103: W: Failed to fetch http://repo.mongodb.com/apt/ubuntu/dists/trusty/mongodb-enterprise/3.6/Release.gpg Could not resolve ‘repo.mongodb.com
mongod-m103:
mongod-m103: W: Some index files failed to download. They have been ignored, or old ones used instead.
mongod-m103: + echo ‘Installing MongoDB Enterprise Dependencies’
mongod-m103: Installing MongoDB Enterprise Dependencies
mongod-m103: + sudo apt-get install -y libgssapi-krb5-2 libsasl2-2 libssl1.0.0 libstdc++6 snmp
mongod-m103: Reading package lists…
mongod-m103: Building dependency tree…
mongod-m103: Reading state information…
mongod-m103: libsasl2-2 is already the newest version.
mongod-m103: libgssapi-krb5-2 is already the newest version.
mongod-m103: libssl1.0.0 is already the newest version.
mongod-m103: libstdc++6 is already the newest version.
mongod-m103: snmp is already the newest version.
mongod-m103: 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
mongod-m103: + install_mongod
mongod-m103: + echo ‘Install MongoDB Enterprise’
mongod-m103: Install MongoDB Enterprise
mongod-m103: + sudo apt-get install --force-yes -y mongodb-enterprise
mongod-m103: Reading package lists…
mongod-m103: Building dependency tree…
mongod-m103:
mongod-m103: Reading state information…
mongod-m103: E: Unable to locate package mongodb-enterprise
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

May be due to network/firewall issues
Are you using office or home PC
There are couple of threads with fixes for this error in our forum
Please check

Mongod-m103: Unable to locate package mongodb-enterprise

1 Like

SOLVED. I am on company laptop and had to actually VPN in to get it to work.

Closing this thread as the issue has been resolved.