There are quite a few Fedora 11 Alpha / Rawhide users complaining about not being able to perform a system update. Both YUM and PackageKit fail trying to download repomd.xml.
I found different solutions for this, but none of them seemed to work for me. I was able to get it fixed in a different manner, see the details below.
- Fedora 11 Alpha fresh installation (x86_64 DVD)
- default package selection
- installation runs fine without issues
- after the installation and the initial configuration, the network is fully operational (ssh, ftp, ping)
- proxy settings are set correctly in /etc/yum.conf
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rawhide. Please verify its path and try again.
- open /etc/yum.repos.d/fedora-rawhide.repo and comment the line starting with metalink then uncomment the line starting with mirrorlist
- edit /etc/yum.repos.d/fedora-updates.repo and disable it (enabled=0)
- open a terminal and type yum update rpm (there is a know issue with yum)
- The above command will break the RPM database, you’ll need to rebuild it:
rm -f /var/lib/rpm/__db* && rpm – -rebuilddb
- Now yum update should work.
If yum finds unresolved dependencies it’s best to remove the package that requires them. I had issues with rpm-build so I removed it before proceeding with the updates.
This solution allows you to update the system, but it’s not permanent. Once the issue has been resolved, you should revert to the original metalink source URLs.
- the error only occurs when YUM uses a proxy server to access the Internet
- this has been reported as bug 484491
- search other metalink bugs