From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.4) Gecko/20030703 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): yum-2.0.4-2 How reproducible: Always 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. Additional info:
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.