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:
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:
rpm -q --qf "%{NAME}-%{VERSION}-%{RELEASE} \n %{SUMMARY} \n" gpg-pubkey