Installing PostgreSQL Yum Repository

From: Jonathan Pool <pool(at)utilika(dot)org>
To: pgsql-admin(at)postgresql(dot)org
Subject: Installing PostgreSQL Yum Repository
Date: 2012-08-18 17:25:17
Message-ID: C91D75E5-1B38-48C8-A00A-5655FF7DC97A@panlex.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I am trying to follow the instructions on http://www.postgresql.org/download/linux/redhat/ for installing the PostgreSQL Yum Repository (on RHEL 5).

So I downloaded pgdg-redhat-9.1-4.noarch.rpm into a directory from http://yum.postgresql.org/9.1/redhat/rhel-5-x86_64/pgdg-redhat-9.1-4.noarch.rpm.

Then I tried to install it with:

rpm -i http://yum.postgresql.org/9.1/redhat/rhel-5-x86_64/pgdg-redhat-9.1-4.noarch.rpm

Instead of an installation, I got:

error: skipping http://yum.postgresql.org/9.1/redhat/rhel-5-x86_64/pgdg-redhat-9.1-4.noarch.rpm - transfer failed - Unknown or unexpected error

I was surprised that the instructions told me to download a file and then issue a command that doesn't reference the downloaded file. So, as an experiment, I also executed:

sudo rpm -i pgdg-redhat-9.1-4.noarch.rpm

That produced this error message:

warning: pgdg-redhat-9.1-4.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 442df0f8

But it did, apparently, install the package, since rpm -qi pgdg-redhat shows it installed. So, is it correct to instruct users to download the .rpm file and then issue a command that references the remote source URL of that file?

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Jonathan Pool 2012-08-19 00:31:59 symbol lookup error: /usr/pgsql-9.1/bin/pg_ctl: undefined symbol: PQping
Previous Message Joel Hedden 2012-08-17 19:21:59 Re: Starting PostgreSQL on OS X 10.8