pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
redhat and postgresql management
6+ messages / 5 participants
[nested] [flat]

* redhat and postgresql management
@ 2010-06-18 16:11 David Bear <David.Bear@asu.edu>
  2010-06-18 16:29 ` Re: redhat and postgresql management James Dobson <james.dobson@grant.co.uk>
  2010-06-18 16:48 ` Re: redhat and postgresql management Tom Lane <tgl@sss.pgh.pa.us>
  2010-06-18 17:40 ` Re: redhat and postgresql management Greg Smith <greg@2ndquadrant.com>
  2010-06-18 18:48 ` Re: redhat and postgresql management Devrim GUNDUZ <devrim@gunduz.org>
  0 siblings, 4 replies; 6+ messages in thread

From: David Bear @ 2010-06-18 16:11 UTC (permalink / raw)
  To: pgsql-admin

I have RHEL 5.4 (64bit) that has a postgresql-lib 8.1 installed to satisfy
dependancy for a dozen other packages including apache, php and other apache
modules, and subversion.

I want to install postresql 8.3 but yum informs me of the version conflict
of the library. May i safely just over write the postgresql-lib with the 8.3
lib ?? I'd rather not have to uninstall all the dependancies, install pg,
then reinstall everything I just removed facing more possible dependacy
issue.

any advice much appreciated.

-- 
David Bear
College of Public Programs at ASU
602-494-0424

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: redhat and postgresql management
  2010-06-18 16:11 redhat and postgresql management David Bear <David.Bear@asu.edu>
@ 2010-06-18 16:29 ` James Dobson <james.dobson@grant.co.uk>
  3 siblings, 0 replies; 6+ messages in thread

From: James Dobson @ 2010-06-18 16:29 UTC (permalink / raw)
  To: David Bear <David.Bear@asu.edu>; pgsql-admin

I had a similar situation with other packages depending on /usr/lib64/libpq.so.4 owned by an old version of postgres-libs rpm.

I solved this by acquiring compat-postgresql-libs-4-1pgdg.rhel5.x86_64.rpm
from http://yum.pgsqlrpms.org/8.2/redhat/rhel-5-x86_64/repoview/compat-postgresql-libs.html

Then install the compat-postgresql-libs rpm using --replacefiles


rpm -iv --replacefiles compat-postgresql-libs-4-1PGDG.rhel5.x86_64.rpm

You should then be able to cleanly remove the 8.1 version of postgresql-lib & install the rpm from 8.3:

rpm -e postgresql-libs
etc...

Hope that helps

James


James Dobson
Enterprise Applications Engineer
e-mail: james.dobson@grant.co.uk
Direct Tel: +44 (0)1763 264777

Tel: +44 (0)1763 260811
Fax: +44 (0)1763 262410
www.grant.co.uk<http://www.grant.co.uk/;

NEW for 2010: Grant Aqua Plus<http://www.grant.co.uk/Scientific+Equipment/Products/Unstirred+Water+Baths/;
A new range of 21 unstirred<http://www.grant.co.uk/Scientific+Equipment/Products/Unstirred+Water+Baths/; and shaking<http://www.grant.co.uk/Scientific+Equipment/Products/Shaking+Water+Baths/; water baths.
New features, new designs. Click on the above to find out more...



Grant Instruments (Cambridge) Ltd
Company registered in England, registration number 658133
Registered office address:
29 Station Road,
Shepreth,
CAMBS SG8 6GB
UK


From: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of David Bear
Sent: 18 June 2010 17:12
To: pgsql-admin@postgresql.org
Subject: [ADMIN] redhat and postgresql management

I have RHEL 5.4 (64bit) that has a postgresql-lib 8.1 installed to satisfy dependancy for a dozen other packages including apache, php and other apache modules, and subversion.

I want to install postresql 8.3 but yum informs me of the version conflict of the library. May i safely just over write the postgresql-lib with the 8.3 lib ?? I'd rather not have to uninstall all the dependancies, install pg, then reinstall everything I just removed facing more possible dependacy issue.

any advice much appreciated.

--
David Bear
College of Public Programs at ASU
602-494-0424



P Please consider the environment before printing this email
CONFIDENTIALITY: The information in this e-mail and any attachments is confidential. It is intended only for the named recipients(s). If you are not the named recipient please notify the sender immediately and do not disclose the contents to another person or take copies.

VIRUSES: The contents of this e-mail or attachment(s) may contain viruses which could damage your own computer system. Whilst Grant Instruments (Cambridge) Ltd has taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should therefore carry out your own virus checks before opening the attachment(s).

OpenXML: For information about the OpenXML file format in use within Grant Instruments please visit our website<http://www.grant.co.uk/Support/openxml.html;


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: redhat and postgresql management
  2010-06-18 16:11 redhat and postgresql management David Bear <David.Bear@asu.edu>
@ 2010-06-18 16:48 ` Tom Lane <tgl@sss.pgh.pa.us>
  3 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2010-06-18 16:48 UTC (permalink / raw)
  To: David Bear <David.Bear@asu.edu>; +Cc: pgsql-admin

David Bear <David.Bear@asu.edu> writes:
> I have RHEL 5.4 (64bit) that has a postgresql-lib 8.1 installed to satisfy
> dependancy for a dozen other packages including apache, php and other apache
> modules, and subversion.

> I want to install postresql 8.3 but yum informs me of the version conflict
> of the library. May i safely just over write the postgresql-lib with the 8.3
> lib ??

