Re: FC2 location of GPG keys

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

 



Michael Schwendt wrote:
On Fri, 16 Jul 2004 06:55:51 -0700 (PDT), John Cox wrote:


Previouly suggested:


"This should tell what keys you have and who owns them

rpm -qa gpg-pubkey\* --qf "%{version}-%{release} %{summary}\n""

and

"rpm --import http://www.fedora.us/FEDORA-GPG-KE

rpm --import http://rpm.livna.org/RPM-LIVNA-GPG-KEY "


Results:

a109b1ec-3f6e28d5 gpg(Livna.org rpms <rpm-key@xxxxxxxxx>)
8df56d05-3e828977 gpg(Fedora Linux (RPMS) <security@xxxxxxxxx>)
8df56d05-3e828977 gpg(Fedora Linux (RPMS) <security@xxxxxxxxx>)
8df56d05-3e828977 gpg(Fedora Linux (RPMS) <security@xxxxxxxxx>)
8df56d05-3e828977 gpg(Fedora Linux (RPMS) <security@xxxxxxxxx>)
a109b1ec-3f6e28d5 gpg(Livna.org rpms <rpm-key@xxxxxxxxx>)
8df56d05-3e828977 gpg(Fedora Linux (RPMS) <security@xxxxxxxxx>)

As you can see I have multiple copies installed. When I try to yum
install anything from fedora.us I get the "wrong GPG" key error. Could
the multiple copies be causing this? Yum was working ok last week. Not
sure what happened.

How can I get rid of the copies? man rpm suggests using rpm -e but that
says I don't have an installed package.


You're missing the Fedora Core key. I would suggest you get rid of all
the installed keys and then reinstall from scratch:

  rpm -e gpg-pubkey --allmatches

rpm -ivh http://fedora.redhat.com/about/security/4F2A6FD2.txt \
http://www.fedora.us/FEDORA-GPG-KE \
http://rpm.livna.org/RPM-LIVNA-GPG-KEY
Maybe this attempt to ease the process particualy at install time will help,just add and remove to suit,I don't remember where I got it.

#!/bin/bash
#
rpm --import /usr/share/doc/fedora-release-*/*GPG-KEY* \
http://rpm.livna.org/RPM-LIVNA-GPG-KEY \
http://newrpms.sunsite.dk/gpg-pubkey-newrpms.txt \
http://www.jpackage.org/jpackage.asc \
http://www.fedora.us/FEDORA-GPG-KEY \
http://freshrpms.net/packages/RPM-GPG-KEY.txt \
http://ATrpms.net/RPM-GPG-KEY.atrpms \
http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt \
http://people.redhat.com/arjanv/2.6/pubkey.gpg \
http://dries.studentenweb.org/ayo/RPM-GPG-KEY.dries.txt

  david



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux