[Spacewalk-list] Public key is not installed [solved]
jason at monsterjam.org
jason at monsterjam.org
Thu Oct 6 13:56:24 UTC 2011
On Thu, Oct 06, 2011 at 06:47:48AM +0800, Colin Coe wrote:
> On Thu, Oct 6, 2011 at 6:38 AM, <jason at monsterjam.org> wrote:
> > On Fri, Mar 18, 2011 at 11:51:54AM +0800, Colin Coe wrote:
> >> Did you build/provision this node from spacewalk or was it manually
> >> joined sometime after it was built?
> >>
> >> The easiest resolution will simply to do an 'rpm --import
> >> /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release'
> >>
> >> For machines that are provisioned from Spacewalk/Satellite, its best
> >> to import the GPG key for each of the channels you are providing and
> >> then link those to the kickstart profile so the guests get them
> >> automatically.
> >>
So the problem was:
Public key for augeas-libs-0.9.0-1.el5.x86_64.rpm is not installed (on host A)
What i did to fix it was:
find a host that has the key (host B, which is another working client to the same spacewalk server) i know 6c458859 was the missing id
how did I know this? from host B, do
[root at HOSTB]# rpm -qa gpg\*
gpg-pubkey-db42a60e-37ea5438
gpg-pubkey-6c458859-4d27758f
gpg-pubkey-897da07a-3c979a7f
etc...
run
rpm -qi on each gpg-pubkey-* to look at each one and see which one is tied to the channel youre having problems with.
then look a the "Version" to see which key you need to export.. in my case, it was 6c458859
[jason at HOSTB]$gpg --export -a 6c458859 >/tmp/gpgkey
scp the key to host thats complaining about missing key.
[root at HOSTA]$rpm --import gpgkey
you should see this afterwards:
[root at HOSTA]$ rpm -qa | grep 6c458859
gpg-pubkey-6c458859-4d27758f
after that, the yum install of augeas-libs worked fine on HOSTB
Jason
More information about the Spacewalk-list
mailing list