rpm-gpg-key problem on os4, xo 1.75

Gabriel Eirea geirea at gmail.com
Sun Sep 11 10:47:26 EDT 2011


2011/9/10 Peter Robinson <pbrobinson at gmail.com>:
> On Sat, Sep 10, 2011 at 11:13 PM, Gabriel Eirea <geirea at gmail.com> wrote:
>> Hi:
>>
>> With os4 in an xo 1.75 I try to do "yum install emacs" from the
>> Ctrl-Alt-F2 console and get the error:
>>
>> GPG key retrieval failed: [Errno 14] Could not open/read file:
>> ///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-arm
>>
>> In fact, the file does not exist. There are other files like
>> RPM-GPG-KEY-fedora-i386 and other architectures but not arm.
>>
>> This did not happen with os42.
>>
>> Is there a way to import that key?
>
> Just disable the key in the repo. Do the following:
>
> cd /etc/yum.repos.d
> sed .i 's/gpgcheck=1/gpgcheck=0/' fedora*repo

Thank you, Peter, that solved the problem (changing .i for -i in the
sed command).

Anyway, wouldn't it be better to include the missing gpg key?

Regards,

Gabriel

>
> Peter
>



More information about the Devel mailing list