[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem when installing 4.8 using yum.



Ralf Corsepius <ralf.corsepius at rtems.org> writes:
> On Tue, 2007-05-29 at 16:37 +0400, Sergei Organov wrote:
>> Hello,
>> 
>> I'm trying to install RTEMS tools using yum (3.0.3) on FC6.
>> 
>> # yum -c /etc/yum/yum.rtems.com install rtems-4.8-automake-rtems
>> ...
>> Downloading Packages:
>> (1/2): rtems-4.8-autoconf 100% |=========================| 623 kB    00:03
>> (2/2): rtems-4.8-automake 100% |=========================| 598 kB    00:03
>> warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 69ce4a83
>> 
>> 
>> Public key for rtems-4.8-autoconf-2.61-5.noarch.rpm is not installed
>> #
>> 
>> How do I fix this?
> Normally, a properly configured yum set up asks you to install the
> key ...
>
> ... but ... I see, you seem to be using a self-written one ;)

Well, hopefully I don't, though I can't guarantee the admin didn't mess
up something on this host.

> If you want to continue to use your own config, you'll have to install
> the gpg key manually:
> rpm --import \
> ftp://ftp.rtems.org/pub/rtems/linux/gpg-pubkey-69ce4a83-44cc2b30

Yes, thanks, I guessed that, but didn't have a clue where to find the
keys, so I've temporarily disabled gpgcheck for RTEMS repositories
instead. I think it would be nice if 
<http://www.rtems.com/wiki/index.php/APT/Yum_Repository>
mentioned key management.

>
> Alternatively (and that what I recommend), you could use our official
> yum configuration:
>
> rpm -U ftp://ftp.rtems.org/pub/rtems/linux/4.8/fedora/6/i386/rtems-4.8-yum-conf-0.7-1.fc6.noarch.rpm
> yum install <.....>

Now I'm confused. Doesn't Fedora distribution itself have official
suitable yum configuration? I'd prefer not to mess this system up even
further by selecting random configs for system-wide services ;)

>> [Disclaimer: I usually use Debian-based systems, so have almost no clue
>> on how yum works]
> Then use apt ;) It's supported by Fedora 6 as well. We provide a
> configuration package as well:
>
> rpm -U \
> ftp://ftp.rtems.org/pub/rtems/linux/4.8/fedora/6/i386/rtems-4.8-apt-conf-0.7-1.fc6.noarch.rpm
> apt-get update 
> apt-get install <....>

This is nice to know, thanks!

-- Sergei.