Yum errors reported by cron
Kevin J. Cummings
cummings at kjchome.homeip.net
Tue Jan 3 20:13:40 UTC 2006
Bob Chiodini wrote:
> On Mon, 2005-12-12 at 12:35 -0600, Thad Nielsen wrote:
>
>>Philip Prindeville [philipp_subx at redfish-solutions.com] wrote:
>>
>>>I'm seeing the following from some of my FC3 machines... on a
>>>daily basis. Was wondering what the fix for this was.
>>>
>>>
>>>>/etc/cron.daily/yum.cron:
>>>>
>>>>//var/cache/yum/updates-released/repomd.xml:1: parser error : Start tag
>>>>expected, '<' not found
>>>>This site is a Mirror for:
>>>>^
>>>>Cannot open/read repomd.xml file for repository: updates-released
>>>>Error importing repomd.xml from updates-released: Error: could not parse
>>>>file //var/cache/yum/updates-released/repomd.xml
>>>>
>>
>>Sounds like that repomd.xm1 file is corrupt. Make sure the first line
>>in that file begins with <. Or perhaps it is time to uninstall and
>>reinstall yum. FWIW, I'm not getting that error on my FC3 machine
>>using yum-2.2.2.0-fc3.
>>
>
>
> You can 'yum clean all' to clear the cache.
>
> I get the same error as you do on occasion. Rerunning yum sometimes
> clears it up.
Most likely because the next time you run yum, it picks a different
mirror site which does not suffer from this problem. I too have seen it
happen, and I'm also running yum-2.2.2.0-fc3 as well. Seems to be
specific to certain mirror sites.
--
Kevin J. Cummings
kjchome at rcn.com
cummings at kjchome.homeip.net
cummings at kjc386.framingham.ma.us
Registered Linux User #1232 (http://counter.li.org)
More information about the fedora-list
mailing list