以root登录,执行下面命令# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
根据我的Linux版本是CentOS 5.4
于是我执行下面命令#rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5