Public key for httpd-2.2.3-63.el5.centos.1.i386.rpm is not installed
3种方法可以解决:
1.
# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
2.
# vi /etc/yum.repos.d/CentOS-Base.repo
gpgcheck=0 (原为gpgcheck=1)
3.
加上"--nogpgcheck"参数
# yum install httpd --nogpgcheck
本文转自linux博客51CTO博客,原文链接http://blog.51cto.com/yangzhiming/863674如需转载请自行联系原作者
yangzhimingg