Opened 2 years ago

Closed 2 years ago

#2314 closed task (fixed)

Nginx repo for centos 6 is not working 82a6e.....-other.sqlite.bz2 fiel is missing.

Reported by: peter.barzakov@… Owned by:
Priority: major Milestone:
Component: other Version: 1.19.x
Keywords: repo centos6 yum Cc: peter.barzakov@…
uname -a: Linux hoi.localhost 2.6.32-754.el6.x86_64 #1 SMP Tue Jun 19 21:26:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
nginx -V: Not applicable I cannot install nginx

Description

Please rebuild the repository

Issue:

root@ hoi:~# cat /etc/yum.repos.d/nginx.repo
[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/centos/6/$basearch/
gpgcheck=0
enabled=1
root@ hoi:~# yum --disablerepo=* --enablerepo=nginx clean all
Loaded plugins: fastestmirror, security
Cleaning repos: nginx
Cleaning up Everything
Cleaning up list of fastest mirrors
root@ hoi:~# rm -rf /var/cache/yum/x86_64/6/nginx/
root@ hoi:~# yum --disablerepo=* --enablerepo=nginx makecache
Loaded plugins: fastestmirror, security
Determining fastest mirrors
nginx | 2.9 kB 00:00
nginx/filelists_db | 75 kB 00:00
nginx/primary_db | 64 kB 00:00
http://nginx.org/packages/centos/6/x86_64/repodata/82a6e7802bcb0480af30c7b28ecb9fb51ca58f33b9f25f6fb00fbc3159102116-other.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
To address this issue please refer to the below knowledge base article

https://access.redhat.com/articles/1320623

If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.

http://nginx.org/packages/centos/6/x86_64/repodata/82a6e7802bcb0480af30c7b28ecb9fb51ca58f33b9f25f6fb00fbc3159102116-other.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: failure: repodata/82a6e7802bcb0480af30c7b28ecb9fb51ca58f33b9f25f6fb00fbc3159102116-other.sqlite.bz2 from nginx: [Errno 256] No more mirrors to try.
root@ hoi:~#

Change History (1)

comment:1 by thresh, 2 years ago

Resolution: fixed
Status: newclosed

Thanks,

The indexes are now rebuilt and should function properly.

However I should add that builds for CentOS 6 are outdated and no longer supported (since 2020-11-30), and therefore do not contain packages with fixes for security related updates. Using that repository means your NGINX installs are not secure and prone to at least one published CVE at this point.

Note: See TracTickets for help on using tickets.