LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-07-2007, 04:00 PM   #1
jCash
Member
 
Registered: Sep 2006
Posts: 57

Rep: Reputation: 15
rpm install without key


Is there a way to force install package on command line without having access to key?
 
Old 09-07-2007, 04:39 PM   #2
Bariton
Member
 
Registered: Jul 2006
Location: Schloß Holte-Stukenbrock
Distribution: (B)LFS 6.2.0
Posts: 42

Rep: Reputation: 15
What do you mean with
Quote:
access to key?
Is this helpfull:
Code:
rpm -i {file.rpm}
 
Old 09-07-2007, 04:50 PM   #3
jCash
Member
 
Registered: Sep 2006
Posts: 57

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Bariton View Post
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.
 
Old 09-07-2007, 05:26 PM   #4
axelfc
Member
 
Registered: Jan 2006
Distribution: ArchLinux
Posts: 175

Rep: Reputation: 34
Try rpm --force package.rpm

However you'd better find and install the gpg key.
 
Old 09-07-2007, 06:27 PM   #5
jCash
Member
 
Registered: Sep 2006
Posts: 57

Original Poster
Rep: Reputation: 15
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.
 
Old 09-07-2007, 11:56 PM   #6
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
You should go through this document, it drops some clues.
 
Old 09-08-2007, 04:36 AM   #7
axelfc
Member
 
Registered: Jan 2006
Distribution: ArchLinux
Posts: 175

Rep: Reputation: 34
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.
 
Old 09-08-2007, 02:33 PM   #8
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Commands used to import the key are in here.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Public key for jre-1.5.0_04-linux-i586.rpm is not installed paritoshchandragupta Linux - Software 3 06-21-2007 05:48 PM
public key for jre-1.5.0_04-linux-i586.rpm is not installed paritoshchandragupta Fedora 4 06-19-2007 07:52 PM
Public Key error when installing local rpm package Akhran Red Hat 3 04-06-2007 12:15 PM
warning: clamav-0.87.1-1.1.fc2.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6 Niceman2005 Linux - Software 4 03-07-2006 05:28 AM
warning: curl-7.10.3-1.i386.rpm: V3 DSA signature: NOKEY, key ID df3d5207 Lespuff Linux - Newbie 2 11-30-2003 11:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration