cPanel installation errors on Almalinux

Hello,

So I ordered a new almalinux VPS server (8.4) and wanted to install cPanel.

I followed this guide - System Requirements for AlmaLinux | cPanel & WHM Documentation

However, I’m getting this error -

2021-09-13 11:44:27  350 [70938] (DEBUG):   - ssystem [BEGIN]: /usr/bin/yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm --enablerepo=powertools
2021-09-13 11:44:27  350 [70938] (DEBUG):     Last metadata expiration check: 0:07:48 ago on Mon Sep 13 11:36:39 2021.
2021-09-13 11:44:29  350 [70938] (DEBUG):     [MIRROR] epel-release-latest-8.noarch.rpm: Status code: 403 for https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm (IP: 38.145.60.22)
2021-09-13 11:44:29  350 [70938] (DEBUG):     [MIRROR] epel-release-latest-8.noarch.rpm: Status code: 403 for https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm (IP: 38.145.60.22)
2021-09-13 11:44:29  350 [70938] (DEBUG):     [MIRROR] epel-release-latest-8.noarch.rpm: Status code: 403 for https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm (IP: 38.145.60.22)
2021-09-13 11:44:29  350 [70938] (DEBUG):     [MIRROR] epel-release-latest-8.noarch.rpm: Status code: 403 for https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm (IP: 38.145.60.22)
2021-09-13 11:44:29  350 [70938] (DEBUG):     [FAILED] epel-release-latest-8.noarch.rpm: Status code: 403 for https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm (IP: 38.145.60.22)
2021-09-13 11:44:29  350 [70938] (DEBUG):     Status code: 403 for https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm (IP: 38.145.60.22)
2021-09-13 11:44:29  350 [70938] (ERROR):   - ssystem [EXIT_CODE] '/usr/bin/yum' exited with 1 (ignored)
2021-09-13 11:44:29  350 [70938] (DEBUG):   - ssystem [END]
2021-09-13 11:44:29  350 [70938] (DEBUG):   - ssystem [BEGIN]: /usr/bin/yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm --enablerepo=powertools
2021-09-13 11:44:30  350 [70938] (DEBUG):     Last metadata expiration check: 0:07:51 ago on Mon Sep 13 11:36:39 2021.
2021-09-13 11:44:31  350 [70938] (DEBUG):     [MIRROR] epel-release-latest-8.noarch.rpm: Status code: 403 for https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm (IP: 38.145.60.22)
2021-09-13 11:44:31  350 [70938] (DEBUG):     [MIRROR] epel-release-latest-8.noarch.rpm: Status code: 403 for https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm (IP: 38.145.60.22)
2021-09-13 11:44:32  350 [70938] (DEBUG):     [MIRROR] epel-release-latest-8.noarch.rpm: Status code: 403 for https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm (IP: 38.145.60.22)
2021-09-13 11:44:32  350 [70938] (DEBUG):     [MIRROR] epel-release-latest-8.noarch.rpm: Status code: 403 for https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm (IP: 38.145.60.22)
2021-09-13 11:44:32  350 [70938] (DEBUG):     [FAILED] epel-release-latest-8.noarch.rpm: Status code: 403 for https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm (IP: 38.145.60.22)
2021-09-13 11:44:32  350 [70938] (DEBUG):     Status code: 403 for https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm (IP: 38.145.60.22)
2021-09-13 11:44:32  350 [70938] (ERROR):   - ssystem [EXIT_CODE] '/usr/bin/yum' exited with 1 (ignored)
2021-09-13 11:44:32  350 [70938] (DEBUG):   - ssystem [END]
2021-09-13 11:44:32  354 [70938] (FATAL): yum failed 6 times. The installation process cannot continue.

Any idea what’s wrong? this is a vanilla install by the way…

Firewall - disabled
curl / perl - installed
SElinux - disabled

Thanks
Kev

I hope someone can help me. I contacted my server support and this is what they told me -

“Should you experience the issues with Alma Linux 8.4 please ensure that the mirrors within your configuration are correct and crossreference them with the official mirrors to prevent inconsistencies.”

I’m not quite sure how to do that.

My requirement is, i just need to install cPanel that’s all.

Hey Kevin!

Looking at this now.

Hey Kevin,

Wanna give it a try again, it looks like there was an issue on the Fedora side with the EPEL repo infrastructure. It should be working now.

Hi @jack

Thanks so much, you’re absolutely right. It’s working fine now.

Thanks for taking time to look into this issue.

Cheers