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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-16-2003, 08:29 PM
|
#1
|
LQ Newbie
Registered: Sep 2003
Posts: 11
Rep:
|
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.
|
|
|
12-17-2003, 12:26 AM
|
#2
|
Member
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436
Rep:
|
do a ls -l on the file...
|
|
|
12-17-2003, 01:11 AM
|
#3
|
LQ Newbie
Registered: Sep 2003
Posts: 11
Original Poster
Rep:
|
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
|
|
|
12-17-2003, 08:18 AM
|
#4
|
Member
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436
Rep:
|
Have you done a little research on your own before posting? I found your problem (and probably your solution) in 5 secs...
|
|
|
12-18-2003, 12:10 AM
|
#5
|
LQ Newbie
Registered: Sep 2003
Posts: 11
Original Poster
Rep:
|
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.
|
|
|
12-18-2003, 12:32 AM
|
#6
|
Member
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436
Rep:
|
|
|
|
12-18-2003, 12:39 AM
|
#7
|
LQ Newbie
Registered: Sep 2003
Posts: 11
Original Poster
Rep:
|
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.
|
|
|
12-18-2003, 12:51 AM
|
#8
|
Member
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436
Rep:
|
please run
rpm -q redhat-install-packages
and post the output please
|
|
|
All times are GMT -5. The time now is 08:23 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|