yum and gpgcheck

Todd Zullinger tmz at pobox.com
Mon Apr 16 16:19:49 UTC 2007


Michal Janda wrote:
>  is there any command-line option how to turn of gpgcheck=1 option
>  when using yum localinstall? Typically when I download single RPM.

I don't know that there is one, though I know I've seen a plugin
somewhere that allowed this.

Here's one work-around (from Paul Howarth's Java Howto[1])

$ (echo config gpgcheck 0; echo localinstall your*.rpm; echo run) > yum-cmd
$ sudo yum shell yum-cmd

Another way to solve this would be to sign the packages with a local
key that you've created and imported into the rpm db.

[1] http://www.city-fan.org/tips/JpackageJava

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
======================================================================
The trouble with opportunity is that it always comes disguised as hard
work.
    -- Herbert V. Prochnow

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20070416/fca535aa/attachment-0002.bin 


More information about the users mailing list