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.
Looking at the traffic with wireshark and doing a manual wget of the file, sure enough it does not exist as: /pub/epel/6/x86_64/repodata/repodata/6c1a4a2b... It looks like there is an extra repodata.
Is there something wrong with the repo? Or is it reposync? Or is it me? Is there an easy fix?
My version: cobbler version Cobbler 2.0.9 source: ?, ? build time: Thu Dec 9 05:07:25 2010
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.
On Mon, 21 Mar 2011 17:11:32 -0500, Wes Hardin wes.hardin@maxim-ic.com wrote:
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.
This is the case. I believe the latest el5.6 createrepo and reposync can handle things. Also if you have F13 or F14 you should be able to handle them as well.
On 03/21/11 18:11, Wes Hardin wrote:
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.
I managed to get this working using rsync. It turns out that after the rsync, a reposync will rebuild the local yum repo information so Cobbler will be happy.
However, all I wanted was a subset of the repo (I wanted func, but not the rest of EPEL). The solution to this was to create "epel-6-x86_64" as an rsync repo with everyting then create "func-6-x86_64" as only the three packages I need (func, smolt, certmaster) and have it use the previously synced epel-6-x86_64 as the mirror (sort of like a recursive call).
I now can install func automatically yet not install newer versions of other packages.
Thanks for the rsync tip.
Am 28.03.2011 14:58, schrieb Gary Algier:
On 03/21/11 18:11, Wes Hardin wrote:
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.
I managed to get this working using rsync. It turns out that after the rsync, a reposync will rebuild the local yum repo information so Cobbler will be happy.
However, all I wanted was a subset of the repo (I wanted func, but not the rest of EPEL). The solution to this was to create "epel-6-x86_64" as an rsync repo with everyting then create "func-6-x86_64" as only the three packages I need (func, smolt, certmaster) and have it use the previously synced epel-6-x86_64 as the mirror (sort of like a recursive call).
I now can install func automatically yet not install newer versions of other packages.
Thanks for the rsync tip.
Hi,
I am running my cobbler server on Scientific Linux 5 and had the same problem. After installing the package
python-hashlib-20081119-4.el5.x86_64
cobbler reposync runs fine, syncing epel6.
Cheers, Jens
cobbler@lists.fedorahosted.org