Symptoms
cPanel fails to install due to EPEL Repository installation failures.
Cause
Anubis firewall is blocking the EPEL repository. This is an upstream block by Fedora on the repository.
# curl -I --resolve dl.fedoraproject.org:443:38.145.32.22 \
https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Set-Cookie: techaro.lol-anubis-auth=...
We've opened an internal case for our development team to investigate this further. For reference, the case number is CPANEL-52879. Follow this article to receive an email notification when a solution is published in the product.
Resolution
The repo file can be edited to change the baseurl to a different mirror:
- Access the server using SSH as the
rootuser. - Using a text editor, open the epel repo file at the following path:
CONFIG_TEXT: /etc/yum.repos.d/epel.repo - Edit the 'baseurl' entry under the [epel] tag to the entry that matches your operating system version:
For RHEL 8
CONFIG_TEXT: https://mirrors.fedoraproject.org/mirrorlist?repo=epel-8&arch=x86_64
For RHEL 9
CONFIG_TEXT: https://mirrors.fedoraproject.org/mirrorlist?repo=epel-9&arch=x86_64
- Save the changes and run the installation again.
Comments
0 comments
Article is closed for comments.