YUM encountered errors outside of EasyApache 4

Feb 5, 2019
10
2
3
Erbil
cPanel Access Level
Root Administrator
Hi,

Today I tried to install PHP 8.1 on my dedicated server, OS: CentOS v7.9.2009 STANDARD standard, cPanel Version: 110.0.9

on WHM when I access EasyApache 4 page I get this error ( YUM encountered errors outside of EasyApache 4. Log into the system via SSH to resolve them, or you can click the “Refresh” button to rebuild the system‘s cache. )

I run these commands as suggested on another thread
yum clean all
yum update


it showed this error


[root@yaserver ~]# yum clean all
Loaded plugins: fastestmirror, universal-hooks
Cleaning repos: EA4 cpanel-addons-production-feed cpanel-plugins base extras
: home_Jperkster_EA4_Mod_Cloudflare imunify360
: imunify360-rollout-1 imunify360-rollout-2 imunify360-rollout-3
: imunify360-rollout-4 imunify360-rollout-5 imunify360-rollout-6
: imunify360-rollout-7 imunify360-rollout-8
: mysql-connectors-community mysql-tools-community
: mysql57-community updates
Cleaning up list of fastest mirrors
Other repos take up 992 M of disk space (use --verbose for details)


[root@yaserver ~]# yum update
Loaded plugins: fastestmirror, universal-hooks
Determining fastest mirrors
* EA4: 208.74.123.62
* cpanel-addons-production-feed: 208.74.123.62
* cpanel-plugins: 208.74.123.62
* base: centos-distro.cavecreek.net
* extras: mirror.vacares.com
* updates: centos.mirror.ndchost.com
EA4 | 2.9 kB 00:00:00
cpanel-addons-production-feed | 2.9 kB 00:00:00
cpanel-plugins | 2.9 kB 00:00:00
base | 3.6 kB 00:00:00
extras | 2.9 kB 00:00:00
http://download.opensuse.org/repositories/home:/Jperkster:/EA4_Mod_Cloudflare/CentOS-7/repodata/repomd.xml: [Err no 14] HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article


If above article doesn't help to resolve this issue please use https://bugs.centos.org/.



One of the configured repositories failed (home:Jperkster:EA4_Mod_Cloudflare (CentOS-7)),
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=home_Jperkster_EA4_Mod_Cloudflare ...

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 home_Jperkster_EA4_Mod_Cloudflare
or
subscription-manager repos --disable=home_Jperkster_EA4_Mod_Cloudflare

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=home_Jperkster_EA4_Mod_Cloudflare.skip_if_unavailable=true

failure: repodata/repomd.xml from home_Jperkster_EA4_Mod_Cloudflare: [Errno 256] No more mirrors to try.
http://download.opensuse.org/reposi...4_Mod_Cloudflare/CentOS-7/repodata/repomd.xml: [Errno 1 4] HTTP Error 404 - Not Found
 
Last edited by a moderator:

kodeslogic

Well-Known Member
PartnerNOC
Apr 26, 2020
599
273
138
IN
cPanel Access Level
Root Administrator
The error message you provided indicates that there's a problem with the home_Jperkster_EA4_Mod_Cloudflare repository. It seems that this repository is either not accessible or no longer exists at the specified URL.

Here's what you can do to address this issue:

1. Disable or Remove Problematic Repository: Since the home_Jperkster_EA4_Mod_Cloudflare repository is causing the error, you should disable or remove it from your YUM repository configuration. Navigate to the /etc/yum.repos.d/ directory and look for a file related to this repository. You can either delete the file or rename it by adding an extension like .bak to the filename.

2. Clean YUM Cache: As mentioned earlier, cleaning the YUM cache might help resolve issues related to outdated or corrupted metadata. Run the following command to clean the YUM cache:
Code:
#yum clean all
3. Update Your System: After performing the above steps, try running the update command again:
Code:
#yum update
By disabling or removing the problematic repository, you're preventing YUM from attempting to access it and encountering errors. Make sure to verify your other repository configurations to ensure they are correctly set up and pointing to valid URLs.

If you're still facing issues after trying these steps, consider checking your entire repository configuration to ensure there are no other repositories causing conflicts or errors.

If you're not comfortable with making these changes or if the issue persists, it might be a good idea to seek assistance from someone with experience in Linux server administration.
 
  • Like
Reactions: Rawand Bradosty
Feb 5, 2019
10
2
3
Erbil
cPanel Access Level
Root Administrator
The error message you provided indicates that there's a problem with the home_Jperkster_EA4_Mod_Cloudflare repository. It seems that this repository is either not accessible or no longer exists at the specified URL.

Here's what you can do to address this issue:

1. Disable or Remove Problematic Repository: Since the home_Jperkster_EA4_Mod_Cloudflare repository is causing the error, you should disable or remove it from your YUM repository configuration. Navigate to the /etc/yum.repos.d/ directory and look for a file related to this repository. You can either delete the file or rename it by adding an extension like .bak to the filename.

2. Clean YUM Cache: As mentioned earlier, cleaning the YUM cache might help resolve issues related to outdated or corrupted metadata. Run the following command to clean the YUM cache:
Code:
#yum clean all
3. Update Your System: After performing the above steps, try running the update command again:
Code:
#yum update
By disabling or removing the problematic repository, you're preventing YUM from attempting to access it and encountering errors. Make sure to verify your other repository configurations to ensure they are correctly set up and pointing to valid URLs.

If you're still facing issues after trying these steps, consider checking your entire repository configuration to ensure there are no other repositories causing conflicts or errors.

If you're not comfortable with making these changes or if the issue persists, it might be a good idea to seek assistance from someone with experience in Linux server administration.
thank you so much for explaining in detail, I have done the steps now I can access EasyApache 4 the error is gone.
EA4-Mod-Cloudflare.repo was causing the issue.

thanks again.
 
  • Like
Reactions: cPRex

kodeslogic

Well-Known Member
PartnerNOC
Apr 26, 2020
599
273
138
IN
cPanel Access Level
Root Administrator
I am glad I was able to help.
 
  • Love
Reactions: cPRex