Opened 11 years ago

Closed 11 years ago

#397 closed defect (invalid)

nginx repomd.xml 404 Not Found

Reported by: Eric Isaacson Owned by:
Priority: major Milestone:
Component: nginx-package Version: 1.3.x
Keywords: Cc:
uname -a: Linux yavin.corp.gearhead.com 2.6.32-358.11.1.el6.x86_64 #1 SMP Wed May 15 10:48:38 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux
nginx -V: nginx version: nginx/1.4.1

Description

I set up the nginx repository as specified at http://wiki.nginx.org/Install

[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/rhel/$releasever/$basearch/
gpgcheck=0
enabled=1
When I try to install php-fpm, I get the following error

http://nginx.org/packages/rhel/6Server/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: nginx. Please verify its path and try again

Change History (1)

comment:1 by Valentin V. Bartenev, 11 years ago

Resolution: invalid
Status: newclosed

A quote from http://wiki.nginx.org/Install:

Due to differences between how CentOS, RHEL, and Scientific Linux populate the $releasever variable, it is necessary to manually replace $releasever with either "5" (for 5.x) or "6" (for 6.x), depending upon your OS version.

In your case the full baseurl should look like ​http://nginx.org/packages/rhel/6/$basearch/

Note: See TracTickets for help on using tickets.