On 03/21/2011 04:44 PM, Gary Algier wrote:
I am trying to add the EPEL 6 repo. I used these commands:
cobbler repo add --name=epel-6-x86_64 \
--mirror=http://download.fedora.redhat.com/pub/epel/6/x86_64/ cobbler reposync
and it fails on the reposync. Running the reposync manually just like cobbler reposync does, I see:
yum.Errors.NoMoreMirrorsRepoError: failure:
repodata/6c1a4a2b29a529a44b5fb644759bd34d737776b838b7a311e915fefcdf12f571-primary.sqlite.bz2 from epel-6-x86_64: [Errno 256] No more mirrors to try.
I saw this a couple weeks ago as well. You may notice that the hash at the beginning of the repodata files' names is a little bit longer. It would appear that yum has once again changed the default hash algorithm, this time from sha1 to sha256.
I would think you could use an rsync breed repo, but if you've got createrepo updating the existing cache instead of creating a new cache, I would expect this to fail as well. Or maybe it'll just write sha1 hashed files in addition to the sha256 hashed files. Haven't had to time to play around with this much yet, so I'd be interested to know what you find out.