Installing unsigned packages with yum

Anne Wilson cannewilson at tiscali.co.uk
Sat Dec 30 17:13:28 UTC 2006


On Saturday 30 December 2006 17:02, Tim wrote:
> On Sat, 2006-12-30 at 16:48 +0000, Anne Wilson wrote:
> > I have downloaded printer drivers from the manufacturer's site and set
> > out to do a yum localinstall.  It aborts because the package is
> > unsigned.  I can't see any way, from the man pages, to tell it to
> > ignore the signature or lack of it.  Can it be done, or must I use
> > rpm?
>
> You could reconfigure YUM not to do a GPG check (see the yum.conf man
> file), though I'm loathe to suggest it.  You could make an additional
> configuration file that doesn't check GPG, and specify your special
> configuration file when you do a local install (see the yum man file
> about specifying the configuration file to use).  A half measure *might*
> be to disable GPG checking in the yum.conf file, but enable it in the
> individual repo configuration files.
>
> If you've manually downloaded it, and the one package can be installed
> without any worries about sorting out dependencies, you might as well
> use rpm.  Using the yum command isn't gaining you anything.
>
Fair enough.  I'm always a bit reluctant to mix methods, but in this case it's 
probably better and safer than disabling check, then having to remember to 
put it back afterwards.

Anne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20061230/3d3b2fde/attachment-0001.sig>


More information about the fedora-list mailing list