Red Hat Bugzilla – Bug 243206
yum upgrade fails on repomd.xml
Last modified: 2014-01-21 17:58:12 EST
Description of problem:
To upgrade my fc6 system I followed the procedure at
http://fedoraproject.org/wiki/YumUpgradeFaq. When I got to
4. Do the upgrade, "yum upgrade" failed with these messages:
[Errno -1] Error importing repomd.xml for updates: Damaged repomd.xml file
Trying other mirror.
Error: Cannot open/read repomd.xml file for repository: updates
At irc.freenode.net:#fedora Southern_Gentlem suggested I comment out the
mirrorlist statements and uncomment the baseurl statements but I got the same
results when I tried doing it either way.
Version-Release number of selected component (if applicable):
Reproducible every time.
Steps to Reproduce:
1. Install a Fedora Core 6 system
2. Attempt to upgrade to Fedora 7 using the instructions in the above URL
3. Note that at step 4, the yum upgrade produces the above error message.
yum upgrade fails
yum upgrade succeeds
The problem is your baseurl still contains "core" ... and F7 has no core
component. Try changing /etc/yum.repos.d/fedora.updates.repo and remove the "core":
in each of the sections you have enabled
This bug report should not have been closed.
The suggested fix is not to a file that the user wrote. It is to a file that was
shipped with Fedora 7. Specifically, rpm -q --whatprovides says that the file is
So Fedora 7 needs to fix that RPM.
I retract that last comment.
I deleted the offending files and re-installed them the RPM. The offending
"/core/" has gone away, implying that the new RPM is well formed.
I assume this means that my copy of the file was not "original", and therefore
when I upgraded to Fedora 7, the upgrade decided not to overwrite that specific