LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-19-2006, 01:33 AM   #1
Sheetal Stephen
LQ Newbie
 
Registered: Mar 2006
Posts: 22

Rep: Reputation: 15
FC3-- YUM errors


Hello,

I am using FC3 and was trying out some cmds and got the following messages....
can anyone suggest me how to rectify it ....


# yum update

You have enabled checking of packages via GPG keys. This is a good thing.
However, you do not have any GPG public keys installed. You need to download
the keys for packages you wish to install and install them.
You can do that by running the command:
rpm --import public.gpg.key
For more information contact your distribution or package provider.

# yum install xen kernel-xen0 kernel-xenu

You have enabled checking of packages via GPG keys. This is a good thing.
However, you do not have any GPG public keys installed. You need to download
the keys for packages you wish to install and install them.
You can do that by running the command:
rpm --import public.gpg.key
For more information contact your distribution or package provider.

# rpm --import public.gpg.key
error: public.gpg.key: import read failed.


Thanks..
Sheetal ..
 
Old 04-19-2006, 08:58 AM   #2
Sheetal Stephen
LQ Newbie
 
Registered: Mar 2006
Posts: 22

Original Poster
Rep: Reputation: 15
I found similar error faced by other people... and different solutions to it.

1. for rpm --import error i tried this and it worked.
rpm --import /usr/share/rhn/RPM-GPG-KEY-fedora

2. but i still get error with yum update.
error--
# yum update
Setting up Update Process
Setting up Repo: development
Cannot find a valid baseurl for repo: development

I found one solution as --

Edit the file /etc/yum.repos.d/fedora-devel.repo. Find the line enabled=1 and change it to enabled=0
Ensure that at least the files fedora.repo, fedora-updates.repo and fedora-extras.repo have the line "enabled=1".

But now i am in a fix....
I was tryin out something for the xen virtualization s/w.
In it was mentioned to make enable=1 for /etc/yum.repos.d/fedora-devel.repo
and enable=0 for the other files.

now wat shld i do ?
 
Old 04-19-2006, 10:12 AM   #3
lebabyg
Member
 
Registered: Mar 2006
Location: UK
Distribution: Ubuntu Feisty
Posts: 272

Rep: Reputation: 30
the enable =0 line basically tells yum not to use that repository. The error was most likely caused by the fact that your /etc/yum.repos.d/fedora-devel.repo was not correct. Could you post the output of the file here? Or you could have a google around to see if xen is available from another repo other than the fedora-devel. Use that instead? regards,
Graham
 
Old 04-19-2006, 11:49 PM   #4
Sheetal Stephen
LQ Newbie
 
Registered: Mar 2006
Posts: 22

Original Poster
Rep: Reputation: 15
this is the file --- /etc/yum.repos.d/fedora-devel.repo

[development]
name=Fedora Core $releasever - Development Tree
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-rawhide
enabled=1
 
Old 08-30-2006, 01:31 AM   #5
fira
LQ Newbie
 
Registered: Jun 2005
Posts: 1

Rep: Reputation: 0
Thanks for the post....
It helped me out
 
Old 08-30-2006, 07:51 AM   #6
decrepit
Member
 
Registered: May 2006
Distribution: Ubuntu10.04, < fedora12
Posts: 347

Rep: Reputation: 34
As FC3 is now in legacy mode some of the old repos may no longer work, have a look here to set up the legacy repos
http://fedoralegacy.org/
 
  


Reply

Tags
yum


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
FC3 upgrade + YUM ERRORS blizunt7 Fedora 5 02-20-2005 02:25 PM
yum errors in fc3 nyk Linux - Software 1 01-14-2005 08:01 AM
Yum very slow on FC3 ewschone Fedora 3 01-12-2005 11:50 AM
FC3 yum issue... Vid Linux - Software 6 12-27-2004 10:41 PM
Yum Errors in parsing, whats wrong here (yum.conf pasted) thejokker Linux - Newbie 1 06-15-2004 02:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 04:32 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
Open Source Consulting | Domain Registration