SOLVED http://yum.mariadb.org/10.2/centos7-amd64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found

Vs Nu

Well-Known Member
Jul 17, 2015
178
12
68
India
cPanel Access Level
Root Administrator
I'm getting Error while doing Yum update because of this I'm unable to update the cPanel to latest stable version

yum update
Loaded plugins: fastestmirror, rhnplugin, universal-hooks
This system is receiving updates from CLN.
Loading mirror speeds from cached hostfile
epel/x86_64/metalink | 24 kB 00:00:00
* EA4: 185.15.22.168
* cpanel-addons-production-feed: 185.15.22.168
* cpanel-plugins: 185.15.22.168
* epel: mirrors.coreix.net
http://yum.mariadb.org/10.2/centos7-amd64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
It looks like you encountered an issue when performing the operation.

Please check if the issue related to CloudLinux repositories.
Usually our repositories contain "cloudlinux" word in their name.

If it does, check our knowledgebase for a possible solution or contact support:

In other cases, please contact your system administrator to fix the issue.



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

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

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

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

cPanelWilliam

Administrator
Staff member
Mar 13, 2018
221
41
153
Houston
cPanel Access Level
Root Administrator
Hello!

It appears that you're running into an issue caused by the archive of MariaDB 10.2. We have an article that details how you can use our auto fixer to resolve this:

Security Advisor and EasyApache will fail to load with MariaDB 10.2 repo archived.

I would recommend trying the workaround from the above article, and if that does not resolve the issue, it would be best to open a ticket so our team could take a closer look.
 

Vs Nu

Well-Known Member
Jul 17, 2015
178
12
68
India
cPanel Access Level
Root Administrator
Hello!

It appears that you're running into an issue caused by the archive of MariaDB 10.2. We have an article that details how you can use our auto fixer to resolve this:

Security Advisor and EasyApache will fail to load with MariaDB 10.2 repo archived.

I would recommend trying the workaround from the above article, and if that does not resolve the issue, it would be best to open a ticket so our team could take a closer look.
It should be like

scripts2/doautofixer?autofix=use_mariadb_archive_repo

or

scripts2/doautofixer?autofix=use_mariadb_10.2
 

Vs Nu

Well-Known Member
Jul 17, 2015
178
12
68
India
cPanel Access Level
Root Administrator
Hello,

The Autofixer URL would resemble your first example:

https://$hostname-or-ip-ddress:2087/cpsess########/scripts2/doautofixer?autofix=use_mariadb_archive_repo
It does not made any changes still same error

Do i need to edit the baseurl in the /etc/yum.repos.d/
 

cPanelWilliam

Administrator
Staff member
Mar 13, 2018
221
41
153
Houston
cPanel Access Level
Root Administrator
Hello,

Do i need to edit the baseurl in the /etc/yum.repos.d/
Yes, you could also try to update the baseurl manually. We have another support article that will walk you through this option:

Updates failed due to MariaDB repo reporting 404 error

It does appear that you have the correct baseurl in your latest reply. Do you still experience the issue after applying this change?
 

Vs Nu

Well-Known Member
Jul 17, 2015
178
12
68
India
cPanel Access Level
Root Administrator