LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   rpm install without key (https://www.linuxquestions.org/questions/linux-newbie-8/rpm-install-without-key-583016/)

jCash 09-07-2007 04:00 PM

rpm install without key
 
Is there a way to force install package on command line without having access to key?

Bariton 09-07-2007 04:39 PM

What do you mean with
Quote:

access to key?
Is this helpfull:
Code:

rpm -i {file.rpm}

jCash 09-07-2007 04:50 PM

Quote:

Originally Posted by Bariton (Post 2884856)
What do you mean with

Is this helpfull:
Code:

rpm -i {file.rpm}

when I do rpm -i package, I get:

Header V3 DSA signature: NOKEY, key ID

How can I install it in shell, without the gpg key. Like you do it in the Gnome GUI by clicking INSTALL ANYWAY.

axelfc 09-07-2007 05:26 PM

Try rpm --force package.rpm

However you'd better find and install the gpg key.

jCash 09-07-2007 06:27 PM

Quote:

[root@localhost apps]# rpm -i --force MySQL-client-5.1.20-0.glibc23.i386.rpm
warning: MySQL-client-5.1.20-0.glibc23.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5

[root@localhost apps]# rpm -q mysql
package mysql is not installed
I tried it. I don't think that installed it. When I issue rpm -q mysql, I don't get anything.

Junior Hacker 09-07-2007 11:56 PM

You should go through this document, it drops some clues.

axelfc 09-08-2007 04:36 AM

Which distro are you using? And why don't you try to install the package you need through its package manager? yum, yast etc. Apart from this there should be a gpg key where you downloaded this rpm from.

Junior Hacker 09-08-2007 02:33 PM

Commands used to import the key are in here.


All times are GMT -5. The time now is 04:15 PM.