Fastestmirror is used to automatically detect the update source speed and remove the slow source. This is a very advanced method, but the problem also arises: if the network environment is changed, as a result, the source speed in the cache is slow. How can I replace a new source to update centos?
The reason is that the recent updates are very slow, and it seems to be a long connection to the source. Note that it seems to be a source called fr2.rpmfind.net. No wonder the speed is so high. So, updated the source and traffic of Sohu. The source of FR2 is still used. Very depressing. I don't know why. Suddenly
[Root @ localhost Yum] # Yum install mplayer
Loaded plugins: fastestmirror, rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Loading mirror speeds from cached hostfile
* Rpmforge: fr2.rpmfind.net
Setting up install process
Resolving Dependencies
--> Running transaction check
---> Package mplayer. i386 0:1. 0-0.43.svn20090711.el5.rf set to be updated
--> Processing dependency: libdirectfb-1.2.so.0 for package: mplayer
--> Processing dependency: libdca. so.0 for package: mplayer
--> Processing dependency: libmp 3lame. so.0 for package: mplayer
I think this is the source extracted from the cache. Then open list.txt in/var/Cache/Yum/rpmforge. And found no new Sohu source set in CenOS-Base.repo. So manually add
Http://mirrors.sohu.com/centos/?releasever/ OS /?basearch/
Http://ftp.sjtu.edu.cn/centos/5/ OS /?basearch/
Http://apt.sw.be/redhat/el5/en/?arch/rpmforge
# Outdated # response
# Outdated # response
# Identical # Authentication
Http://ftp-stud.fht-esslingen.de/dag/redhat/el5/en/?arch/rpmforge
# Outdated # http://developer.cpsc.ucalgary.ca/#/dag/redhat/el5/en/#arch/rpmforge
# Outdated # http://mirrors.ircam.fr/pub/dag/redhat/el5/en/#arch/rpmforge
# Outdated # http://rh-20..linux.iastate.edu/pub/dag/redhat/el5/en/#arch/rpmforge
Http://fr2.rpmfind.net/linux/dag/redhat/el5/en/?arch/rpmforge
# Outdated # http://wftp.tu-chemnitz.de/pub/linux/dag/redhat/el5/en/#arch/rpmforge
# Outofsync # http://www.?service.org/sites/apt.sw.be/redhat/el5/en/#arch/rpmforge
The top two addresses are newly added source addresses.
Okay. Solve the problem!