GPG key retrieval failed: [errno 14] cocould not open/Read File: // etc/pki/rpm-GPG/RPM-GPG-KEY-EPEL-6

Source: Internet
Author: User
Tags gpg

Warning: rpmts_hdrfromfdno: Header V3 RSA/sha256 signature, key ID 0608b895: nokey

Retrieving key from file: // etc/pki/rpm-GPG/RPM-GPG-KEY-EPEL-6

GPG key retrieval failed: [errno 14] cocould not open/Read File: // etc/pki/rpm-GPG/RPM-GPG-KEY-EPEL-6


Solution not solved:

After the source is updated to 163 today, an error is reported during Yum: GPG key retrieval failed: [errno 14] cocould not open/read file: /// etc/pki/rpm-GPG/RPM-GPG-KEY-CentOS-5.

Solution: VI/etc/yum. Repos. d/CentOS-Base.repo

Change all the RPM-GPG-KEY-CentOS-5 in the file to a RPM-GPG-KEY-CentOS-6.

Vim Replace: % S/RPM-GPG-KEY-CentOS-5/RPM-GPG-KEY-CentOS-6

It is already 6.

Failed to get GPG key: [errno 14]

Each stable RPM package released by fusion source has a GPG signature. By default, yum and graph update tools verify these signatures and refuse to install any software packages without signatures or corrupted signatures. You should always verify the signature before installing the software package. These signatures ensure that the software package you want to install comes from the fusion repository and is not replaced by the webpage or image that provides the software package (unintentional or malicious ).


However, when we install the fusion source, the GPG key is not added by default, so we will think about

Failed to get GPG key: [errno 14] cocould not open/Read File: // etc/pki/rpm-GPG/RPM-GPG-KEY-rpmfusion-free-fedora-15-x86_64

How can this problem be solved?

The answer is, of course, import the key ~

Open the Key page on fusion source Official Website: http://rpmfusion.org/keys

 

Rpm fusion free for Fedora 8, 9 and 10

Download; key in pgp.mit.edu; fingerprint:

Pub 1024d/49c8885a 2008-07-12 key fingerprint = 870f ea14 0067 8204 7151 ba87 8550 99b2 49c8 885 auid RPM fusion repository (Fedora-free) <[email protected]> sub 2048g/

 

The first line is the version of the system corresponding to the key. If you are using a specific version of the system, select the corresponding key and click Download to download the key,

Because the wolf is a fedora15, all the downloaded files are

RPM-GPG-KEY-rpmfusion-free-fedora-15

And then open the terminal.

Run the following command to obtain the root permission:

Rpm -- import '/home/XXX/RPM-GPG-KEY-rpmfusion-free-fedora-15'

The following directory is replaced by the absolute path of the downloaded key file. You can also directly import the file to the terminal. The system will automatically enter the file address

Press enter to execute. Try again to install the software ~ Has it been solved?


GPG key retrieval failed: [errno 14] cocould not open/Read File: // etc/pki/rpm-GPG/RPM-GPG-KEY-EPEL-6

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.