I was having problems configuring the EasyApache profile on a server due to error messages saying that the yum cache is incomplete and unable to process:
The YUM cache is incomplete. The system is updating the cache to repair the issue. This operation can take a few minutes to complete (it is very network and disk i/o intensive). EasyApache 4 will be available as soon as possible
It then loops into another message that just blocks the entire process altogether. Performing a “yum clean all” and “yum update” did not fix the issues and I continued to have the following error message with anything I did to troubleshoot:
============================
One of the configured repositories failed (MariaDB101),
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=MariaDB101 …
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 MariaDB101
or
subscription-manager repos –disable=MariaDB101
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=MariaDB101.skip_if_unavailable=true
failure: repodata/repomd.xml from MariaDB101: [Errno 256] No more mirrors to try.
http://yum.mariadb.org/10.1/centos7-amd64/repodata/repomd.xml: [Errno 14] HTTP Error 404 – Not Found
============================
Here is what I did to get rid of any errors:
First, I disabled the culprit repo:
yum-config-manager –disable MariaDB101
Next, I cleaned it up:
yum clean all
When I rechecked, I was now able to enter the EasyApache 4 area, look at the currently installed packages and existing profile, and make any configuration changes as needed. I hope posting this helps someone!
0 Comments