I have mongodb 4.2 on a fedora 35 box, i followed instructions at docs.mongodb.com/manual/tutorial/install-mongodb-on-red-hat
created Created a /etc/yum.repos.d/mongodb-org-5.0.repo, and 4.0 also , when i run
sudo yum install -y mongodb-org
i get
MongoDB Repository 2.0 kB/s | 391 B 00:00
Errors during downloading metadata for repository ‘mongodb-org-4.4’:
- Status code: 404 for yum/redhat/35/mongodb-org/4.4/x86_64/repodata/repomd.xml (IP: 2600:9000:20e1:aa00:1e:e933:9800:93a1)
Error: Failed to download metadata for repo ‘mongodb-org-4.4’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
MongoDB Repository 1.9 kB/s | 391 B 00:00
Errors during downloading metadata for repository ‘mongodb-org-5.0’:- Status code: 404 for https://repo.mongodb.org/yum/redhat/35/mongodb-org/5.0/x86_64/repodata/repomd.xml (IP: 2600:9000:20e1:3000:1e:e933:9800:93a1)
Error: Failed to download metadata for repo ‘mongodb-org-5.0’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Ignoring repositories: mongodb-org-4.4, mongodb-org-5.0
Last metadata expiration check: 3:15:09 ago on Mon 06 Dec 2021 07:08:53 PM CET.
Package mongodb-org-4.2.17-1.amzn2.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Thanks for your help