404 error trying to install EPEL

Latest response

I've provisioned a RHEL 8 VM in Microsoft Azure IaaS and am trying to install EPEL. I've successfully configured the repo with the command:

$ sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

$ rpm -qa | grep -i epel
epel-release-8-8.el8.noarch

And I can see the multiple EPEL-related files added to the /etc/yum.repos.d folder:

$ ls -l /etc/yum.repos.d/
total 32
-rw-r--r--. 1 root root 1167 Dec 18  2019 epel-modular.repo
-rw-r--r--. 1 root root 1249 Dec 18  2019 epel-playground.repo
-rw-r--r--. 1 root root 1104 Dec 18  2019 epel.repo
-rw-r--r--. 1 root root 1266 Dec 18  2019 epel-testing-modular.repo
-rw-r--r--. 1 root root 1203 Dec 18  2019 epel-testing.repo
-rw-r--r--. 1 root root  358 Aug  4 07:39 redhat.repo
-rw-r--r--. 1 root root 4371 Jul  1 06:53 rh-cloud-rhel8-eus.repo

However, it appears that none of the mirrors hosting EPEL can be reached:

$ sudo yum upgrade *
Extra Packages for Enterprise Linux Modular 8.2 - x86_64                               162 kB/s |  67 kB     00:00    
Errors during downloading metadata for repository 'epel-modular':
  - Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=epel-modular-8.2&arch=x86_64&infra=$infra&content=$contentdir (IP: 38.145.60.21)
  - Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=epel-modular-8.2&arch=x86_64&infra=$infra&content=$contentdir (IP: 8.43.85.67)
  - Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=epel-modular-8.2&arch=x86_64&infra=$infra&content=$contentdir (IP: 38.145.60.20)
Error: Failed to download metadata for repo 'epel-modular': Cannot prepare internal mirrorlist: Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=epel-modular-8.2&arch=x86_64&infra=$infra&content=$contentdir (IP: 38.145.60.21)
Extra Packages for Enterprise Linux 8.2 - x86_64                                        93 kB/s |  67 kB     00:00    
Errors during downloading metadata for repository 'epel':
  - Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=epel-8.2&arch=x86_64&infra=$infra&content=$contentdir (IP: 67.219.144.68)
  - Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=epel-8.2&arch=x86_64&infra=$infra&content=$contentdir (IP: 38.145.60.21)
Error: Failed to download metadata for repo 'epel': Cannot prepare internal mirrorlist: Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=epel-8.2&arch=x86_64&infra=$infra&content=$contentdir (IP: 67.219.144.68)
Red Hat Enterprise Linux 8 for x86_64 - BaseOS - Extended Update Support from RHUI (RP  17 MB/s |  21 MB     00:01    
Red Hat Enterprise Linux 8 for x86_64 - AppStream - Extended Update Support from RHUI   15 MB/s |  19 MB     00:01    
Microsoft Azure RPMs for RHEL8 Extended Update Support                                 6.8 kB/s | 1.5 kB     00:00    
Ignoring repositories: epel-modular, epel
Dependencies resolved.
Nothing to do.
Complete!

$ dnf --disablerepo="*" --enablerepo="epel" list available
Extra Packages for Enterprise Linux 8.2 - x86_64                                       190 kB/s |  67 kB     00:00    
Errors during downloading metadata for repository 'epel':
  - Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=epel-8.2&arch=x86_64&infra=$infra&content=$contentdir (IP: 38.145.60.20)
  - Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=epel-8.2&arch=x86_64&infra=$infra&content=$contentdir (IP: 38.145.60.21)
  - Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=epel-8.2&arch=x86_64&infra=$infra&content=$contentdir (IP: 8.43.85.73)
Error: Failed to download metadata for repo 'epel': Cannot prepare internal mirrorlist: Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=epel-8.2&arch=x86_64&infra=$infra&content=$contentdir (IP: 38.145.60.21)

This VM has direct access to the internet so it is unlikely any sort of proxy or other network issue. And I've successfully done this recently, so is this an indication of a temporary issue with the EPEL mirrors? If so, typically how long does this condition typically persist?

Responses