Red Hat Installation - Installing GPG key for up2date

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Installation > April 2004 > Installing GPG key for up2date





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Installing GPG key for up2date
noone

2004-03-28, 10:35 pm


Installed Fedora Core 1 with no X on a new machine.
Now I wanted to update glibc, kernel, etc....
So I raun up2date-nox, but it says I should install the key:


[root@fedora root]# up2date-nox
Your GPG keyring does not contain the Red Hat, Inc. public key.
Without it, you will be unable to verify that packages Update Agent downloads
are securely signed by Red Hat.

Your Update Agent options specify that you want to use GPG.

To install the key, run the following as root:

rpm --import /usr/share/rhn/RPM-GPG-KEY


So I did:

[root@fedora root]# rpm --import /usr/share/rhn/RPM-GPG-KEY


.... but it still says I have not installed the key:


[root@fedora root]# up2date-nox
Your GPG keyring does not contain the Red Hat, Inc. public key.
Without it, you will be unable to verify that packages Update Agent downloads
are securely signed by Red Hat.

Your Update Agent options specify that you want to use GPG.

To install the key, run the following as root:

rpm --import /usr/share/rhn/RPM-GPG-KEY



Any ideas ?

Munchen

2004-03-30, 7:35 pm

noone wrote:
>
> Installed Fedora Core 1 with no X on a new machine.
> Now I wanted to update glibc, kernel, etc....
> So I raun up2date-nox, but it says I should install the key:
>
>
> [root@fedora root]# up2date-nox
> Your GPG keyring does not contain the Red Hat, Inc. public key.
> Without it, you will be unable to verify that packages Update Agent
> downloads
> are securely signed by Red Hat.
>
> Your Update Agent options specify that you want to use GPG.
>
> To install the key, run the following as root:
>
> rpm --import /usr/share/rhn/RPM-GPG-KEY
>
>
> So I did:
>
> [root@fedora root]# rpm --import /usr/share/rhn/RPM-GPG-KEY
>
>
> ... but it still says I have not installed the key:
>
>
> [root@fedora root]# up2date-nox
> Your GPG keyring does not contain the Red Hat, Inc. public key.
> Without it, you will be unable to verify that packages Update Agent
> downloads
> are securely signed by Red Hat.
>
> Your Update Agent options specify that you want to use GPG.
>
> To install the key, run the following as root:
>
> rpm --import /usr/share/rhn/RPM-GPG-KEY
>
>
>
> Any ideas ?
>


Just a thought. In Redhat 9 (and maybe 8), couldn't you run rhn_register
from a command line to get a key? I don't have a system running Fedora,
particularly without X, to try this on. Again, just a thought.

Good luck.

Munchen
noone

2004-03-31, 3:35 am

Munchen wrote:
> noone wrote:
>
>
> Just a thought. In Redhat 9 (and maybe 8), couldn't you run rhn_register
> from a command line to get a key? I don't have a system running Fedora,
> particularly without X, to try this on. Again, just a thought.
>
> Good luck.
>
> Munchen



Found the alternative solution.
Manually updated up2date by downloading the latest RPM.
This time, when I ran up2date-nox, it says:

To install the key, run the following as root:

rpm --import /usr/share/rhn/RPM-GPG-KEY
rpm --import /usr/share/rhn/RPM-GPG-KEY-fedora


When I imported /usr/share/rhn/RPM-GPG-KEY-fedora, up2date-nox does not complain anymore.

Andrew Spartz

2004-04-11, 3:33 pm

noone <noone@noone.org> wrote:

> To install the key, run the following as root:
>
> rpm --import /usr/share/rhn/RPM-GPG-KEY


I beleive that is not the correct key for Fedora I would tell you to
look at their wesite, but that is tough without "X"

ARS

Robert M. Riches Jr.

2004-04-11, 3:33 pm

In article <1gbxbxw.1mbbir61myxi40N%aspartzNOSPAM@pinenet.com>, \
Andrew Spartz wrote:
> noone <noone@noone.org> wrote:
>
>
> I beleive that is not the correct key for Fedora I would tell you to
> look at their wesite, but that is tough without "X"


According to http://fedora.redhat.com/about/security, the
Fedora key can be found in three places:

http://fedora.redhat.com/about/security/4F2A6FD2.txt

http://pgp.mit.edu:11371/pks/lookup...2a6fd2&op=index

/usr/share/rhn/RPM-GPG-KEY-fedora

It says the fingerprint is

CAB4 4B99 6F27 744E 8612 7CDF B442 69D0 4F2A 6FD2

Without X, you can use wget to download the key.

Good luck.

Robert Riches
spamtrap42@verizon.net
(Yes, that is one of my email addresses.)
Andreas Korn

2004-04-11, 3:33 pm

Andrew Spartz wrote:
> noone <noone@noone.org> wrote:
>
>
>
>
> I beleive that is not the correct key for Fedora I would tell you to
> look at their wesite, but that is tough without "X"
>
> ARS
>


Take a look at lynx.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com