1. 从安装盘导入GPG keys:
# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-*
2. 修改yum源文件,跳过gpgcheck(不推荐)
把 repo文件设置为gpgcheck=0
使用yum install 时加上参数–nogpgcheck
3. 下载最新签名(推荐):
# cd /etc/pki/rpm-gpg
# wget http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-6
# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6