DNF and YUM failing on AlmaLinux 8.6

Operating System & Version
almalinux 8.6

anton_latvia

Well-Known Member
PartnerNOC
May 11, 2004
432
47
178
Latvia
cPanel Access Level
Root Administrator
AlmaLinux release 8.6

Command: dnf makecache
Gives this nice error (same error appears when trying to open easyApache in WHM interface)

Unable to detect release version (use '--releasever' to specify release version)
EA4 ( EasyApache 4 ) 41 B/s | 232 B 00:05
Error: Failed to download metadata for repo 'EA4': Cannot prepare internal mirrorlist: Status code: 404 for http://httpupdate.cpanel.net/ea4-c$releasever-x86_64-mirrorlist (IP: 103.66.86.68)


When trying "dnf makecache --releasever 8.6"
The output is:

EA4 ( EasyApache 4 ) 100 B/s | 224 B 00:02
Error: Failed to download metadata for repo 'EA4': Cannot prepare internal mirrorlist: Status code: 404 for http://httpupdate.cpanel.net/ea4-c8.6-x86_64-mirrorlist (IP: 184.94.196.94)

P.S.: is it just for me, that formatting options are not working on this forum?
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
15,235
2,423
363
cPanel Access Level
Root Administrator
Hey hey! It's a known issue that formatting options don't always work well. Unfortunately I can't do much about my end at this point, although there are plans to change up the forums a bit so that won't matter.

On my AlmaLinux 8 machine, I see the following inside /etc/yum.repos.d/EA4.repo:

Code:
[EA4]
name=EA4 ( EasyApache 4 )
mirrorlist=http://httpupdate.cpanel.net/ea4-c$releasever-$basearch-mirrorlist
gpgcheck=1
gpgkey=https://securedownloads.cpanel.net/cPanelPublicPkgKey.asc
enabled=1
cost=50
If your content there is different, can you adjust that to match mine, and follow that up with this to see if that gets things working?

Code:
yum clean all
yum makecache
yum update
 

anton_latvia

Well-Known Member
PartnerNOC
May 11, 2004
432
47
178
Latvia
cPanel Access Level
Root Administrator
I had same content in EA4.repo.
Since I have AlmaLinux8.6, I tried to specify --releasever=8.6 and yum was trying to fetch mirror list from http://httpupdate.cpanel.net/ea4-c8.6-x86_64-mirrorlist

that link gives 404 error. Also http://httpupdate.cpanel.net/ea4-c8.5-x86_64-mirrorlist (for 8.5), but simple "8" seems to be working just fine. I have tried cleaning cache and building it from scratch on another AlmaLinux (althgouh with CloudLinux enabled repos) - and it seems to be working better there.

So at least suggestion to anyone running into this - try:

yum makecache --releasever 8
yum update --releasever 8
 
Last edited:
Thread starter Similar threads Forum Replies Date
P Operating Systems 11