yum源安装故障:warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY

一:操作:

用yum安装pssh服务:

[[email protected] ~]# yum install pssh

二:故障信息:

warning:
rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
 
 
Public
key for pssh-2.3.1-5.el6.noarch.rpm is not installed

三:故障分析:

看见“NOKEY”后,就想是不是没有导公钥,然后,就用rpm -qa gpg-pubkey*查询是否导入公钥

[[email protected] ~]# rpm -qa gpg-pubkey*

第一次,确实没有导入,然后,就执行 rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7(我用的Centos 7版本,根据自己版本导入)

[[email protected] ~]# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

本以为,这样就OK了,所以继续执行yum install pssh,结果还是报同样的问题。所以就很纠结啊,说没公钥,我导入公钥了,还是不行,我上网搜,也是说各种导公钥,都试了,并没什么卵用。然后无意间跟同学聊天,说了一下这个问题,结果,超出意料外的简单!!!

四:故障解决:

在配置yum仓库时,忘记在yum仓库文件写gpgcheck=0了,因为默认是gpgcheck=1的(即:在安装时要检查公钥)。(笨蛋,学着忘着,感觉自己瞬间没自信了)。下面是我自己的yum仓库文件(因为现在所学的很多服务都依赖epel源,所以,索性就两个都配上)

[[email protected] ~]# cat /etc/yum.repos.d/sjj.repo 
[base]
name= Centos 7
baseurl=file:///run/media/root/CentOS\ 7\ x86_64
gpgcheck=0
[epel]
name=Centos 7.1
baseurl=http://172.17.0.1/fedora-epel/7/x86_64/
gpgcheck=0
[[email protected] ~]# 
[[email protected] ~]# yum clean all           #清空一下缓存
Loaded plugins: fastestmirror, langpacks
Cleaning repos: base epel
Cleaning up everything
Cleaning up list of fastest mirrors
[[email protected] ~]# yum makecache             #然后再制造缓存(从yum仓库里读取)
Loaded plugins: fastestmirror, langpacks
base                                                  | 3.6 kB     00:00     
epel                                                  | 4.3 kB     00:00     
(1/9): base/group_gz                                    | 155 kB   00:00     
(2/9): base/primary_db                                  | 5.6 MB   00:00     
(3/9): epel/group_gz                                    | 170 kB   00:00     
(4/9): base/filelists_db                                | 6.6 MB   00:00     
(5/9): base/other_db                                    | 2.4 MB   00:00     
(6/9): epel/updateinfo                                  | 757 kB   00:00     
(7/9): epel/primary_db                                  | 4.6 MB   00:00     
(8/9): epel/filelists_db                                | 7.6 MB   00:01     
(9/9): epel/other_db                                    | 2.1 MB   00:00     
Determining fastest mirrors
Metadata Cache Created
[[email protected] ~]#

执行过上述操作后,再yum install pssh就OK。

时间: 2024-10-26 10:58:34

yum源安装故障:warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY的相关文章

warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY

安装数据库时,预检发现软件包compat-libstdc++-33没装 挂载了redhat 6.7 ISO mount -o loop ./rhel-server-6.7-x86_64-dvd.iso /mnt 并配置了repo [[email protected] yum.repos.d]# cat local.repo[local]name=rhel67baseurl=file:///mntgpcheck=0 安装报错: 解决方法: rpm --import /etc/pki/rpm-gpg

yum命令Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY

yum命令Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY 博客分类: linux 三种解决方案 我采取第三种方案解决的 第一种: linux 使用rpm安装软件时,遇到"warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOK 1.cd /etc/pki/rpm-gpg/ 2.wget http://mirrors.163.com/ce

【warn】warning: /var/tmp/rpm-tmp.pqc7sh: Header V3 DSA/SHA1 Signature, key ID 862acc42: NOKEY

今天在 vultr 上搭科学上网,遇到了如下问题: 在执行 rpm -i http://poptop.sourceforge.net/yum/stable/rhel6/pptp-release-current.noarch.rpm 遇到了如下提示: warning: /var/tmp/rpm-tmp.pqc7sh: Header V3 DSA/SHA1 Signature, key ID 862acc42: NOKEY 谷歌一圈得到解决方案, 只需要把指令中的 -i 改为 -Uhv 就解决拉.

处理:Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY error: Failed dependencies:

错误场景: [[email protected] codeblocks]# rpm -ivh wxGTK-devel-2.8.9-1.el5.rf.i386.rpm warning: wxGTK-devel-2.8.9-1.el5.rf.i386.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY error: Failed dependencies: libexpat.so.0 is needed by wxGTK-devel-2

Linux安装rpm包时报错Header V3 DSA/SHA1 Signature, key ID 1d1e034b: NOKEY解决办法

这是因为yum安装了旧版本的GPG key造成的,解决办法: rpm --import /etc/pki/rpm-gpg/RPM* Header V3 DSA/SHA1 Signature, key ID解决办法: rpm -ivh vnc-server-4.1.2-14.el5_5.4.i386.rpm --force --nodeps

安装RPM包遇到:warning:   : Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY

安装 据网上资料说是由于安装了旧版的GPG Keys造成的. 解决办法如下: rpm -ivh pdksh-5.2.14-37.el5_8.1.x86_64.rpm --force --nodeps--force:强制安装 --nodeps:忽略依赖关系

rpm包安装报错: Header V3 RSASHA256 Signature, key ID fd431d51 NOKEY

报错信息:Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY 一.问题场景 RHEL 6.5 安装MySQL-5.5.44 首先,卸载rpm -e mysql-libs dependencies:(会卸载下面五个包) cronie-1.4.4-12.el6.i686.rpm cronie-anacron-1.4.4-12.el6.i686.rpm crontabs-1.10-33.el6.noarch.rpm postfix-2.6.6-

安装mysql 偶遇:warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY

[[email protected] yum.repos.d]# rpm -e --nodeps mysql error: package mysql is not installed [[email protected] yum.repos.d]# rpm -qa |grep mysql [[email protected] yum.repos.d]# yum install mysql =====================================================

warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID

报错 这是由于安装了旧版本的GPG keys造成的,解决办法就是 引用rpm --import /etc/pki/rpm-gpg/RPM* /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL  这个文件有可能为空 加上这些内容,ok -----BEGIN PGP PUBLIC KEY BLOCK-----Version: GnuPG v1.2.6 (GNU/Linux) mQGiBEXopTIRBACZDBMOoFOakAjaxw1LXjeSvh/kmE35fU1rXfM7T0A