PDA

View Full Version : How to install a not signed rpm with yum?



emamm
10th January 2007, 09:38 PM
Hello

How to install a not signed rpm with yum? Yum complains that the package is not signed.

Many thanks

Ed

Dies
10th January 2007, 09:41 PM
Just double click the package and follow the prompts.

Duli
10th January 2007, 09:41 PM
Hello

How to install a not signed rpm with yum? Yum complains that the package is not signed.

Many thanks

Ed

Two ways:

1. Just use the simple "rpm -ivh package.rpm" (you get the same result as doing "yum localinstall package.rpm"); or

2. Edit /etc/yum.conf and change the value of gpgcheck from 1 to 0.

Cheers,
Duli

emamm
10th January 2007, 10:51 PM
Many thanks. I am going for the second option but can I do the same (I mean, turning off gpgcheck) on the command line?

Ed

Duli
11th January 2007, 02:49 PM
Many thanks. I am going for the second option but can I do the same (I mean, turning off gpgcheck) on the command line?

Ed
Hummm... good question. You´re gonna have to do a "man yum" or "man rpm" in order to discover!!!

Senthooran
21st June 2009, 05:34 AM
Many thanks. I am going for the second option but can I do the same (I mean, turning off gpgcheck) on the command line?

Ed

Yep, you may type --nogpgcheck at the end of the yum command