[CentOS-mirror] setting up local intranet mirror - checksum error
stecenator at gmail.com
Mon Jan 11 20:30:20 UTC 2010
I've just set up the local mirror for my 96 CentOS 5 workstations. The
mirroring script is taken from public-mirror howto and looks like this:
rsync="/usr/bin/rsync -avHzL --delete --delay-updates" # replaced -q with -v
for debuging purposes, removed --bwlimit, added -L to follow symlinks
mirror=centos.politechnika.lublin.pl::CentOS # tried several different same
for arch in $archlist
for base in $baselist
$rsync $remote $local/$ver/$base/$arch/
It seems to work fine.
On client machines I put the my.repo file into /etc/yum.repos.d directory
and renamed CentOS*repo files to some other names to prevent loading them.
My repo file looks like this:
name=CentOS-$releasever - Base
name=CentOS-$releasever - Updates
I configured directory alias in Apache on blue.ibmedu.com.pl machine and
started it. I't works fine: I get the directory listings and I'm able to get
the files via browser.
And now the problem:
When I start yumex on client machine I get this messages:
15:57:17 : Failure getting
15:57:17 : --> [Errno -1] Metadata file does not match checksum
15:57:17 : Trying other mirror.
15:57:22 : failure: repodata/primary.sqlite.bz2 from update: [Errno 256] No
more mirrors to try.
I tested mirror consistency by putting the mirror addres I'm syncing with,
directly into repo file. Than yumex works fine.
I tried several different mirrors with the same result.
I tried yum clean all too.
The problem seems to exist only in updates repo. When I disable it in yumex
I can install base packages.
/* tough guys don't do backup */
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the CentOS-mirror