Loaded plug-in: fastestmirror
Could not retrieve mirrorlist HTTP://http://mirrorlist.centos.org/? Release=7 & amp; The arch=x86_64 & amp; Repo=os& Infra=stock error was
14: curl# 52 - "Empty reply from server"
One of the configured repositories failed (unknown),
And yum doesn 't have the enough cached data to continue. At this point the only
Safe thing yum can do is fail. There are what ways to the work of "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
Most upstream. This is, useful if you are using a newer
Distribution release than is supported by the repository (and the
Packages for the previous distribution release, the work).
3. Run the command with the repository temporarily disabled
Yum - disablerepo=& lt; 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 the or use - enablerepo for temporary usage:
Yum - config manager - disable & lt; Repoid>
Or
Subscription - manager repos - disable=& lt; Repoid>
5. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. Most of the when it runs commands,
So will have to try and fail each time (and thus the yum will be be much
Slower). If it is a very temporary problem my, this is, a nice
Compromise:
Yum - config manager - save - setopt=& lt; Repoid> . Skip_if_unavailable=true
Always find a valid baseurl for repo: 7/base/x86_64
/root @ localhost ~ #
Online solution is not very detailed, hope there are clear explanations,