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

Issues following MongDB Instructions #4

Open
teleHappy opened this issue Aug 5, 2018 · 1 comment
Open

Issues following MongDB Instructions #4

teleHappy opened this issue Aug 5, 2018 · 1 comment

Comments

@teleHappy
Copy link

I had issues with following MongoDB Instructions in this repo's README:

sudo mv mongodb-org-3.6.repo /etc/yum.repos.d
sudo yum install -y mongodb-org

The first line quietly failed on me by not copying over the mongodb-org-3.6.repo file.
Resolution was to use vi and paste the contents provided in the instructions:
sudo vi mongodb-org-3.6.repo /etc/yum.repos.d

The second line resulted in the following console output:

1045 packages excluded due to repository priority protections
No package mongodb-org available.
Error: Nothing to do

Resolution was to remove the -y flag from the install command
sudo yum install mongodb-org

@BellaTechna
Copy link

BellaTechna commented Apr 13, 2019

Your resolution for the second line didn't work for me.
And in case others run into similar issues...
Inspiration: https://stackoverflow.com/questions/44517229/installing-mongodb-via-yum-on-aws-linux-fails-https-error-404-not-found -answer by Manivannan Thirugnanam

I opened a brand new terminal window and used:
sudo yum clean all
touch mongodb-org-3.6.repo
sudo mv mongodb-org-3.6.repo /etc/yum.repos.d
sudo yum install -y mongodb-org

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

2 participants