Today I installed Fedora 13. But when i tried to use "yum" to update my system, It showed error "Error: Cannot retrieve repository metadata (repomd.xml)".After some research i found the solution. It worked hope it will be usefull for you also.
1. Open terminal, Login with root credentials.
2. Open fedora.repo and fedora-updates.repo file to edit.
#gedit /etc/yum.repos.d/fedora-updates.repo
3. Serach for 'baseurl' and uncomment all lines starting with 'baseurl' by removing '#'.
baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/
4. Search for mirrorlist and comment all lines starting with mirrorlist.
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f$releasever&arch=$basearch
5. Save and close.
#gedit /etc/yum.repos.d/fedora.repo
6. Repeat step 3, 4 and 5. And you are done.
Friday, July 9, 2010
- In: Linux/Unix
- Posted By: Unknown
- Comments: 2 comments
Perfect, worked great for me. Cheers
ReplyDeleteThank you so much for this! Been looking all over the internet to solve this problem.
ReplyDelete