Обсуждение: redhat and postgresql management
--
David Bear
College of Public Programs at ASU
602-494-0424
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
Enterprise Applications Engineer
e-mail: james.dobson@grant.co.uk
Direct Tel: +44 (0)1763 264777
NEW for 2010: Grant Aqua Plus
A new range of 21 unstirred and shaking water baths.
New features, new designs. Click on the above to find out more...
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
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
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
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
David Bear wrote: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.htmI 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 ??
--
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