使用 fastestmirror自动检测更新源的速度,从而自动剔除掉速度慢的源是个很先进的方法,但是问题也来了:如果换了网络环境了,导致以前缓存里面的源速度都很慢该如何更换新的源 用来更新centos呢?
起因是因为最近更新非常慢,好像是连到了很远的源,注意一看,好像是个叫fr2.rpmfind.net的源,哎,难怪速度如此,于是,更新了sohu的源和交大的源。发现还是使用这个fr2的源。很郁闷。不知道为啥。突然看到
[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: libmp3lame.so.0 for packag