pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedInstalling PostgreSQL Yum Repository
4+ messages / 3 participants
[nested] [flat]
* Installing PostgreSQL Yum Repository
@ 2012-08-18 17:25 Jonathan Pool <pool@utilika.org>
0 siblings, 2 replies; 4+ messages in thread
From: Jonathan Pool @ 2012-08-18 17:25 UTC (permalink / raw)
To: 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?
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Installing PostgreSQL Yum Repository
@ 2012-08-19 01:22 Craig Ringer <ringerc@ringerc.id.au>
parent: Jonathan Pool <pool@utilika.org>
1 sibling, 1 reply; 4+ messages in thread
From: Craig Ringer @ 2012-08-19 01:22 UTC (permalink / raw)
To: Jonathan Pool <pool@utilika.org>; +Cc: pgsql-admin
On 08/19/2012 01:25 AM, Jonathan Pool wrote:
> 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
First, why download it, then run rpm on the remote URL instead of the
local file?
But anyway:
yum install pgdg-redhat-9.1-4.noarch.rpm
with the local file, or the URL; yum doesn't care.
--
Craig Ringer
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Installing PostgreSQL Yum Repository
@ 2012-08-19 02:06 Jonathan Pool <pool@utilika.org>
parent: Craig Ringer <ringerc@ringerc.id.au>
0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Pool @ 2012-08-19 02:06 UTC (permalink / raw)
To: Craig Ringer <ringerc@ringerc.id.au>; +Cc: pgsql-admin
>> 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
>
> First, why download it, then run rpm on the remote URL instead of the local file?
>
> Craig Ringer
Only because that seems to be exactly what the instructions tell one to do.
ˉ
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Installing PostgreSQL Yum Repository
@ 2012-08-19 09:07 Devrim GÜNDÜZ <devrim@gunduz.org>
parent: Jonathan Pool <pool@utilika.org>
1 sibling, 0 replies; 4+ messages in thread
From: Devrim GÜNDÜZ @ 2012-08-19 09:07 UTC (permalink / raw)
To: Jonathan Pool <pool@utilika.org>; +Cc: pgsql-admin
Hi,
On Sat, 2012-08-18 at 10:25 -0700, Jonathan Pool wrote:
> 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
Could you please try:
rpm -ivh http://yum.postgresql.org/9.1/redhat/rhel-5-x86_64/pgdg-redhat91-9.1-5.noarch.rpm
> I was surprised that the instructions told me to download a file and then issue a command that doesn't reference the downloaded file.
That is my mistake. I changed the filenames a few months before, but it
seems I forgot to update website:
http://yum.postgresql.org/repopackages.php
This is now up2date.
Regards,
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz
Attachments:
signature.asc (application/pgp-signature, 197B) download
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2012-08-19 09:07 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-08-18 17:25 Installing PostgreSQL Yum Repository Jonathan Pool <pool@utilika.org>
2012-08-19 01:22 ` Craig Ringer <ringerc@ringerc.id.au>
2012-08-19 02:06 ` Jonathan Pool <pool@utilika.org>
2012-08-19 09:07 ` Devrim GÜNDÜZ <devrim@gunduz.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox