YUM encountered errors YUM encountered errors outside of EasyApache 4

stevennguyen

Registered
May 25, 2020
1
0
1
Vietnam
cPanel Access Level
Root Administrator
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 YUM cache.

1590398530945.png
I am having a fault like this one is looking forward to the support
Thank you very much
 

SamuelM

Technical Analyst Team Lead
Nov 20, 2019
196
40
103
USA
cPanel Access Level
Root Administrator
Hello @stevennguyen

Thank you for contacting cPanel! I am sorry to see that you are receiving an error message when you attempt to access the EasyApache 4 interface. Can you please login to your server via SSH and run the following commands?

Code:
yum clean all

yum update
If there are package conflicts or dependency solving issues, the yum update command will provide specific details near the bottom of its output. Please share that with us and we will be happy to review. You are also welcome to submit a ticket using the link in my signature so that our analysts may access your server directly to help you solve the issue.

Best regards.
 

bellwood

Well-Known Member
PartnerNOC
Sep 25, 2012
92
43
143
New York
cPanel Access Level
DataCenter Provider
Could you post the contents of the repo file? The error indicates a parsing error which could be caused by an incomplete, broken or corrupted file.
 

Quintanilha

Member
Feb 25, 2020
16
1
3
Brasil
cPanel Access Level
Root Administrator
Hello @stevennguyen

Thank you for contacting cPanel! I am sorry to see that you are receiving an error message when you attempt to access the EasyApache 4 interface. Can you please login to your server via SSH and run the following commands?

Code:
yum clean all

yum update
If there are package conflicts or dependency solving issues, the yum update command will provide specific details near the bottom of its output. Please share that with us and we will be happy to review. You are also welcome to submit a ticket using the link in my signature so that our analysts may access your server directly to help you solve the issue.

Best regards.
Hello @stevennguyen

Thank you for contacting cPanel! I am sorry to see that you are receiving an error message when you attempt to access the EasyApache 4 interface. Can you please login to your server via SSH and run the following commands?

Code:
yum clean all

yum update
If there are package conflicts or dependency solving issues, the yum update command will provide specific details near the bottom of its output. Please share that with us and we will be happy to review. You are also welcome to submit a ticket using the link in my signature so that our analysts may access your server directly to help you solve the issue.

Best regards.


I have this problem, the yum update command does not work or any community command with yum I need help
 

Attachments

cPanelChris

Moderator
Staff member
Feb 16, 2020
38
6
8
Houston, TX
cPanel Access Level
Root Administrator
Hello @Quintanilha ,

Based on the output provided, it looks like YUM is having trouble determining the OS version. Typically when I see this it's due to the distroverpkg package not being installed. You can check this with the following commands, where PACKAGENAME is based on the result of the first command.

Bash:
grep distroverpkg /etc/yum.conf
rpm -q PACKAGENAME
For example, this is what the commands look like on my test server.

Bash:
[[email protected] ~]# grep distroverpkg /etc/yum.conf
distroverpkg=centos-release
[[email protected] ~]# rpm -q centos-release
centos-release-7-8.2003.0.el7.centos.x86_64

If the specified distroverpkg package is not installed, you will need to install it like so, where PACKAGE name is replaced with the actual package name.

Bash:
yum install PACKAGENAME
For example, on my test server it would be as follows.

Bash:
yum install centos-release
 
Jun 12, 2012
17
1
53
Panchkula, India, India
cPanel Access Level
Reseller Owner
Hello @stevennguyen

Thank you for contacting cPanel! I am sorry to see that you are receiving an error message when you attempt to access the EasyApache 4 interface. Can you please login to your server via SSH and run the following commands?

Code:
yum clean all

yum update
If there are package conflicts or dependency solving issues, the yum update command will provide specific details near the bottom of its output. Please share that with us and we will be happy to review. You are also welcome to submit a ticket using the link in my signature so that our analysts may access your server directly to help you solve the issue.

Best regards.
same error i get into whm

i run both command
yum clean all

yum update


i get the error

cpanel-addons-production-feed | 2.9 kB 00:00:00
cpanel-plugins | 2.9 kB 00:00:00
http://yum.mariadb.org/10.0/centos7-amd64/repodata/repomd.xml: [Errno 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 My View - CentOS Bug Tracker.



One of the configured repositories failed (MariaDB100),
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=MariaDB100 ...

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

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

failure: repodata/repomd.xml from MariaDB100: [Errno 256] No more mirrors to try.
http://yum.mariadb.org/10.0/centos7-amd64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
15,235
2,422
363
cPanel Access Level
Root Administrator
@ExpertWebWorld - Are you able to manually download that file from your server? Can you try running this command and seeing what output you receive?

Code:
curl  http://yum.mariadb.org/10.0/centos7-amd64/repodata/repomd.xml
If working properly, you should get the HTML code for the page, but let us know what happens.
 

8worx

Registered
Feb 7, 2022
1
0
1
Egypt
cPanel Access Level
Root Administrator
@ExpertWebWorld - Are you able to manually download that file from your server? Can you try running this command and seeing what output you receive?

Code:
curl  http://yum.mariadb.org/10.0/centos7-amd64/repodata/repomd.xml
If working properly, you should get the HTML code for the page, but let us know what happens.
I've tried this command and I'm getting

<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>