LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-18-2010, 05:29 AM   #1
vineetgehlot
LQ Newbie
 
Registered: May 2010
Posts: 4

Rep: Reputation: 0
Arrow problem with yum :fedora12


hi all.....
when i was trying to install perl with fedora using yum:
# yum install perl

i got the following error:

Loaded plugins: presto, refresh-packagekit
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again



i m getting this error with all the yum commands.
plz help.........
 
Old 05-18-2010, 06:24 AM   #2
alli_yas
Member
 
Registered: Apr 2010
Location: Johannesburg
Distribution: Fedora 14, RHEL 5.5, CentOS 5.5, Ubuntu 10.04
Posts: 559

Rep: Reputation: 92
Hi

This indicates that either:

1. Your local yum repository configuration file has an error
2. The repository that your machine is connecting too is either unavailable or errorneously configured.

Please post the output of your respository files (contained in more /etc/yum.repos.d/).

Cheers,
Yas
 
Old 05-19-2010, 12:06 PM   #3
vineetgehlot
LQ Newbie
 
Registered: May 2010
Posts: 4

Original Poster
Rep: Reputation: 0
@alli_yas

thanks buddy i got it working........with a kind help from google
i edited 5 files....
1)/etc/yum.repos.d/fedora.repo
2)/etc/yum.repos.d/fedora-updates.repo
3)/etc/hosts
4)/etc/resolv.conf
5)/etc/yum.conf
 
Old 05-20-2010, 02:11 AM   #4
alli_yas
Member
 
Registered: Apr 2010
Location: Johannesburg
Distribution: Fedora 14, RHEL 5.5, CentOS 5.5, Ubuntu 10.04
Posts: 559

Rep: Reputation: 92
Good Stuff; for your future reference:

Quote:
1)/etc/yum.repos.d/fedora.repo
2)/etc/yum.repos.d/fedora-updates.repo
These are repository files that point yum to fedora repositories. Basically you can put any repo file in /etc/yum.repos.d/ and this will work.

Quote:
3)/etc/hosts
You can think of your hosts file as being an internal DNS where you can add hostnames and IP's that your machine can thus resolve locally.

Quote:
4)/etc/resolv.conf
This is where you point your machine to external DNS servers for hostname resolution.

Quote:
5)/etc/yum.conf
This is your yum configuration file where you set parameters that control the behaviour of yum.

Glad you've solved your problem!
 
  


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
yum install flash ... yum: command not found ... which yum ... /usr/bin/yum tg3793 Fedora 8 04-13-2011 11:25 AM
Problem installing Fedora12/Ubuntu NBRMX on my HP110 Netbook! Please Help fink11741 Linux - Laptop and Netbook 1 12-11-2009 10:44 PM
problem when run yum (No module named yum) ezak Linux - Distributions 4 10-16-2009 04:04 AM
problem after yum yum yum (delicious) alaios Fedora 3 01-14-2009 02:34 AM
Yum Problem - /var/cache/yum/base/primary.xml.gz:1 ice99 Linux - Software 0 12-15-2005 01:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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