CentOS yum/rpm Error Signature Key ID Bad

Source: Internet
Author: User
Tags gpg

Phenomenon When executing the yum command

Error:rpmts_HdrFromFdno:Header V3 rsa/sha1 Signature, key ID C105b9de:bad

question: This is mainly on the CENTOS6. Nss-softokn There are bugs

How to resolve:

#把key删掉rpm-qa|grep gpg rpm-e gpg-pubkey-c105b9de-4e0fd3a3wget http://mirror.centos.org/centos/6/os/x86_64/Packages /nss-softokn-3.14.3-22.el6_6.x86_64.rpmrpm2cpio nss-softokn-freebl-3.14.3-22.el6_6.x86_64.rpm | CPIO-IDMVCD LIB64CP libfreeblpriv3.*/lib64yum Update

PS: The situation is too serious, the online search information is REBUILDDB, you can do so, but be sure to back up/var/lib/rpm, otherwise rpm-qa and Yum list results are empty ...

If it does, and it turns out to be empty, you're going to have to copy the/var/lib/rpm to another machine.

This article is from the "Silver Fox" blog, please be sure to keep this source http://foxhound.blog.51cto.com/1167932/1746287

CentOS yum/rpm Error Signature Key ID Bad

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.