# Trying to mirror nginx repository for centos6/7

**URL:** <https://www.ruby-forum.com/t/trying-to-mirror-nginx-repository-for-centos6-7/242357>\
**Category:** NGINX\
**Created:** [June 18, 2015, 3:19pm UTC](https://www.ruby-forum.com/t/trying-to-mirror-nginx-repository-for-centos6-7/242357 "2015-06-18T15:19:16Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![musicdenotation](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ea666f/32.png) [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Post date:** [June 18, 2015, 3:19pm UTC](https://www.ruby-forum.com/t/trying-to-mirror-nginx-repository-for-centos6-7/242357/1 "2015-06-18T15:19:16Z")

</div>

Hi,  
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?

Thank you.

for centos7  
/usr/bin/reposync --repoid=nginx7 --norepopath -p  
/opt/data/repos/nginx/7/  
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.

and for centos6  
/usr/bin/reposync --repoid=nginx6 --norepopath -p  
/opt/data/repos/nginx/6/  
nginx-1.0.5-1.el6.ngx.x86\_64.r FAILED

nginx-1.0.6-1.el6.ngx.x86\_64.r FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-1.0.7-1.el6.ngx.x86\_64.r FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-1.0.8-1.el6.ngx.x86\_64.r FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-1.0.8-2.el6.ngx.x86\_64.r FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-1.0.9-1.el6.ngx.x86\_64.r FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-1.0.10-1.el6.ngx.x86\_64. FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-1.0.11-1.el6.ngx.x86\_64. FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-1.0.12-1.el6.ngx.x86\_64. FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-1.0.13-1.el6.ngx.x86\_64. FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-1.0.14-1.el6.ngx.x86\_64. FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-1.0.15-1.el6.ngx.x86\_64. FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-1.2.0-1.el6.ngx.x86\_64.r FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-1.2.1-1.el6.ngx.x86\_64.r FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-1.2.2-1.el6.ngx.x86\_64.r FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-1.2.3-1.el6.ngx.x86\_64.r FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-1.2.4-1.el6.ngx.x86\_64.r FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-1.2.5-1.el6.ngx.x86\_64.r FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-1.2.6-1.el6.ngx.x86\_64.r FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-1.2.7-1.el6.ngx.x86\_64.r FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-1.2.8-1.el6.ngx.x86\_64.r FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-1.4.0-1.el6.ngx.x86\_64.r FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-1.4.1-1.el6.ngx.x86\_64.r FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-1.4.2-1.el6.ngx.x86\_64.r FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-1.4.3-1.el6.ngx.x86\_64.r FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-1.4.4-1.el6.ngx.x86\_64.r FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-1.4.5-1.el6.ngx.x86\_64.r FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-1.4.6-1.el6.ngx.x86\_64.r FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-1.4.7-1.el6.ngx.x86\_64.r FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-1.6.0-1.el6.ngx.x86\_64.r FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-1.6.0-2.el6.ngx.x86\_64.r FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-1.6.1-1.el6.ngx.x86\_64.r FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-1.6.2-1.el6.ngx.x86\_64.r FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-1.6.3-1.el6.ngx.x86\_64.r FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debug-1.0.9-1.el6.ngx.x8 FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debug-1.0.10-1.el6.ngx.x FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debug-1.0.11-1.el6.ngx.x FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debug-1.0.12-1.el6.ngx.x FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debug-1.0.13-1.el6.ngx.x FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debug-1.0.14-1.el6.ngx.x FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debug-1.0.15-1.el6.ngx.x FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debug-1.2.0-1.el6.ngx.x8 FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debug-1.2.1-1.el6.ngx.x8 FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debug-1.2.2-1.el6.ngx.x8 FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debug-1.2.3-1.el6.ngx.x8 FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debug-1.2.4-1.el6.ngx.x8 FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debug-1.2.5-1.el6.ngx.x8 FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debug-1.2.6-1.el6.ngx.x8 FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debug-1.2.7-1.el6.ngx.x8 FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debug-1.2.8-1.el6.ngx.x8 FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debug-1.4.0-1.el6.ngx.x8 FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debug-1.4.1-1.el6.ngx.x8 FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debug-1.4.2-1.el6.ngx.x8 FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debug-1.4.3-1.el6.ngx.x8 FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debug-1.4.4-1.el6.ngx.x8 FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debug-1.4.5-1.el6.ngx.x8 FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debug-1.4.6-1.el6.ngx.x8 FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debug-1.4.7-1.el6.ngx.x8 FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debug-1.6.0-1.el6.ngx.x8 FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debug-1.6.0-2.el6.ngx.x8 FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debug-1.6.1-1.el6.ngx.x8 FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debug-1.6.2-1.el6.ngx.x8 FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debug-1.6.3-1.el6.ngx.x8 FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debuginfo-1.6.0-1.el6.ng FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debuginfo-1.6.0-2.el6.ng FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debuginfo-1.6.1-1.el6.ng FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debuginfo-1.6.2-1.el6.ng FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debuginfo-1.6.3-1.el6.ng FAILED  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debug-1.2.1-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
] 0.0 B/s | 0 B --:–:-- ETA  
nginx-debug-1.6.3-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-debug-1.0.12-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-debug-1.6.1-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-1.6.0-2.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-1.2.0-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-1.4.3-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-debug-1.2.8-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-debuginfo-1.6.0-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to  
try.  
nginx-1.4.1-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-debug-1.2.0-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-debuginfo-1.6.1-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to  
try.  
nginx-debug-1.2.6-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-debug-1.0.13-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-debug-1.4.5-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-debuginfo-1.6.3-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to  
try.  
nginx-1.2.3-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-1.0.6-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-debug-1.2.3-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-debug-1.4.6-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-debug-1.4.2-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-1.2.1-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-1.4.4-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-1.6.2-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-1.4.5-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-1.2.4-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-debug-1.6.2-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-1.4.7-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-debuginfo-1.6.0-2.el6.ngx.x86\_64: [Errno 256] No more mirrors to  
try.  
nginx-1.0.11-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-1.2.5-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-1.0.13-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-debug-1.0.15-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-1.4.2-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-debug-1.2.2-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-1.6.3-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-1.0.10-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-debug-1.0.10-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-debug-1.0.11-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-1.0.12-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-debug-1.0.14-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-debug-1.2.7-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-debug-1.4.4-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-debug-1.4.7-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-debug-1.2.4-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-1.2.2-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-debug-1.0.9-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-1.4.6-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-1.0.8-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-debug-1.6.0-2.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-1.2.8-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-debug-1.4.0-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-1.0.9-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-debug-1.2.5-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-1.0.14-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-debug-1.4.3-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-1.0.7-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-1.2.6-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-1.0.15-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-1.6.0-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-1.0.5-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-debuginfo-1.6.2-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to  
try.  
nginx-debug-1.4.1-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-debug-1.6.0-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-1.0.8-2.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-1.6.1-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-1.4.0-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
nginx-1.2.7-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.

