Could not retrieve mirrorlist http://httpupdate.cpanel.net/ea4-c$releasever-x86_64-mirrorlist error was14: HTTP Error 404 - Not Found

Elvico

Member
Nov 5, 2014
15
0
51
cPanel Access Level
Root Administrator
Hi all
I followed this https://support.cpanel.net/hc/en-us...04-errors-due-to-missing-distroverpkg-package
Read and tried the Threads found on this forum, but could not find a way to make it work.

I'm pretty sure it's an easy detail.

Here is my problem :

Code:
“yum” reported error code “1” when it ended:  w/ yum -y
Loaded plugins: fastestmirror, universal-hooks
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://httpupdate.cpanel.net/ea4-c$releasever-x86_64-mirrorlist error was
14: HTTP Error 404 - Not Found
Thank you for your time.
 

cPanelAnthony

Administrator
Staff member
Oct 18, 2021
1,045
112
118
Houston, TX
cPanel Access Level
Root Administrator
Hi all
I followed this https://support.cpanel.net/hc/en-us...04-errors-due-to-missing-distroverpkg-package
Read and tried the Threads found on this forum, but could not find a way to make it work.

I'm pretty sure it's an easy detail.

Here is my problem :

Code:
“yum” reported error code “1” when it ended:  w/ yum -y
Loaded plugins: fastestmirror, universal-hooks
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://httpupdate.cpanel.net/ea4-c$releasever-x86_64-mirrorlist error was
14: HTTP Error 404 - Not Found
Thank you for your time.
Hello! Can you provide the exact command you ran that led to receiving this error?
 

Elvico

Member
Nov 5, 2014
15
0
51
cPanel Access Level
Root Administrator
Ok , i changed the baseurl of /etc/yum.repos.d/EA4.repo
from
Code:
mirrorlist=http://httpupdate.cpanel.net/ea4-c$releasever-$basearch-mirrorlist
to
Code:
http://httpupdate.cpanel.net/cPAddons-c7-x86_64-mirrorlist
Now i have this message when trying a System Update in the WHM :

Code:
System update process has started.

“yum” reported error code “1” when it ended:  w/ yum -y
Loaded plugins: fastestmirror, universal-hooks
Loading mirror speeds from cached hostfile


 One of the configured repositories failed (Unknown),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Run the command with the repository temporarily disabled
            yum --disablerepo=<repoid> ...

     4. Disable the repository permanently, so yum won't use it by default. Yum
        will then just ignore the repository until you permanently enable it
        again or use --enablerepo for temporary usage:

            yum-config-manager --disable <repoid>
        or
            subscription-manager repos --disable=<repoid>

     5. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true

Cannot find a valid baseurl for repo: base/$releasever/x86_64

Often errors like this can be resolved by running `yum makecache`

System update process has finished.
Here is the result of yum makecache command :

Code:
$yum makecache
Modules complémentaires chargés : fastestmirror, universal-hooks
Loading mirror speeds from cached hostfile


 One of the configured repositories failed (Inconnu),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Run the command with the repository temporarily disabled
            yum --disablerepo=<repoid> ...

     4. Disable the repository permanently, so yum won't use it by default. Yum
        will then just ignore the repository until you permanently enable it
        again or use --enablerepo for temporary usage:

            yum-config-manager --disable <repoid>
        or
            subscription-manager repos --disable=<repoid>

     5. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true

Cannot find a valid baseurl for repo: base/$releasever/x86_64
Any idea of what i can do or at least, which repoid I should disable ?
 

HostNoc

Well-Known Member
Feb 20, 2020
157
39
28
Ontario
cPanel Access Level
Root Administrator

Elvico

Member
Nov 5, 2014
15
0
51
cPanel Access Level
Root Administrator
Result is :

Package centos-release-7-9.2009.1.el7.centos.x86_64 (which is newer than centos-release-7-9.2009.0.el7.centos.x86_64) is already installed

yum gives same result as previously.

Code:
$yum makecache
Modules complémentaires chargés : fastestmirror, universal-hooks
Loading mirror speeds from cached hostfile


 One of the configured repositories failed (Inconnu),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

...
 

HostNoc

Well-Known Member
Feb 20, 2020
157
39
28
Ontario
cPanel Access Level
Root Administrator

Elvico

Member
Nov 5, 2014
15
0
51
cPanel Access Level
Root Administrator
Ok it seems I have a heavy problem :)

Is there any way to reinstall/upgrade the system without touching the mysql and accounts ?
 
Last edited: