[root@RHEL5 yum.repos.d]# cat rhel-debuginfo.repo
[base]
name=CentOS-$releasever - Base
baseurl=http://mirrors.sohu.com/centos/5.5/os/$basearch/
http://centos.candishosting.com.cn/5.5/os/$basearch/
gpgcheck=1
gpgkey=http://mirrors.sohu.com/centos/RPM-GPG-KEY-CentOS-5
#released updates
[update]
name=CentOS-$releasever - Updates
baseurl=http://mirrors.sohu.com/centos/5.5/updates/$basearch/
http://centos.candishosting.com.cn/5.5/updates/$basearch/
gpgcheck=1
gpgkey=http://mirrors.sohu.com/centos/RPM-GPG-KEY-CentOS-5
#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
baseurl=http://mirrors.sohu.com/centos/5.5/addons/$basearch/
http://centos.candishosting.com.cn/5.5/addons/$basearch/
gpgcheck=1
gpgkey=http://mirrors.sohu.com/centos/RPM-GPG-KEY-CentOS-5
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
baseurl=http://mirrors.sohu.com/centos/5.5/extras/$basearch/
http://centos.candishosting.com.cn/5.5/extras/$basearch/
gpgcheck=1
gpgkey=http://mirrors.sohu.com/centos/RPM-GPG-KEY-CentOS-5
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
baseurl=http://mirrors.sohu.com/centos/5.5/centosplus/$basearch/
http://centos.candishosting.com.cn/5.5/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirrors.sohu.com/centos/RPM-GPG-KEY-CentOS-5
#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
baseurl=http://mirrors.sohu.com/centos/5.5/contrib/$basearch/
http://centos.candishosting.com.cn/5.5/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirrors.sohu.com/centos/RPM-GPG-KEY-CentOS-5
hyf320481 于 2010-08-29 16:00:07发表:
我可没换。。在虚拟机里试了一把。。换来换去都是都要用centos.源。
结果yum update rhel5.5=centos5.5
daidaiboy 于 2010-08-29 13:39:43发表:
再有就是gpgkey有时候可能需要修改!
daidaiboy 于 2010-08-29 13:36:43发表:
哈哈,更新源的确可以用,可是更新几次后,你会发现RHEL的启动界面变成了centos的了,哈哈!我的就是这样子!
yanlong938 于 2010-08-29 10:24:39发表:
lz 换了??
5trnga 于 2010-08-29 08:48:01发表:
路过