X
X
X
X

Knowledge Base

HomepageKnowledge BaseProblem of Linuxyum source

yum source

①Loaded plugins: fastestmirror Determining fastest mirror solution:

Centons
It probably means that the fastestmirror cannot be used, and the fastestmirror is an acceleration plug-in of yum. I haven't understood the specifics. It may be caused by the system's unsupported or lack of components. The solution is to disable this plug-in, as follows:
root@www.ctohome.com]# vi /etc/yum/pluginconf.d/fastestmirror.conf

[main]
enabled=0 //change 1 to 0
verbose=0
socket_timeout=3
hostfilepath=/var/cache/yum/timedhosts.txt
maxhostfileage=10
maxthreads=15
#exclude=.gov, facebook
================================================== ====================================
Modify the following configuration files
#vi /etc/yum.conf

[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1 #Modify the value of plugins to 0
installonly_limit=5

②Cannot retrieve repository metadata (repomd.xml) for repository: epel. Solution:

vi /etc/yum.repos.d/epel.repo
Change enabled=1 in item [xxx] to enabled=0

Can't find the information you are looking for?

Create a Support Ticket
Did you find it useful?
(362 times viewed / 1 people found it helpful)

Top