Re: Re: upgrading RPM query - Mailing list pgsql-admin

From Lamar Owen
Subject Re: Re: upgrading RPM query
Date
Msg-id 01081413392902.01006@lowen.wgcr.org
Whole thread Raw
In response to Re: upgrading RPM query  (Alan Gutierrez <alangutierrez@hotmail.com>)
List pgsql-admin
On Monday 13 August 2001 22:28, Alan Gutierrez wrote:
> Gary Stainburn wrote:
>  > At the risk of starting to stray OT for this list, how do you go about
>  > installing SRPMS - I've never done anything like that before.

> An easier way to do this would be to download the postgresql tarball.

Nope. If you have enough to recompile the tarball, you just (as root):
rpm --rebuild postgresql-x.y.z-rPGDG.src.rpm

Make a dump of the old database at this point, if upgrading...

cd /usr/src/redhat/RPMS/i386 (or whichever architecture you have)
rpm -Uvh whichever-rpms-you-want.i386.rpm

It's easier -- much easier -- to rebuild from source via RPM than to build
and hand install from tarball, if you don't need too custom of a setup.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11

pgsql-admin by date:

Previous
From: iafmgc@unileon.es
Date:
Subject: Creating Users
Next
From: Gary Stainburn
Date:
Subject: Re: Re: upgrading RPM query