Red Hat Linux使用yum 安装报 关于Public key for *.rpm is not installed 的解决方法

[root@hostB ~]# yum groupinstall clustering
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Group Process
Resolving Dependencies
--> Running transaction check
---> Package Cluster_Administration-en-US.noarch 0:5.2-1 set to be updated
---> Package cluster-cim.i386 0:0.12.1-2.el5 set to be updated
--> Processing Dependency: libcman.so.2 for package: cluster-cim
--> Processing Dependency: oddjob for package: cluster-cim
---> Package cluster-snmp.i386 0:0.12.1-2.el5 set to be updated
---> Package ipvsadm.i386 0:1.24-10 set to be updated
---> Package luci.i386 0:0.12.2-6.el5 set to be updated
---> Package modcluster.i386 0:0.12.1-2.el5 set to be updated
---> Package piranha.i386 0:0.8.4-13.el5 set to be updated
---> Package rgmanager.i386 0:2.0.52-1.el5 set to be updated
---> Package ricci.i386 0:0.12.2-6.el5 set to be updated
---> Package system-config-cluster.noarch 0:1.0.57-1.5 set to be updated
--> Running transaction check
---> Package cman.i386 0:2.0.115-1.el5 set to be updated
--> Processing Dependency: perl(XML::LibXML) for package: cman
--> Processing Dependency: perl(Net::Telnet) for package: cman
--> Processing Dependency: libSaCkpt.so.2 for package: cman
--> Processing Dependency: libcpg.so.2 for package: cman
--> Processing Dependency: libSaCkpt.so.2(OPENAIS_CKPT_B.01.01) for package: cman
--> Processing Dependency: libcpg.so.2(OPENAIS_CPG_1.0) for package: cman
--> Processing Dependency: pexpect for package: cman
--> Processing Dependency: openais for package: cman
---> Package oddjob.i386 0:0.27-9.el5 set to be updated
--> Processing Dependency: oddjob-libs = 0.27-9.el5 for package: oddjob
--> Processing Dependency: liboddjob.so.0 for package: oddjob
--> Running transaction check
---> Package oddjob-libs.i386 0:0.27-9.el5 set to be updated
---> Package openais.i386 0:0.80.6-8.el5 set to be updated
---> Package perl-Net-Telnet.noarch 0:3.03-5 set to be updated
---> Package perl-XML-LibXML.i386 0:1.58-5 set to be updated
--> Processing Dependency: perl-XML-LibXML-Common for package: perl-XML-LibXML
--> Processing Dependency: perl(XML::LibXML::Common) for package: perl-XML-LibXML
---> Package pexpect.noarch 0:2.3-1.el5 set to be updated
--> Running transaction check
---> Package perl-XML-LibXML-Common.i386 0:0.13-8.2.2 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================
Package                                       Arch                    Version                         Repository                Size
======================================================================================================================================
Installing:
Cluster_Administration-en-US                  noarch                  5.2-1                           Cluster                  1.7 M
cluster-cim                                   i386                    0.12.1-2.el5                    Cluster                  145 k
cluster-snmp                                  i386                    0.12.1-2.el5                    Cluster                  160 k
ipvsadm                                       i386                    1.24-10                         Cluster                   31 k
luci                                          i386                    0.12.2-6.el5                    Cluster                   26 M
modcluster                                    i386                    0.12.1-2.el5                    Cluster                  336 k
piranha                                       i386                    0.8.4-13.el5                    Cluster                  708 k
rgmanager                                     i386                    2.0.52-1.el5                    Cluster                  291 k
ricci                                         i386                    0.12.2-6.el5                    Cluster                  1.2 M
system-config-cluster                         noarch                  1.0.57-1.5                      Cluster                  293 k
Installing for dependencies:
cman                                          i386                    2.0.115-1.el5                   Server                   640 k
oddjob                                        i386                    0.27-9.el5                      Server                    56 k
oddjob-libs                                   i386                    0.27-9.el5                      Server                    32 k
openais                                       i386                    0.80.6-8.el5                    Server                   387 k
perl-Net-Telnet                               noarch                  3.03-5                          Server                    56 k
perl-XML-LibXML                               i386                    1.58-5                          Server                   231 k
perl-XML-LibXML-Common                        i386                    0.13-8.2.2                      Server                    16 k
pexpect                                       noarch                  2.3-1.el5                       Server                   218 k

Transaction Summary
======================================================================================================================================
Install     18 Package(s)        
Update       0 Package(s)        
Remove       0 Package(s)        

Total size: 32 M
Is this ok [y/N]: y
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 37017186


Public key for Cluster_Administration-en-US-5.2-1.noarch.rpm is not installed





以上这些是报错信息,在网上搜到了解决方法:

此时要导入rpm的签名信息即可

以root登录,执行下面命令
# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值