I have a little problem here, and i hope that someone will help me to resolve this issue. When i run 'yum update' i got the following error.
[root@host2 /]# yum update
Repository updates-released already added, not adding again
Repository base already added, not adding again
Setting up Update Process
Setting up Repos
base 100% |=========================| 1.1 kB 00:00
updates-released 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
//var/cache/yum/base/primary.xml.gz:1: parser error : Document is empty
I try removing it
rm -vf /var/cache/yum/base/primary.*
I have also remove the whole /var/cache/yum/ directory and still nothing. I have also try to reinstall yum, and still the problem is here.
Also try :
# rpm –rebuilddb
# yum clean all
# yum update
And still nothing. The problem i still here.
Can someone tell me what is the problem and how can i fix it?
Thanks in advance.