LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 12-16-2003, 09:29 PM   #1
linux-singapore
LQ Newbie
 
Registered: Sep 2003
Posts: 11

Rep: Reputation: 0
issue importing RH GPG public key


Hi.

I'm installing the SAMBA Web Admin Tool ( SWAT ) off the Red Hat installation CDs but the install process doesn't like the fact that I don't have the Red Hat Public Key on my machine. I try to issue the command

#rpm -import /usr/share/rhn/RPM-GPG-KEY

but then the system just sits there and never comes back to me. I have to do a Ctrl-C to get back to a prompt.

Any ideas if I'm doing something wrong ?

Dave.
 
Old 12-17-2003, 01:26 AM   #2
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
do a ls -l on the file...
 
Old 12-17-2003, 02:11 AM   #3
linux-singapore
LQ Newbie
 
Registered: Sep 2003
Posts: 11

Original Poster
Rep: Reputation: 0
import on second machine

I moved to a second Red Hat install running on a vmware virtual machine on different hardware ( same RH version and same install media used). No problems importing the public key this time. Must be something iffy with my
first machine. However I now get an error as below

rpm.error: public key not available

Here are my steps if anyone can shed further light:

[root@localhost root]# rpm --import /usr/share/rhn/RPM-GPG-KEY

[root@localhost root]# rpm -q 'gpg-pubkey-*'
gpg-pubkey-db42a60e-37ea5438

[root@localhost root]# redhat-install-packages \
/mnt/cdrom/RedHat/RPMS/samba-swat-*.rpm

error: cannot open Packages database in /var/lib/rpm
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID db42a60e
Traceback (most recent call last):
File "/usr/share/redhat-config-packages/SinglePackageWindow.py", line 252, in ?
main_window.run()
File "/usr/share/redhat-config-packages/SinglePackageWindow.py", line 216, in run
self.do_initial_setup ()
File "/usr/share/redhat-config-packages/SinglePackageWindow.py", line 145, in
do_initial_setup
h = ts.hdrFromFdno(fd)
rpm.error: public key not available
 
Old 12-17-2003, 09:18 AM   #4
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
Have you done a little research on your own before posting? I found your problem (and probably your solution) in 5 secs...
 
Old 12-18-2003, 01:10 AM   #5
linux-singapore
LQ Newbie
 
Registered: Sep 2003
Posts: 11

Original Poster
Rep: Reputation: 0
rpm public key not found.

Dear Mr/Miss/Mrs ugob.

Whoever you are you have a great talent for providing absolutely useless information.

Do both of us a favour and don't waste my time reading your silly replies. Only reply to this thread if you have some constructive advice about my issue. No vague generalisations please!

bye bye now.
 
Old 12-18-2003, 01:32 AM   #6
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
Did you check this:

http://www.google.com/search?q=rpm.e...utf-8&oe=utf-8

First result.
 
Old 12-18-2003, 01:39 AM   #7
linux-singapore
LQ Newbie
 
Registered: Sep 2003
Posts: 11

Original Poster
Rep: Reputation: 0
rpm error google results

Yes I've tried Google before posting anything to this forum and I get many hits on rpm.error public key ie lots of people having the same issue but no suggested fixes. If you can see something that I'm not seeing then do let me now.
 
Old 12-18-2003, 01:51 AM   #8
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
please run

rpm -q redhat-install-packages

and post the output please
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
gpg: public key not found verbose Linux - Newbie 4 12-31-2009 04:00 PM
yum public gpg key?? Niflheim Fedora 1 03-28-2005 02:46 PM
YUM --import public.gpg.key Fredstar Linux - Newbie 8 03-25-2005 07:31 PM
Problem importing Mandrake Cooker public GPG key hazza Mandriva 2 07-26-2004 06:38 AM
GPG Data, Secret Key but no Public Key? Aeiri Linux - Software 5 07-20-2004 07:00 PM


All times are GMT -5. The time now is 05:03 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration