Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Why do I get an error importing a GPG key for a repository?  (Read 2190 times)

0 Members and 1 Guest are viewing this topic.

Aby

  • Guest
Why do I get an error importing a GPG key for a repository?
« on: April 07, 2014, 06:11:42 am »
Why do I get an error importing a GPG key for a repository?

Many instructions for configuring 3rd party repositories include importing a GPG key with rpm --import .... If you get an error message like the following:

Code: [Select]
error: http://apt.sw.be/RPM-GPG-KEY.dag.txt: key 1 import failed.
The error can be ignored as the key has already been imported. You can confirm this by running the following command:

Code: [Select]
rpm -q --qf "%{NAME}-%{VERSION}-%{RELEASE} \n %{SUMMARY} \n" gpg-pubkey