rpm报错:Header V3 DSA

2023-01-31 04:01:46 header rpm 报错

[root@dfa ~]# rpm -ivh /media/Server/mod_ssl-2.2.3-31.el5.i386.rpm
warning: /media/Server/mod_ssl-2.2.3-31.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
1、执行以下命令
rpm –import RPM-GPG-KEY-Centos-5

2、在rpm 命令后添加 –force –nodeps也就是强制进行安装

3、由于yum安装了旧版本的GPG keys造成的,解决办法就是

       rpm –import /etc/pki/rpm-gpg/RPM*

相关文章