So it seems I've run into a similar version, but am confused why this hasn't been fixed yet. Little help here?
Running yum search breaks and outputs
$ yum info centos-release
cPanel Addons Production Feed 1.4 kB/s | 250 B 00:00
Error: Failed to download metadata for repo 'cpanel-addons-production-feed': Cannot prepare internal mirrorlist: Status code: 404 for http://httpupdate.cpanel.net/cPAddons-c$cp_centos_major_version-x86_64-mirrorlist
Not much on this, so I landed here. Quickly tried the fix on linked page, to no avail.
echo "fastestmirror=True" >> /etc/yum.repos.d/EA4.repo
Then I pay attention better, and notice it's not same file and what not.
I'm on cloudlinux 8 converted from fresh alma8 isntall. and get this for repos
$ ll /etc/yum.repos.d/
MariaDB105.repo cl-mysql.repo cpanel-plugins.repo
almalinux-appstream.repo cloudlinux-compat.repo epel-modular.repo
almalinux-baseos.repo cloudlinux-ea4-experimental.repo epel-testing-modular.repo
almalinux-devel.repo cloudlinux-ea4-rollout.repo epel-testing.repo
almalinux-extras.repo cloudlinux-ea4-testing.repo epel.repo
almalinux-ha.repo cloudlinux-ea4.repo imunify-rollout.repo
almalinux-powertools.repo cloudlinux-imunify360.repo imunify360-testing.repo
almalinux-resilientstorage.repo cloudlinux-rollout.repo imunify360.repo
cPAddons.repo cloudlinux.repo wp-toolkit-cpanel.repo
Sooooo, is cloudlinux-ea4.repo my equivalent here?
if yes, add fastestmirror line?
Next, I'm inspecting the url better, and notice my error is a centos url. Look that up, and oh yea duh, I keep searching for centos documentation buts it's actually EOL smh lol. So here it's more current and literally EOL url right? Sooooo, delete the repo file? What's the cPaddon replacement for almalinux 8 LSWS setup?
No delete, update URL? Can't find recommended alma8 cpaddons link... Any ideas?
Also, if we do fix, should made into a engineer ticket and address at initialization of WHM install yea?
Much appreciated for the help in advance!
sudo sed -i -e '/mirrorlist=http:\/\/mirrorlist.centos.org\/?release=$releasever&arch=$basearch&repo=/ s/^#*/#/' -e '/baseurl=http:\/\/mirror.centos.org\/$contentdir\/$releasever\// s/^#*/#/' -e '/^\[baseos\]/a baseurl=https://mirror.rackspace.com/centos-vault/8.5.2111/BaseOS/$basearch/os
Key part I haven't seen anywhere looking to fix this, that's "new" specific to new "on the bleeding edge install" lol: almalinux-baseos.repo
I think? haha. Came across this page,
hi so i tried updating my server from Cent os 8 to AlmaLinux OS 8 Using this guide https://docs.cpanel.net/knowledge-base/general-systems-administration/how-to-convert-from-centos-8-to-almalinux-os-8/ II can follow along up to step 3 but In step 4 when i run this command bash...
" you might need to update the mirrors first
if your root you can exclude the sudo
part for each one
so you can copy and paste starting with sed
example: copy and paste in terminal one by one and enter after each one
sed -i -e '/mirrorlist=http:\/\/mirrorlist.centos.org\/?release=$releasever&arch=$basearch&repo=/ s/^#*/#/' -e '/baseurl=http:\/\/mirror.centos.org\/$contentdir\/$releasever\// s/^#*/#/' -e '/^\[baseos\]/a baseurl=https://mirror.rackspace.com/centos-vault/8.5.2111/BaseOS/$basearch/os
then click enter.
then the next and so on.
then run dnf update -y
then reboot "
So, seems to work now!
Since it's a cpaddon mirror,def should be in some WHM initialization or ongoing double check script type thing, wouldn't ya think?
Hopefully helps peeps in the future!