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

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.

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

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.

On Fri, Feb 17, 2012 at 6:04 AM, Bade I. [email protected]
wrote:

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

Did you try:

rpm -vvv --rebuilddb

yum clean all

yum localinstall --nogpgcheck

http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm

yum -y install nginx

Thanks.

Kindest regards,
Giam Teck Choon

Quick Q:

Epel and CentOS repo still refers to 0.84. Is this under the community
influence to upgrade to 1+?

-Quintin

Quintin, that is what I ended up using. It would be nice to get these
other
issues resolved :slight_smile:

Bade

Yes. I understand.

On 17.02.2012, at 2:04, Bade I. 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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs