Bug 160988 - (FC4_GPGKEY) yum default config on FC4 fails because packages signed with RH key
yum default config on FC4 fails because packages signed with RH key
Status: CLOSED NEXTRELEASE
Product: Fedora
Classification: Fedora
Component: distribution (Show other bugs)
4
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
:
: 169407 174750 174751 174752 174754 174755 174757 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-19 09:47 EDT by Chris Ricker
Modified: 2014-01-21 17:52 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-06-20 12:36:21 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Chris Ricker 2005-06-19 09:47:42 EDT
I did a small basic FC4 install using anaconda, then started adding the stuff I
needed using yum. In a few cases, the installs would fail because of errors like:

Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID db42a60e
public key not available for sgml-common-0.6.3-17.noarch.rpm
Retrieving GPG key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

The GPG key at file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora (0x4F2A6FD2) 
is already installed but is not the correct key for this package.
Check that this is the correct key for the "Fedora Core 4 - i386 - Base" repository.


Doing 

# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY

fixes the problem for the couple of packages I saw this on

The issue is that packages in Fedora Core are signed with (at least) two
different keys. Most are signed with /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora but
some are instead signed with /etc/pki/rpm-gpg/RPM-GPG-KEY

To fix,

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY

should be added to either /etc/yum.conf or /etc/yum.repos.d/fedora.repo to go
along with the 

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

that's already there
Comment 1 Seth Vidal 2005-06-19 10:37:21 EDT
Refiling under general distro b/c the distro shouldn't be signed with two keys.
Comment 2 Bill Nottingham 2005-06-20 12:36:21 EDT
Closing as NEXTRELEASE; we'll take better care of this with FC5, but there's not
much that can be done for FC4 at this point.
Comment 3 Jeremy Katz 2005-09-27 18:09:45 EDT
*** Bug 169407 has been marked as a duplicate of this bug. ***
Comment 4 bastiaan 2005-10-12 16:39:45 EDT
In response to comment #2: a lot can be done for FC4 at this point. All that's
needed is an updated fedora-release RPM with a fedora.repo containing the extra
gpgkey= file. This will save a lot of people the hassle of finding out the 'rpm
--import /etc/pki/rpm-gpg/RPM-GPG-KEY' workaround by them selves. And a lot of
duplicate bugreports as well....

Comment 5 Warren Togami 2005-12-01 17:47:20 EST
*** Bug 174750 has been marked as a duplicate of this bug. ***
Comment 6 Warren Togami 2005-12-01 17:47:25 EST
*** Bug 174752 has been marked as a duplicate of this bug. ***
Comment 7 Warren Togami 2005-12-01 18:28:18 EST
*** Bug 174757 has been marked as a duplicate of this bug. ***
Comment 8 Warren Togami 2005-12-01 18:28:34 EST
*** Bug 174751 has been marked as a duplicate of this bug. ***
Comment 9 Warren Togami 2005-12-01 18:28:50 EST
*** Bug 174754 has been marked as a duplicate of this bug. ***
Comment 10 Warren Togami 2005-12-01 18:29:03 EST
*** Bug 174755 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.