Dear all,
New to community so please forgive me if placement is poor.
Had an issue following the community install of mongodb 3.6.23 on an Amazon Linux 2 AMI
after setting up the code /etc/yum.repos.d/mongodb-org-3.6.repo
[mongodb-org-3.6]
name=MongoDB Repository
baseurl=Index of x86_64
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-3.6.asc>
sudo yum install -y mongodb-org-3.6.23 mongodb-org-server-3.6.23 mongodb-org-shell-3.6.23 mongodb-org-mongos-3.6.23 mongodb-org-tools-3.6.23
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
mongodb-org-server-3.6.23-1.am FAILED
https://repo.mongodb.org/yum/amazon/2/mongodb-org/3.6/x86_64/RPMS/mongodb-org-server-3.6.23-1.amzn1.x86_64.rpm: [Errno 14] HTTPS Error 404 - Not Found ] 0.0 B/s | 0 B --:–:-- ETA
Trying other mirror…
Blockquote
this happens for all the packages, I found that the url to the repo is incorrect and hence the issue
by installing the RPM direct the packages install without issue as a workaround (note the 2 just before .x86_64rpm) the package is using a 1, I think this either a repo or AWS issue?
repo.mongodb.org/yum/amazon/2/mongodb-org/3.6/x86_64/RPMS/mongodb-org-3.6.23-1.amzn2.x86_64.rpm
Please could someone direct me if this is my mistake or is the repo broken? I cannot see a fix in the config file and not sure if to log a case with AWS as this is a Mongo repo and Mongo instructions
Appreciate any help you can give