[Yum] gpgcheck fails but rpm -K passes

seth vidal skvidal at phy.duke.edu
Sat Jan 24 15:19:23 UTC 2004

> I had a yum install failure that indicated a gpg sig problem. After
> verifying rpm -K passed for the package and its dependents I turned
> gpgcheck off.
> can anyone help me understand why rpm -K can pass but yum install fails
> ?

in yum-1.03 you have to import the gpg keys into root's keyring, not
into the rpmdb. This is b/c 8.0 was a hybrid of rpm 4.1 and rpm 4.0.4.

as root run:
gpg --import somekey

then run yum again. See if it works.

> I'm running rredhat 8.0 distro with rpm-4.1-1.06 and yum-1.03-1_80.

Thanks for including the version and distro number. This makes things a
lot easier.

More information about the Yum mailing list