rhel5.5更新cenos5.6的源

因为经常忘记,在此做个记录
32的系统:
[rhel-debuginfo]
name=Red Hat Enterprise Linux $releasever - $basearch - Debug
baseurl=http://mirrors.163.com/centos/5.6/os/i386/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

之后重新注册下centos的RPM-GPG-KEY-redhat-release文件,就可以正常更新了。
rpm --import http://mirrors.163.com/centos/5.6/os/i386/RPM-GPG-KEY-CentOS-5  

你可能感兴趣的:(职场,休闲)