LinuxQuestions.org
Review your favorite Linux distribution.
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 03-18-2005, 12:20 PM   #1
Fredstar
Member
 
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Rep: Reputation: 30
YUM --import public.gpg.key


i have a fresh install of FC3 and im trying to run yum,

when i go to do updates

yum update


i get the thing about needing to install keys and it tells me to use the following command.

rpm --import public.gpg.key

And it returns an error

Import read failed



Any clue on what i should do?

thanks
 
Old 03-18-2005, 01:25 PM   #2
soulstace
Member
 
Registered: Mar 2005
Location: USA
Distribution: Knoppix
Posts: 64

Rep: Reputation: 15
$ up2date

After it asks you for the keys, accept. Then shut it down and run yum again.
 
Old 03-18-2005, 01:32 PM   #3
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
Try
Code:
#rpm --import /usr/share/doc/rpm-4.2.1/RPM-GPG-KEY
Then run YUM aftrwards.
 
Old 03-18-2005, 05:48 PM   #4
Fredstar
Member
 
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by soulstace
$ up2date

After it asks you for the keys, accept. Then shut it down and run yum again.
I tried but after re-boot up2date gave me error


so i tried yum update

and my system just hangs, and has been haning for the last few min.

Any clue as to what i should do
 
Old 03-18-2005, 09:08 PM   #5
soulstace
Member
 
Registered: Mar 2005
Location: USA
Distribution: Knoppix
Posts: 64

Rep: Reputation: 15
I meant shut down the program, not the computer. Sorry I should have been more clear :-\

Since when do you have to reboot linux anyway? I once installed 488 packages and didn't have to reboot not even once.

Where and when does the computer hang on you? Is it just random?

Last edited by soulstace; 03-18-2005 at 09:10 PM.
 
Old 03-18-2005, 10:08 PM   #6
Fredstar
Member
 
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Original Poster
Rep: Reputation: 30
one key, Scroll lock...

when i was switching between computers if u don't make sure scroll lock is off after you switch from computer to computer it will lock everything up.
 
Old 03-19-2005, 03:50 AM   #7
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
Did you try the method in my previous post, that would have solved your problem.
 
Old 03-25-2005, 07:10 PM   #8
dinokpir
LQ Newbie
 
Registered: Mar 2005
Posts: 1

Rep: Reputation: 0
Quote:
Originally posted by reddazz
Try
Code:
#rpm --import /usr/share/doc/rpm-4.2.1/RPM-GPG-KEY
Then run YUM aftrwards.


I did what you posted and yum starts to work, somehow after doing the command you posted,i got this err. Does anyone know what it means?
Code:
# rpm --import /usr/share/doc/rpm-4.2.1/RPM-GPG-KEY
error: /usr/share/doc/rpm-4.2.1/RPM-GPG-KEY: import read failed.
 
Old 03-25-2005, 07:31 PM   #9
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
Try this command: rpm --import /usr/share/rhn/RPM-GPG-KEY-fedora
 
  


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
GPG Data, Secret Key but no Public Key? Aeiri Linux - Software 5 07-20-2004 07:00 PM
How do I import a GPG key from RPMfind.net lehumphr Linux - Newbie 3 05-07-2004 02:51 PM
issue importing RH GPG public key linux-singapore Linux - Software 7 12-18-2003 01:51 AM


All times are GMT -5. The time now is 11:51 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration