On Wed, Jun 07, 2006 at 09:14:11PM +0100, Peter Hillier-Brook wrote: > >This should work, though: > >$ (echo config gpgcheck 0; echo localinstall *.rpm; echo run) > yum-cmd > >$ sudo yum shell yum-cmd > > ---Kayvan > All done and working. Many thanks to all who helped. > This discussion prompted me to create this small script. I call it "yuminstall", and it allows me to install unsigned RPM files via yum, with the idea that if there are more dependencies, yum will find and install them. ------------------------- #!/bin/sh TMP=/var/tmp/yum$$ cat > $TMP << EOF config gpgcheck 0 localinstall ${1+"$@"} run EOF yum shell $TMP rm -f $TMP ------------------------- -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan, | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | my beautiful Queen. | Robin Gregory (2/28/92)
Attachment:
pgpcLqyqO3zrJ.pgp
Description: PGP signature