[K12OSN] rpm --import public.gpg.key = failure

anthony baldwin anthonybaldwin at snet.net
Sat Feb 5 13:03:20 UTC 2005


Eric Harrison wrote:

> On Sat, 5 Feb 2005, anthony baldwin wrote:
>
>>
>> [root at localhost tony]# yum update
>>
>> You have enabled checking of packages via GPG keys. This is a good 
>> thing.
>> However, you do not have any GPG public keys installed. You need to 
>> download
>> the keys for packages you wish to install and install them.
>> You can do that by running the command:
>>   rpm --import public.gpg.key
>> For more information contact your distribution or package provider.
>> [root at localhost tony]# rpm --import public.gpg.key
>> error: public.gpg.key: import read failed.
>> [root at localhost tony]#
>> Same after several tries.
>> How can I correct this problem?
>
>
> This command should do the trick for you:
>
>     rpm --import /usr/share/rhn/*KEY* /usr/share/doc/k12ltsp/*KEY*
>
> -Eric
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>
Thanks, Eric!
All set.

tony




More information about the K12OSN mailing list