---

<div class="post-metadata">

**Author:** ![Jean-SSSbastien\_Fre](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@Jean-SSSbastien\_Fre](https://www.ruby-forum.com/u/Jean-SSSbastien_Fre)\
**Post date:** [June 18, 2015, 3:54pm UTC](https://www.ruby-forum.com/t/trying-to-mirror-nginx-repository-for-centos6-7/242357/2 "2015-06-18T15:54:20Z")

</div>

Hi Jean-Sébastien,

Many thanks for reporting this, I’ve passed it on to our systems  
engineering team.

Kind Regards  
Andrew

> /usr/bin/reposync --repoid=nginx7 --norepopath -p /opt/data/repos/nginx/7/  
> nginx-debuginfo-1.6.2-1.el7.ng FAILED ]  
> 0.0 B/s | 0 B --:–:-- ETA  
> 1:nginx-debuginfo-1.6.3-1.el7.ngx.x86\_64: [Errno 256] No more mirrors to try.  
> nginx-1.0.8-2.el6.ngx.x86\_64.r FAILED ]  
> 0.0 B/s | 0 B --:–:-- ETA  
> nginx-1.2.3-1.el6.ngx.x86\_64.r FAILED ]  
> 0.0 B/s | 0 B --:–:-- ETA  
> nginx-1.4.5-1.el6.ngx.x86\_64.r FAILED ]  
> 0.0 B/s | 0 B --:–:-- ETA  
> nginx-debug-1.0.12-1.el6.ngx.x FAILED ]  
> 0.0 B/s | 0 B --:–:-- ETA  
> nginx-debug-1.2.7-1.el6.ngx.x8 FAILED ]  
> 0.0 B/s | 0 B --:–:-- ETA  
> nginx-debug-1.6.0-2.el6.ngx.x8 FAILED ]  
> 0.0 B/s | 0 B --:–:-- ETA  
> nginx-debug-1.0.12-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
> nginx-debug-1.0.13-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
> nginx-1.4.5-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
> nginx-1.6.3-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
> nginx-debug-1.0.9-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.  
> nginx-1.2.6-1.el6.ngx.x86\_64: [Errno 256] No more mirrors to try.
> 
> –  
> Jean-Sébastien Frerot
> 
> * * *
> 
> nginx mailing list  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [mailman.nginx.org archive](http://mailman.nginx.org/mailman/listinfo/nginx)

–  
Andrew H. (LinuxJedi)  
Senior Developer Advocate  
Nginx Inc.

---

<div class="post-metadata">

**Author:** ![Jean-SSSbastien\_Fre](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@Jean-SSSbastien\_Fre](https://www.ruby-forum.com/u/Jean-SSSbastien_Fre)\
**Post date:** [June 18, 2015, 7:18pm UTC](https://www.ruby-forum.com/t/trying-to-mirror-nginx-repository-for-centos6-7/242357/3 "2015-06-18T19:18:16Z")

</div>

Still the same issue.

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

---

<div class="post-metadata">

**Author:** ![Jean-SSSbastien\_Fre](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@Jean-SSSbastien\_Fre](https://www.ruby-forum.com/u/Jean-SSSbastien_Fre)\
**Post date:** [June 18, 2015, 7:38pm UTC](https://www.ruby-forum.com/t/trying-to-mirror-nginx-repository-for-centos6-7/242357/4 "2015-06-18T19:38:44Z")

</div>

> On 18 Jun 2015, at 20:17, Jean-Sébastien Frerot [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> Still the same issue.

It works for me.  
Please try to purge yum’s caches with yum clean all (read description  
before).

---

<div class="post-metadata">

**Author:** ![Jean-SSSbastien\_Fre](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@Jean-SSSbastien\_Fre](https://www.ruby-forum.com/u/Jean-SSSbastien_Fre)\
**Post date:** [June 18, 2015, 7:41pm UTC](https://www.ruby-forum.com/t/trying-to-mirror-nginx-repository-for-centos6-7/242357/5 "2015-06-18T19:41:04Z")

</div>

Still not working

[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

---

<div class="post-metadata">

**Author:** ![Jean-SSSbastien\_Fre](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@Jean-SSSbastien\_Fre](https://www.ruby-forum.com/u/Jean-SSSbastien_Fre)\
**Post date:** [June 18, 2015, 6:32pm UTC](https://www.ruby-forum.com/t/trying-to-mirror-nginx-repository-for-centos6-7/242357/6 "2015-06-18T18:32:41Z")

</div>

Hi Jean-Sébastien,

> On 18 Jun 2015, at 16:18, Jean-Sébastien Frerot [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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

Andrew H. (LinuxJedi)  
Senior Developer Advocate  
Nginx Inc.

---

<div class="post-metadata">

**Author:** ![Jean-SSSbastien\_Fre](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@Jean-SSSbastien\_Fre](https://www.ruby-forum.com/u/Jean-SSSbastien_Fre)\
**Post date:** [June 18, 2015, 8:20pm UTC](https://www.ruby-forum.com/t/trying-to-mirror-nginx-repository-for-centos6-7/242357/7 "2015-06-18T20:20:13Z")

</div>

> On 18 Jun 2015, at 20:40, Jean-Sébastien Frerot [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> Still not working

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

yum --enablerepo=nginx7 clean all

---

<div class="post-metadata">

**Author:** ![Jean-SSSbastien\_Fre](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@Jean-SSSbastien\_Fre](https://www.ruby-forum.com/u/Jean-SSSbastien_Fre)\
**Post date:** [June 18, 2015, 8:26pm UTC](https://www.ruby-forum.com/t/trying-to-mirror-nginx-repository-for-centos6-7/242357/8 "2015-06-18T20:26:38Z")

</div>

Thank you ! Sorry for that was obvious.

It works now, but I see that we lost all the old versions of the  
package. I  
guess this was expected.

2015-06-18 14:19 GMT-04:00 Sergey B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

---

<div class="post-metadata">

**Author:** ![Jean-SSSbastien\_Fre](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@Jean-SSSbastien\_Fre](https://www.ruby-forum.com/u/Jean-SSSbastien_Fre)\
**Post date:** [June 18, 2015, 11:03pm UTC](https://www.ruby-forum.com/t/trying-to-mirror-nginx-repository-for-centos6-7/242357/9 "2015-06-18T23:03:12Z")

</div>

Hi,

> On 18 Jun 2015, at 21:26, Jean-Sébastien Frerot [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> Thank you ! Sorry for that was obvious.
> 
> It works now, but I see that we lost all the old versions of the package. I  
> guess this was expected.

If you need a copy of the old RPMs for anything they are in this  
directory: [http://nginx.org/packages/old/rhel/](http://nginx.org/packages/old/rhel/)

Unfortunately they are not in a repo format but they are still there for  
archival purposes.

## Kind Regards

Andrew H. (LinuxJedi)  
Senior Developer Advocate  
Nginx Inc.
