Hey,
I am trying to install mongo version4.0.28 on Centos9 community edition server.
updated the mongodb-org.repo as below
[mongodb-org-4.0]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/4.0/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-4.0.asc
and using sudo dnf install mongo-org command to install mongo, and facing below error
MongoDB Repository 1.6 kB/s | 390 B 00:00
Errors during downloading metadata for repository ‘mongodb-org-4.0’:
- Status code: 404 for https://repo.mongodb.org/yum/redhat/9/mongodb-org/4.0/x86_64/repodata/repomd.xml (IP: 18.161.6.96)
Error: Failed to download metadata for repo ‘mongodb-org-4.0’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried.
Please help me with the issue.
Thank You