Trying to mirror nginx repository for centos6/7

Sergey Budnevitch sb at nginx.com
Thu Jun 18 18:19:39 UTC 2015


> On 18 Jun 2015, at 20:40, Jean-Sébastien Frerot <jsfrerot at ludia.com> wrote:
> 
> Still not working

They are disabled in repo files, so you need to clean it explicitly:

yum --enablerepo=nginx7 clean all

> 
> [root tmp]# yum clean all
> Loaded plugins: fastestmirror
> Cleaning repos: base extras sensu updates
> Cleaning up everything
> Cleaning up list of fastest mirrors
> [root tmp]# /usr/bin/reposync --repoid=nginx7 --norepopath
> -p /opt/data/repos/nginx/7/
> base
> | 3.6 kB  00:00:00     
> extras
> | 3.4 kB  00:00:00     
> sensu
> |  951 B  00:00:00     
> updates
> | 3.4 kB  00:00:00     
> (1/4): extras/7/x86_64/primary_db
> |  54 kB  00:00:00     
> (2/4): base/7/x86_64/group_gz
> | 154 kB  00:00:00     
> (3/4): updates/7/x86_64/primary_db
> | 1.8 MB  00:00:00     
> (4/4): base/7/x86_64/primary_db
> | 5.1 MB  00:00:07     
> sensu/7/x86_64/primary
> |  31 kB  00:00:00     
> nginx-1.6.0-2.el7.ngx.x86_64.r
> FAILED                                          
> nginx-1.6.1-1.el7.ngx.x86_64.r FAILED
> ]  0.0 B/s |    0 B  --:--:-- ETA 
> nginx-1.6.2-1.el7.ngx.x86_64.r FAILED
> ]  0.0 B/s |    0 B  --:--:-- ETA 
> nginx-1.6.3-1.el7.ngx.x86_64.r FAILED
> ]  0.0 B/s |    0 B  --:--:-- ETA 
> nginx-debug-1.6.0-2.el7.ngx.x8 FAILED
> ]  0.0 B/s |    0 B  --:--:-- ETA 
> nginx-debug-1.6.1-1.el7.ngx.x8 FAILED
> ]  0.0 B/s |    0 B  --:--:-- ETA 
> nginx-debug-1.6.2-1.el7.ngx.x8 FAILED
> ]  0.0 B/s |    0 B  --:--:-- ETA 
> nginx-debug-1.6.3-1.el7.ngx.x8 FAILED
> ]  0.0 B/s |    0 B  --:--:-- ETA 
> nginx-debuginfo-1.6.0-2.el7.ng FAILED
> ]  0.0 B/s |    0 B  --:--:-- ETA 
> nginx-debuginfo-1.6.1-1.el7.ng FAILED
> ]  0.0 B/s |    0 B  --:--:-- ETA 
> nginx-debuginfo-1.6.2-1.el7.ng FAILED
> ]  0.0 B/s |    0 B  --:--:-- ETA 
> nginx-debuginfo-1.6.3-1.el7.ng FAILED
> ]  0.0 B/s |    0 B  --:--:-- ETA 
> 1:nginx-debug-1.6.3-1.el7.ngx.x86_64: [Errno 256] No more mirrors to
> try.      ]  0.0 B/s |    0 B  --:--:-- ETA 
> nginx-debug-1.6.0-2.el7.ngx.x86_64: [Errno 256] No more mirrors to try.
> 1:nginx-debuginfo-1.6.2-1.el7.ngx.x86_64: [Errno 256] No more mirrors to
> try.
> nginx-debuginfo-1.6.0-2.el7.ngx.x86_64: [Errno 256] No more mirrors to
> try.
> nginx-debuginfo-1.6.1-1.el7.ngx.x86_64: [Errno 256] No more mirrors to
> try.
> nginx-1.6.1-1.el7.ngx.x86_64: [Errno 256] No more mirrors to try.
> nginx-1.6.0-2.el7.ngx.x86_64: [Errno 256] No more mirrors to try.
> 1:nginx-1.6.2-1.el7.ngx.x86_64: [Errno 256] No more mirrors to try.
> 1:nginx-debug-1.6.2-1.el7.ngx.x86_64: [Errno 256] No more mirrors to
> try.
> 1:nginx-debuginfo-1.6.3-1.el7.ngx.x86_64: [Errno 256] No more mirrors to
> try.
> 1:nginx-1.6.3-1.el7.ngx.x86_64: [Errno 256] No more mirrors to try.
> nginx-debug-1.6.1-1.el7.ngx.x86_64: [Errno 256] No more mirrors to try.
> 
> 
> -- 
> Jean-Sébastien Frerot
> 
> -----Original Message-----From: Sergey Budnevitch <sb at nginx.com>
> Reply-to: nginx at nginx.org
> To: nginx at nginx.org
> Subject: Re: Trying to mirror nginx repository for centos6/7
> Date: Thu, 18 Jun 2015 20:37:59 +0300
> 
>> On 18 Jun 2015, at 20:17, Jean-Sébastien Frerot <jsfrerot at ludia.com> wrote:
>> 
>> Still the same issue.
> 
> It works for me.
> Please try to purge yum’s caches with yum clean all (read description before).
> 
>> 
>> Here are my repo files:
>> [nginx6]
>> name=Nginx Repositories for Centos 6
>> baseurl=http://nginx.org/packages/centos/6/$basearch/
>> enabled=0
>> gpgcheck=0
>> 
>> [nginx7]
>> name=Nginx Repositories for Centos 7
>> baseurl=http://nginx.org/packages/centos/7/$basearch/
>> enabled=0
>> gpgcheck=0
>> 
>> -- 
>> Jean-Sébastien Frerot
>> 
>> -----Original Message-----From: Andrew Hutchings <ahutchings at nginx.com>
>> Reply-to: nginx at nginx.org
>> To: nginx at nginx.org
>> Subject: Re: Trying to mirror nginx repository for centos6/7
>> Date: Thu, 18 Jun 2015 19:32:16 +0300
>> 
>> Hi Jean-Sébastien,
>> 
>>> On 18 Jun 2015, at 16:18, Jean-Sébastien Frerot <jsfrerot at ludia.com> wrote:
>>> 
>>> I'm trying to sync nginx repositories to my local mirror but all the old package are no longer available. See this log from reposync command below. 
>>> 
>>> Would it be possible to either update the package list from the repo to no longer include the packages that are not available or to put back the old packages in your repositry?
>> 
>> This should be fixed now, please let us know if you have any more problems with it.
>> 
>> Kind Regards
>> 
>> _______________________________________________
>> nginx mailing list
>> nginx at nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list