Red Hat Bugzilla – Bug 111941
yum with gpgcheck=1 installs rpms even though the gpg keys have not been imported yet
Last modified: 2007-11-30 17:10:34 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.4)
Description of problem:
I have added gpgcheck=1 in /etc/yum.conf and accidentally run
"yum update" without importing the Fedora GPG key first. Surprisingly,
yum still downloaded and installed new rpms.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Remove all GPG keys from rpm data base.
2. add gpgcheck=1 to the main section in yum.conf
3. Try installing or updating packages with yum
Actual Results: The update/install actions are performed.
Expected Results: Yum should treat it as an error since gpg keys have
not been imported yet.
Why error? For example, the rpm CLI does not treat as error.
No matter what the missing key is reported to yum. Marked upstream,
as that is where any fix will be.