LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem with yum :fedora12 (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-yum-fedora12-808566/)

vineetgehlot 05-18-2010 05:29 AM

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.........

alli_yas 05-18-2010 06:24 AM

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

vineetgehlot 05-19-2010 12:06 PM

@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

alli_yas 05-20-2010 02:11 AM

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!


All times are GMT -5. The time now is 05:00 AM.