TT4M.C asked:
I am attempting to install MongoDB on my RedHat 8 | AWS EC2 instance …
/etc/yum.repos.d/mongodb-org-4.0.repo
[mongodb-org-4.0]
name=MongoDB Repository
baseurl=http://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
Then … yum repolist
MongoDB Repository 366 B/s | 390 B 00:01
Error: Failed to synchronize cache for repo 'mongodb-org-4.0'
…
Possibly RHEL 8 being a new release is causing issues?
My answer:
Many, many things built for RHEL also require EPEL, but EPEL 8 is not yet available.
One of those things is mock
, a package which orchestrates building RPM packages for distribution, which is itself in EPEL, and which doesn’t yet have a usable configuration for RHEL 8.
It is probably going to be several months before this is resolved, and EPEL and mock
are available. In the meantime you should deploy on RHEL 7.
View the full question and any other answers on Server Fault.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.