Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup_vagrant.sh git/mongodb install fails #50

Open
Core3dTech opened this issue Jul 31, 2016 · 0 comments
Open

setup_vagrant.sh git/mongodb install fails #50

Core3dTech opened this issue Jul 31, 2016 · 0 comments

Comments

@Core3dTech
Copy link

The original setup_vagrant.sh doesn't complete successfully due to the fact that git is not installed by default. resolved by adding early on in script:

echo "installing git..."
apt-get install -y git-all

MongoDB fails to install due to packages not found:
E: Unable to locate package mongodb-org
E: Unable to locate package mongodb-org-server

...

I was able to resolve this by adding an additional apt-get update

echo "Installing MongoDB..."
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | tee /etc/apt/sources.list.d/mongodb.list

# Perform Update to get around the package not found issue
apt-get update

apt-get install -y mongodb-org=2.6.5 mongodb-org-server=2.6.5 mongodb-org-shell=2.6.5 mongodb-org-mongos=2.6.5 mongodb-org-tools=2.6.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant