Someone need to update the latest stable CentOS (Possibly RedHat) NginX files

Sergey Budnevitch sb at waeme.net
Sat Feb 18 14:11:29 UTC 2012


On 17.02.2012, at 2:04, Bade Iriabho wrote:

> Hello,
> 
> Following instructions on http://nginx.org/en/download.html, I tried to install NginX on CentOS 6 and it failed. See the three approaches I used below.

Repository is ok, but yours CentOS have nonstandard and bit paranoid setup. I do not even know how to
force signature cheking with rpm, it is optional on CentOS/RHEL and produce only warning.
Try to install with
rpm -Uvh --nodigest --nosignature http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm
then run
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-nginx
then
yum install nginx

> 
> First Try
> +==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+
> $ rpm -Uvh http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm
> Retrieving http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm
> error: /var/tmp/rpm-xfer.4j3Y9u: Header V4 RSA/SHA1 signature: BAD, key ID 7bd9bf62
> error: /var/tmp/rpm-xfer.4j3Y9u cannot be installed
> 
> Second Try
> +==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+
> $ nano /etc/yum.repos.d/CentOS-Nginx.repo
> # Type the following
> [nginx]
> name=nginx repo
> baseurl=http://nginx.org/packages/centos/6/$basearch/
> gpgcheck=0
> enabled=1
> 
> $ yum install nginx
> Loaded plugins: fastestmirror
> Loading mirror speeds from cached hostfile
>  * base: dist1.800hosting.com
>  * extras: centos.mirror.lstn.net
>  * updates: mirror.raystedman.net
> base                                                                                                                                                                                                                  | 1.1 kB     00:00
> c5-testing                                                                                                                                                                                                            |  951 B     00:00
> extras                                                                                                                                                                                                                | 2.1 kB     00:00
> nginx                                                                                                                                                                                                                 | 1.3 kB     00:00
> nginx/primary                                                                                                                                                                                                         | 2.6 kB     00:00
> http://nginx.org/packages/centos/6/x86_64/repodata/primary.xml.gz: [Errno -3] Error performing checksum
> Trying other mirror.
> nginx/primary                                                                                                                                                                                                         | 2.6 kB     00:00
> http://nginx.org/packages/centos/6/x86_64/repodata/primary.xml.gz: [Errno -3] Error performing checksum
> Trying other mirror.
> Error: failure: repodata/primary.xml.gz from nginx: [Errno 256] No more mirrors to try.
> 
> Third Try
> +==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+
> $ wget http://nginx.org/packages/centos/6/x86_64/RPMS/nginx-1.0.12-1.el6.ngx.x86_64.rpm
> --2012-02-16 15:55:30--  http://nginx.org/packages/centos/6/x86_64/RPMS/nginx-1.0.12-1.el6.ngx.x86_64.rpm
> Resolving nginx.org... 206.251.255.63
> Connecting to nginx.org|206.251.255.63|:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 325076 (317K) [application/x-redhat-package-manager]
> Saving to: `nginx-1.0.12-1.el6.ngx.x86_64.rpm'
> 
> 100%[===================================================================================================================================================================================================>] 325,076      944K/s   in 0.3s
> 
> 2012-02-16 15:55:31 (944 KB/s) - `nginx-1.0.12-1.el6.ngx.x86_64.rpm' saved [325076/325076]
> 
> $ rpm -ivh nginx-1.0.12-1.el6.ngx.x86_64.rpm
> error: nginx-1.0.12-1.el6.ngx.x86_64.rpm: Header V4 RSA/SHA1 signature: BAD, key ID 7bd9bf62
> error: nginx-1.0.12-1.el6.ngx.x86_64.rpm cannot be installed
> +==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+
> 
> So can someone look into this, I am not sure who to ask. 
> 
> Regards,
> Bade I.
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list