linux 6.2 的yum源搭配跟之前5的不一样了,现在只需要搭配一个就行了,如下:
[rhel-media]
name=redhat enterprise linux 6.2
baseurl=file:///iso/redhat6.2
enabled=1
gpgcheck=1
gpgkey=file:///iso/redhat6.2/RPM-GPG-KEY-redhat-release
然后yum list一下,如果提示正在更新,那么通过命令删除更新即可
yum remove yum-updatesd
而以前的是这样的
[base]
name=Red hat linux 5.5
baseurl=file:///iso/yum/Server
enabled=1
gpgcheck=0
[Cluster]
name=Red hat linux 5.5
baseurl=file:///iso/yum/Cluster
enabled=1
gpgcheck=0
[ClusterStorage]
name=Red hat linux 5.5
baseurl=file:///iso/yum/ClusterStorage
enabled=1
gpgcheck=0
[VT]
name=Red hat linux 5.5
baseurl=file:///iso/yum/VT
enabled=1
gpgcheck=0