[CentOS] Yum Update issues

Thu Jul 7 10:51:56 UTC 2005
Karanbir Singh <Mail-Lists at karan.org>

William Warren wrote:
> I get this when i try to yum update:
> http://mirror.centos.org/centos/4/updates/i386/repodata/primary.xml.gz:
> [Errno -1] Metadata file does not match checksum
> Trying other mirror.
> Error: failure: repodata/primary.xml.gz from update: [Errno 256] No more
> mirrors to try.

I'll check the mirrors manually in a few minutes, but dont see this
problem on any of my machines.

Are you behind a proxy ? if so - maybe switch to an ftp mirror.

> Now is my yum.conf:
> [dag]
> name=Dag RPM Repository for Red Hat Enterprise Linux
> baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
> gpgcheck=1
> enabled=1

Surely, thats not all you have in the yum.conf - where is your [main]
section?

This is what it _could_ look like ( customise to suit your own setup )

---------
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=centos-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1

-------------


-- 
Karanbir Singh   : http://www.karan.org/
GnuPG Public Key : http://www.karan.org/publickey.asc