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

Problem when installing 4.8 using yum.



On Tue, 2007-05-29 at 17:55 +0400, Sergei Organov wrote:
> 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?
Fedora ships yum and yum configurations (/etc/yum.repos.d) configured to
access their repos (For FC6: core and extras).

rtems.org and other third parties (e.g. livna.org) ship yum
configurations (i.e. /etc/yum.repos.d/<file>) to set up yum to add these
3rd party's repos to a system's configuration.

>  I'd prefer not to mess this system up even
> further by selecting random configs for system-wide services ;)
Well, ... either you use 3rd party repos or you don't, either you trust
us not to screw up your system or you don't, it's up to you ;)

All I can say: I promise not to replace any official Fedora package by
any of my packages and try hard not to conflict with any other packages
(All our packages install to /opt/rtems* - Official Fedora packages
install to /usr).

> >> [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!

Ralf