[Yum] Re: CLI switch to disable GPG

Tom Diehl tdiehl at rogueind.com
Sat Jul 16 00:41:57 UTC 2005


On Fri, 15 Jul 2005, Florin Andrei wrote:

> I am using yum-2.3.2-7 on FC4. I appreciate the "yum localinstall"
> trick, as it provides a very easy way to automatically satisfy
> dependencies when installing local packages.
> But there's a problem: if the local package is custom-made and is not
> signed, yum fails.
> 
> It would be nice if there was a way to temporarily disable, on the CLI,
> the GPG check. At least for the local package, and keep GPG enabled for
> remote packages. Or something like that.
> Or even better, allow for selective GPG skip:
> 
> --disable-gpg
> --disable-gpg=local
> --disable-gpg=remote
> --disable-gpg=all
> 
> ...the first two being equivalent.
> 
> I am currently editing yum.conf before and after the installation, as a
> workaround, but of course it's an ugly solution.

Instead of adding more complexity to yum why not simply add --sign
to your rpmbuild command line and put the sig in your rpm db?

Obviously this means setting up a gpg sig but I am sure that if I can do it
most anyone else can too.

Regards,

Tom Diehl		tdiehl at rogueind.com		Spamtrap address mtd123 at rogueind.com



More information about the Yum mailing list