Saturday, October 29, 2005

Could Not Parse File

I had an issue this morning when I tried to do an update with yum

[root@localhost yum.repos.d]# yum update
Setting up Update Process
Setting up Repos
dag 100% |=========================| 0 B 00:00
//var/cache/yum/dag/repomd.xml:1: parser error : Document is empty

^
//var/cache/yum/dag/repomd.xml:1: parser error : Start tag expected, '<' not found

^
Cannot open/read repomd.xml file for repository: dag
Error importing repomd.xml from dag: Error: could not parse file //var/cache/yum/dag/repomd.xml


I did a search and found out that it pretty much had to do with the file "repomd.xml" that it was downloading from the DAG mirror, so I just switched mirrors in my /etc/yum.conf and everything started working as it should have.