Hello,
I have been having issues lately with my private mirror. I am currently syncing to mirrors.kernel.org, and have been for quite a while. However, I am just now getting around to installing and playing with CentOS 6.
My issue is that the /repodata/ folder(s) are not correctly syncing. I have actually attempted a couple of different tier 2 mirrors (the other was rsync://mirror.chpc.utah.edu/pub/centos/), and saw the same behavior. The error I received when attempting to install a package on a centos 6 server was: http://xx.xx.xx.xx/centos/6/updates/x86_64/repodata/36225ff5aa964e9fd025d55b...: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404" Trying other mirror. Error: failure: repodata/36225ff5aa964e9fd025d55b9b76fbf9e1d5fbf2f0412dfdbd63981ae4172c03-filelists.sqlite.bz2 from updates: [Errno 256] No more mirrors to try.
Indeed this file was missing. It isn't getting pulled down via rsync, but is referenced in repomd.xml. I manually deleted everything in the centos/6/updates/x86_64/repodata/ folder, and rsync'ed again, but it still didn't pull that particular file down.
I copied the file down manually to my repo server with a wget and the package install went fine after that. I ran into a nearly identical issue last week on the base/ tree. Looking at the http trees of a number of mirrors all show that file, including mirrors.kernel.org.
I am fairly new to this process, but this has me stumped. Here is the rsync command I have been using in a cron job running every 6 hours: echo "Updating CentOS repository" rsync -vazH4 --bwlimit=6250 --exclude-from=/usr/local/gmi/centos_repo_rsync.excludes --numeric-ids --delete --delete-after --delay-updates rsync://mirrors.kernel.org/centos /var/www/html/centos
when I manually ran that command today, it pulled down the new TIME & timestamp.txt files, and that was it.
Confused,
Jim Goddard
On Thu, Aug 25, 2011 at 12:31 PM, Jim Goddard jgoddard@gmi-mr.com wrote:
repodata/36225ff5aa964e9fd025d55b9b76fbf9e1d5fbf2f0412dfdbd63981ae4172c03-filelists.sqlite.bz2 from updates: [Errno 256] No more mirrors to try.
Indeed this file was missing.
[...]
I am fairly new to this process, but this has me stumped. Here is the rsync command I have been using in a cron job running every 6 hours: echo "Updating CentOS repository" rsync -vazH4 --bwlimit=6250 --exclude-from=/usr/local/gmi/centos_repo_rsync.excludes --numeric-ids --delete --delete-after --delay-updates rsync://mirrors.kernel.org/centos /var/www/html/centos
Could you tell us the contents of /usr/local/gmi/centos_repo_rsync.excludes? Perhaps it has a "3*" in it? :)
-Jeff
Hi Jeff,
Indeed that was the problem. I was excluding 2* 3* & 4*. Can't believe I haven't had more problems... Thank you for pointing that oversight out to me. Now I feel silly.
I will fix my _excludes to be a little smarter.
Jim Goddard On Thu, 2011-08-25 at 20:50 -0700, Jeff Sheltren wrote:
On Thu, Aug 25, 2011 at 12:31 PM, Jim Goddard jgoddard@gmi-mr.com wrote:
repodata/36225ff5aa964e9fd025d55b9b76fbf9e1d5fbf2f0412dfdbd63981ae4172c03-filelists.sqlite.bz2 from updates: [Errno 256] No more mirrors to try. Indeed this file was missing.
[...]
I am fairly new to this process, but this has me stumped. Here is the rsync command I have been using in a cron job running every 6 hours: echo "Updating CentOS repository" rsync -vazH4 --bwlimit=6250 --exclude-from=/usr/local/gmi/centos_repo_rsync.excludes --numeric-ids --delete --delete-after --delay-updates rsync://mirrors.kernel.org/centos /var/www/html/centos
Could you tell us the contents of /usr/local/gmi/centos_repo_rsync.excludes? Perhaps it has a "3*" in it? :)
-Jeff
CentOS-mirror mailing list CentOS-mirror@centos.org http://lists.centos.org/mailman/listinfo/centos-mirror
On Fri, Aug 26, 2011 at 8:04 AM, Jim Goddard jgoddard@gmi-mr.com wrote:
Hi Jeff,
Indeed that was the problem. I was excluding 2* 3* & 4*. Can't believe I haven't had more problems... Thank you for pointing that oversight out to me. Now I feel silly.
I will fix my _excludes to be a little smarter.
Jim, great, glad it was an easy fix. I'm sad to say I only had the hunch because I came across the same thing recently for our old exclude file. I'm not sure if that was something we'd copied from somewhere, or something we came up with on our own (it was before my time here), but I'm not too surprised to see someone else has done the same thing ;)
-Jeff
Please exclude me from mailing list. Regards.
On Fri, Aug 26, 2011 at 12:16 PM, Jeff Sheltren jeff@osuosl.org wrote:
On Fri, Aug 26, 2011 at 8:04 AM, Jim Goddard jgoddard@gmi-mr.com wrote:
Hi Jeff,
Indeed that was the problem. I was excluding 2* 3* & 4*. Can't believe I haven't had more problems... Thank you for pointing that oversight out to me. Now I feel silly.
I will fix my _excludes to be a little smarter.
Jim, great, glad it was an easy fix. I'm sad to say I only had the hunch because I came across the same thing recently for our old exclude file. I'm not sure if that was something we'd copied from somewhere, or something we came up with on our own (it was before my time here), but I'm not too surprised to see someone else has done the same thing ;)
-Jeff
CentOS-mirror mailing list CentOS-mirror@centos.org http://lists.centos.org/mailman/listinfo/centos-mirror