Public key for .rpm is not installed 的解決辦法

Public key for xxxxxx.i386.rpm is not installed

兩種方法可以解决:

1.運行
[root@localhost ~]# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
可解决;

2.運行
[root@localhost ~]# yum.conf 文件,把里面的gpgcheck=1改为gpgcheck=0
(不推薦)。

 

arrow
arrow
    全站熱搜

    result945 發表在 痞客邦 留言(0) 人氣()