Error installing any program using yum

Richard Cahilig r.cahilig at gmail.com
Fri Feb 5 22:58:40 UTC 2010


Hi,

I have problem in my newly installed fedora 12. I got this error every time
I tried to install anything via yum:

[root at localhost User]# yum update
> Loaded plugins: presto, refresh-packagekit
> Error: Cannot retrieve repository metadata (repomd.xml) for repository:
> fedora. Please verify its path and try again
>

Below is the contents of my */etc/yum.repos.d/fedora.repo *


> [root at localhost User]# cat /etc/yum.repos.d/fedora.repo
> [fedora]
> name=Fedora $releasever - $basearch
> failovermethod=priority
> #baseurl=
> http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
> mirrorlist=
> https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
> enabled=1
> metadata_expire=7d
> gpgcheck=1
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
>
> [fedora-debuginfo]
> name=Fedora $releasever - $basearch - Debug
> failovermethod=priority
> #baseurl=
> http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/debug/
> mirrorlist=
> https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearch
> enabled=0
> metadata_expire=7d
> gpgcheck=1
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
>
> [fedora-source]
> name=Fedora $releasever - Source
> failovermethod=priority
> #baseurl=
> http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/source/SRPMS/
> mirrorlist=
> https://mirrors.fedoraproject.org/metalink?repo=fedora-source-$releasever&arch=$basearch
> enabled=0
> metadata_expire=7d
> gpgcheck=1
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
>

And the contents of my */etc/yum.repos.d/fedora-updates.repo *

[root at localhost User]# cat /etc/yum.repos.d/fedora-updates.repo
> [updates]
> name=Fedora $releasever - $basearch - Updates
> failovermethod=priority
> #baseurl=
> http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/
> mirrorlist=
> https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
> enabled=1
> gpgcheck=1
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
>
> [updates-debuginfo]
> name=Fedora $releasever - $basearch - Updates - Debug
> failovermethod=priority
> #baseurl=
> http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/debug/
> mirrorlist=
> https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f$releasever&arch=$basearch
> enabled=0
> gpgcheck=1
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
>
> [updates-source]
> name=Fedora $releasever - Updates Source
> failovermethod=priority
> #baseurl=
> http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/SRPMS/
> mirrorlist=
> https://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f$releasever&arch=$basearch
> enabled=0
> gpgcheck=1
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
>

I already tried some tips found by searching in google but still no luck. I
tried  to uncomment the* #baseurl= entries *in the files above and add these


80.239.156.215          mirrors.fedoraproject.org
213.129.242.84          mirrors.rpmfusion.org

in my* /etc/hosts *but it still not working.

I even tried these commands:
*
yum clean all
yum makecache*

but still no luck. This is a fresh install of fedora 12, the internet is
perfectly working but I right now I can't upgrade, I can't install anything.
Please help. Looking forward to your assistance. Thank you.

Best Regards,

Richard R. Cahilig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20100205/f18f1bd1/attachment.html 


More information about the users mailing list