Hi,<br><br>I&#39;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:<br><br>#!/bin/sh<br>rsync=&quot;/usr/bin/rsync -avHzL
--delete --delay-updates&quot; # replaced -q with -v for debuging purposes,
removed --bwlimit, added -L to follow symlinks<br>mirror=centos.politechnika.lublin.pl::CentOS                        # tried several different same result<br>ver=5<br>archlist=&quot;x86_64&quot;<br>baselist=&quot;os updates&quot;<br>
local=/toys/public/linux/centos<br>for arch in $archlist<br>do<br>   for base in $baselist<br>   do<br>      remote=$mirror/$ver/$base/$arch/<br>      $rsync $remote $local/$ver/$base/$arch/<br>   done<br>done<br><br><br>
It seems to work fine.<br><br>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:<br><br>[base]<br>name=CentOS-$releasever - Base<br>baseurl=<a href="http://blue.ibmedu.com.pl/centos/$releasever/os/$basearch/">http://blue.ibmedu.com.pl/centos/$releasever/os/$basearch/</a><br>
<br># updates<br>[update]<br>name=CentOS-$releasever - Updates<br>baseurl=<a href="http://blue.ibmedu.com.pl/centos/$releasever/updates/$basearch/">http://blue.ibmedu.com.pl/centos/$releasever/updates/$basearch/</a><br><br>
I
configured directory alias in Apache on <a href="http://blue.ibmedu.com.pl">blue.ibmedu.com.pl</a> machine and
started it. I&#39;t works fine: I get the directory listings and I&#39;m able
to get the files via browser.<br><br>And now the problem:<br><br>When I start yumex on client machine I get this messages:<br><br>15:57:17 : Failure getting <a href="http://blue.ibmedu.com.pl/centos/5/updates/x86_64/repodata/primary.sqlite.bz2:" target="_blank">http://blue.ibmedu.com.pl/centos/5/updates/x86_64/repodata/primary.sqlite.bz2:</a> <br>
15:57:17 :   --&gt; [Errno -1] Metadata file does not match checksum<br>15:57:17 : Trying other mirror.<br>15:57:22 : failure: repodata/primary.sqlite.bz2 from update: [Errno 256] No more mirrors to try.<br><br>I tested mirror consistency by putting the mirror addres I&#39;m syncing with, directly into repo file. Than yumex works fine. <br>
I tried several different mirrors with the same result.<br>I tried yum clean all too.<br>The problem seems to exist only in updates repo. When I disable it in yumex I can install base packages.<br clear="all"><br>-- <br>regards,<br>
marcinek<br>-------<br>/* tough guys don&#39;t do backup */<br><a href="http://fotografoman.blogspot.com">http://fotografoman.blogspot.com</a><br>