LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   issue importing RH GPG public key (http://www.linuxquestions.org/questions/linux-software-2/issue-importing-rh-gpg-public-key-126474/)

linux-singapore 12-16-2003 08:29 PM

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.

ugob 12-17-2003 12:26 AM

do a ls -l on the file...

linux-singapore 12-17-2003 01:11 AM

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

ugob 12-17-2003 08:18 AM

Have you done a little research on your own before posting? I found your problem (and probably your solution) in 5 secs...

linux-singapore 12-18-2003 12:10 AM

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.

ugob 12-18-2003 12:32 AM

Did you check this:

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

First result.

linux-singapore 12-18-2003 12:39 AM

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.

ugob 12-18-2003 12:51 AM

please run

rpm -q redhat-install-packages

and post the output please


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