Yum Update issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux