`

linux yum - yum warning: rpmts_HdrFromFdno

阅读更多
【基本介绍】
在yum安装软件的时候有时候会报warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID*****.

【问题原因】
签名的作用就是为了验证包的完整性和可靠性。
In fact, all recently-produced package files will have these verification measures built in automatically.  Older package files had only a PGP-based signature; if that was missing, there was nothing left to verify.
新的包在编译的时候都会自动添加验证信息。而旧包里面没有

【解决方法】
Digital  signatures  cannot  be  verified  without  a  public key.  An ASCII armored public key can be added to the rpm database using
       rpm --import PUBKEY ...

       rpm {--checksig} [--nosignature] [--nodigest]
           PACKAGE_FILE ...

       The  --checksig option checks all the digests and signatures contained in PACKAGE_FILE to ensure the integrity and origin of the pack-
       age. Note that signatures are now verified whenever a package is read, and --checksig is useful to verify all of the digests and  sig-
       natures associated with a package.

       Digital  signatures  cannot  be  verified  without  a  public key.  An ASCII armored public key can be added to the rpm database using
       --import. An imported public key is carried in a header, and key ring management is performed exactly  like  package  management.  For
       example, all currently imported public keys can be displayed by:

       rpm -qa gpg-pubkey*

       Details about a specific public key, when imported, can be displayed by querying.  Here鈥檚 information about the Red Hat GPG/DSA key:

       rpm -qi gpg-pubkey-db42a60e

       Finally, public keys can be erased after importing just like packages. Here鈥檚 how to remove the Red Hat GPG/DSA key

       rpm -e gpg-pubkey-db42a60e


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

【参考引用】
http://pandarabbit.blog.163.com/blog/static/209284144201241810300804/
http://www.rpm.org/max-rpm/s1-rpm-checksig-using-rpm-k.html
分享到:
评论

相关推荐

    yum-metadata-parser-1.1.4-10.el7.x86_64.rpm

    yum-3.4.3-154.el7.centos.noarch.rpm yum-plugin-fastestmirror-1.1.31-42.el7.noarch.rpm python-urlgrabber-3.10-8.el7.noarch.rpm yum-metadata-parser-1.1.4-10.el7.x86_64.rpm rpm-4.11.3-25.el7.x86_64....

    yum-plugin-fastestmirror-1.1.31-54.el7_8.noarch.rpm

    yum-plugin-fastestmirror-1.1.31-54.el7_8.noarch.rpm

    google-chrome-stable_current_x86_64.rpm

    yum install -y lsb yum install -y libXScrnSaver yum install -y google-chrome-stable_current_x86_64.rpm /usr/share/application/ 复制Chrome到桌面

    yum-metadata-parser-1.1.2-4.el5.x86_64.rpm

    资源包含yum-metadata-parser-1.1.2-4.el5.x86_64.rpm、yum-metadata-parser-1.1.2-3.el5.centos.i386.rpm,两个文件,用于装yum的资源

    linux 重装yum需要的包

    包含包内容: python-iniparse-0.4-9.el7.noarch.rpm python-urlgrabber-3.10-10.el7.noarch.rpm rpm-4.11.3-45.el7.x86_64.rpm rpm-python-4.11.3-45.el7....yum-plugin-fastestmirror-1.1.31-54.el7_8.noarch.rpm

    yum-updatesd-3.4.3-8.1.2.x86_64.rpm

    yum-updatesd-3.4.3-8.1.2.x86_64.rpm

    centos 7 安装 yum rpm 大全

    libxml2-python-2.9.1-6.el7_2.3.x86_64.rpm python-2.7.5-86.el7.x86_64.rpm python-backports-1.0-8.el7.x86_64.rpm python-backports-ssl_match_hostname-3.5.0.1-1.el7....yum-utils-1.1.31-52.el7.noarch.rpm

    centos7-yum离线rpm安装包

    该文件包含了:python-iniparse-0.4-9.el7.noarch.rpm、python-urlgrabber-3.10-8.el7.noarch.rpm、yum-3.4.3-158.el7.centos.noarch.rpm、yum-metadata-parser-1.1.4-10.el7.x86_64.rpm、yum-plugin-fastestmirror-...

    linux环境安装Oracle12C涉及到的依赖包compat-libcap1-1.10-1.x86_64.rpm

    compat-libcap1-1.10-1.x86_64.rpm;pdksh-5.2.14-37.el5_8.1.x86_64.rpm;python-iniparse-0.4-9.el7.noarch.rpm;yum-3.4.3-161.el7.noarch.rpm;...yum-plugin-fastestmirror-1.1.31-52.el7.noarch.rpm

    libwebkitgtk.zip

    yum install -y atk-2.22.0-3.el7.x86_64.rpm yum install -y cairo-1.14.8-2.el7.x86_64.rpm yum install -y enchant-1.6.0-8.el7.x86_64.rpm yum install -y geoclue-0.12.99-7.el7.x86_64.rpm yum install -y ...

    redhat8 安装yum需要的部分 rpm包

    yum-4.7.0-4.el8.noarch.rpm lrzsz-0.12.20-43.el8.x86_64.rpm libnsl-2.28-164.el8.i686.rpm libnsl-2.28-164.el8.x86_64.rpm yum-utils-4.0.21-3.el8.noarch.rpm vim-minimal-8.0.1763-16.el8.x86_64.rpm python3-...

    yum命令未找到,安装yum

    yum 命令找不到,快速安装yum centos-yumconf-4-4.5.noarch.rpm python-elementtree-1.2.6-5.el4.centos.x86_64.rpm python-sqlite-1.1.7-1.2.1.x86_64.rpm ...yum-metadata-parser-1.0-8.el4.centos.x86_64.rpm

    autogen-libopts-5.18-5.el7.x86_64.rpm下载

    在Linux系统管理中,我们经常会遇到各种软件安装和配置的问题。本文将详细解析"autogen-libopts-5.18-5.el7.x86_64.rpm"这个软件包,以及它在解决CentOS7系统中ntpd服务启动失败和yum源不可用问题上的作用。 ...

    yum-plugin-auto-update-debug-info-1.1.31-54.el7_8.noarch.rpm

    官方离线安装包,测试可用。使用rpm -ivh [rpm完整包名] 进行安装

    glibc-2.5-49.x86_64.rpm

    Linux系统gcc安装依赖包,glibc-2.5-49.x86_64.rpm

    docker-compose-Linux-x86_64-1.25.zip

    docker-compose-Linux-x86_64 1.25.4 现在先来熟悉一下Docker Compose。使用Docker Compose,可以用一个YAML文件定义一组要启动的容器,以及容器运行时的属性。Docker Compose称这些容器为“服务”,像这样定义:...

    yum-plugin-fastestmirror-1.1.31-34.el7.noarch.rpm

    yum-plugin-fastestmirror-1.1.31-34.el7.noarch.rpm

    yum-metadata-parser-1.1.2.tar.gz_Parser_metadata_yum_yum-metada_

    `yum-metadata-parser-1.1.2.tar.gz` 是一个包含 `yum-metadata-parser` 的源码包,这个软件主要用于解析 `yum` 仓库的元数据,以提高在Linux系统中使用 `yum` 工具进行软件包管理和更新时的效率。`yum` 是Yellowdog...

    yum源详细配置

    在CentOS下有的时候用yum安装软件的时候...warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID**** 这是由于yum安装了旧版本的GPG keys造成的,解决办法就是 rpm --import /etc/pki/rpm-gpg/RPM*

    linux 更新yum python 用到过的安装包

    自己更新用到,搜集过的 几个包 ,如有需要自行下载。 dbus-python-devel-1.1.1-9.el7.x86_64.rpm python-2.7.5-89.el7.x86_64.rpm python-iniparse-0.4-9...yum-plugin-fastestmirror-1.1.31-54.el7_8.noarch.rpm

Global site tag (gtag.js) - Google Analytics