No.  They're not the same library major version.

As of RHEL5.5 there is a postgresql84 package, and postgresql84-libs can
be installed without a conflict with the 8.1 postgresql-libs.  You might
consider going for that instead of 8.3.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: redhat and postgresql management
  2010-06-18 16:11 redhat and postgresql management David Bear <David.Bear@asu.edu>
@ 2010-06-18 17:40 ` Greg Smith <greg@2ndquadrant.com>
  2010-06-23 22:46   ` Re: redhat and postgresql management David Bear <David.Bear@asu.edu>
  3 siblings, 1 reply; 6+ messages in thread

From: Greg Smith @ 2010-06-18 17:40 UTC (permalink / raw)
  To: David Bear <David.Bear@asu.edu>; +Cc: pgsql-admin

David Bear wrote:
> I have RHEL 5.4 (64bit) that has a postgresql-lib 8.1 installed to 
> satisfy dependancy for a dozen other packages including apache, php 
> and other apache modules, and subversion.
>
> I want to install postresql 8.3 but yum informs me of the version 
> conflict of the library. May i safely just over write the 
> postgresql-lib with the 8.3 lib ??

No.  I wrote a detailed guide to exactly how to step around this problem 
by installing the compat-postgresql-libs package provided by the 
PostgreSQL 8.3 package set you may find useful:  
http://www.westnet.com/~gsmith/content/postgresql/pgrpm.htm

-- 
Greg Smith  2ndQuadrant US  Baltimore, MD
PostgreSQL Training, Services and Support
greg@2ndQuadrant.com   www.2ndQuadrant.us




^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: redhat and postgresql management
  2010-06-18 16:11 redhat and postgresql management David Bear <David.Bear@asu.edu>
  2010-06-18 17:40 ` Re: redhat and postgresql management Greg Smith <greg@2ndquadrant.com>
@ 2010-06-23 22:46   ` David Bear <David.Bear@asu.edu>
  0 siblings, 0 replies; 6+ messages in thread

From: David Bear @ 2010-06-23 22:46 UTC (permalink / raw)
  To: Greg Smith <greg@2ndquadrant.com>; +Cc: pgsql-admin

Thank you all. This group is amazingly helpful. The combinations of emails
and the document linked below did the trick.

On Fri, Jun 18, 2010 at 10:40 AM, Greg Smith <greg@2ndquadrant.com> wrote:

> David Bear wrote:
>
>> I have RHEL 5.4 (64bit) that has a postgresql-lib 8.1 installed to satisfy
>> dependancy for a dozen other packages including apache, php and other apache
>> modules, and subversion.
>>
>> I want to install postresql 8.3 but yum informs me of the version conflict
>> of the library. May i safely just over write the postgresql-lib with the 8.3
>> lib ??
>>
>
> No.  I wrote a detailed guide to exactly how to step around this problem by
> installing the compat-postgresql-libs package provided by the PostgreSQL 8.3
> package set you may find useful:
> http://www.westnet.com/~gsmith/content/postgresql/pgrpm.htm<http://www.westnet.com/%7Egsmith/cont...;
>
> --
> Greg Smith  2ndQuadrant US  Baltimore, MD
> PostgreSQL Training, Services and Support
> greg@2ndQuadrant.com   www.2ndQuadrant.us
>
>


-- 
David Bear
College of Public Programs at ASU
602-494-0424

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: redhat and postgresql management
  2010-06-18 16:11 redhat and postgresql management David Bear <David.Bear@asu.edu>
@ 2010-06-18 18:48 ` Devrim GUNDUZ <devrim@gunduz.org>
  3 siblings, 0 replies; 6+ messages in thread

From: Devrim GUNDUZ @ 2010-06-18 18:48 UTC (permalink / raw)
  To: David Bear <David.Bear@asu.edu>; +Cc: pgsql-admin

yum should have replaced potgresql-libs with compatible-postgresql- 
libs. If not, there may be something wrong with the repo.

--
Devrim GÜNDÜZ
PostgreSQL DBA @ Akinon/Markafoni, Red Hat Certified Engineer
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz

18.Haz.2010 tarihinde 19:11 saatinde, David Bear <David.Bear@asu.edu>  
şunları yazdı:

> I have RHEL 5.4 (64bit) that has a postgresql-lib 8.1 installed to  
> satisfy dependancy for a dozen other packages including apache, php  
> and other apache modules, and subversion.
>
> I want to install postresql 8.3 but yum informs me of the version  
> conflict of the library. May i safely just over write the postgresql- 
> lib with the 8.3 lib ?? I'd rather not have to uninstall all the  
> dependancies, install pg, then reinstall everything I just removed  
> facing more possible dependacy issue.
>
> any advice much appreciated.
>
> -- 
> David Bear
> College of Public Programs at ASU
> 602-494-0424



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2010-06-23 22:46 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-06-18 16:11 redhat and postgresql management David Bear <David.Bear@asu.edu>
2010-06-18 16:29 ` James Dobson <james.dobson@grant.co.uk>
2010-06-18 16:48 ` Tom Lane <tgl@sss.pgh.pa.us>
2010-06-18 17:40 ` Greg Smith <greg@2ndquadrant.com>
2010-06-23 22:46   ` David Bear <David.Bear@asu.edu>
2010-06-18 18:48 ` Devrim GUNDUZ <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