Casimiro de Almeida Barreto wrote:
Doing as told in the page we get:
[root@terra rpm-gpg]# rpm --import PUBKEY
erro: PUBKEY: leitura de importação falhou (-1).
[root@terra rpm-gpg]#
error: PUBKEY: import reading failed (-1).
That is just a usage example, you need to replace PUBKEY with the path
to a key, like /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-8-and-9-primary.
Note that yum will do this for you automatically in most cases, so it
is not necessary. (As the page says just above that example: "The
keys used by Fedora are enabled in the yum repository configuration,
so you generally don't need to manually import them into the rpm
database.")
More likely, you'd want to use gpg to import the key and then verify
the fingerprint, as the later examples show.
--
Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL:
www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It is impossible to enjoy idling thoroughly unless one has plenty of
work to do.
-- Jerome K. Jerome