LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-27-2007, 10:40 AM   #1
makyo
Member
 
Registered: Aug 2006
Location: Saint Paul, MN, USA
Distribution: {Free,Open}BSD, CentOS, Debian, Fedora, Solaris, SuSE
Posts: 735

Rep: Reputation: 76
Conflicts, dependencies: PostgreSQL 8.2.3 on RHEL4 / U4 [SOLVED]


Hi.

PostgreSQL 8.2.3 downloaded RPMs
RedHat Enterprise Linux 4, Update 4
SunFire hardware

I arranged the RPMs to fit the sequence suggested by the pg folks. So the compatibility library is first, etc., in a script that attempts to install all of them.

There is no existing PostgreSQL on the box, although one library is apparently needed by something else (see below).

These are the first few messages from rpm. They cause a cascade of errors later, as one might expect.
Code:
error: Failed dependencies:
        postgresql-libs < 8.1.5 conflicts with compat-postgresql-libs-4-2PGDG.rhel4.i686

warning: postgresql-libs-8.2.3-1PGDG.i686.rpm: V3 DSA signature: NOKEY, key ID 20579f11
error: Failed dependencies:
        libpq.so.3 is needed by (installed) cyrus-sasl-sql-2.1.19-5.EL4.i386

warning: postgresql-8.2.3-1PGDG.i686.rpm: V3 DSA signature: NOKEY, key ID 20579f11
error: Failed dependencies:
        libpq.so.5 is needed by postgresql-8.2.3-1PGDG.i686
I didn't see anything in the brief install guide that mentioned this.

If you have any suggestions on how to deal with this, I'd appreciate hearing them ... cheers, makyo

Last edited by makyo; 05-06-2007 at 04:19 PM.
 
Old 04-28-2007, 07:44 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Try installing them all at once, from where the rpm packages are located type as root type;

rpm -Uvh *.rpm

Apparently you have a couple of other already installed packages causing these errors, installing multiple packages via a script or by hand can be a problem (Welcome to dependency Hell). Gathering all the packages needed/required in one common location and installing them all at once works better.
 
Old 05-04-2007, 12:25 PM   #3
makyo
Member
 
Registered: Aug 2006
Location: Saint Paul, MN, USA
Distribution: {Free,Open}BSD, CentOS, Debian, Fedora, Solaris, SuSE
Posts: 735

Original Poster
Rep: Reputation: 76
Hi, Lenard.

Thanks for the suggestion -- I would not have guessed that rpm would have a gestalt-like feature to do the re-arranging of rpms to satisfy dependencies, but that is a useful feature.

So I did that, and rpm suggested that I install a package mx. I did that with up2date. It was successful.

I then tried to install postgreSQL again, and got:
Code:
# rpm -Uvh *.rpm
warning: postgresql-8.2.3-1PGDG.i686.rpm: V3 DSA signature: NOKEY, key ID 20579f11
error: Failed dependencies:
        libpq.so.3 is needed by (installed) cyrus-sasl-sql-2.1.19-5.EL4.i38
Is this the beginning of dependency hell for me?

Any further solutions come to mind? ... cheers, makyo
 
Old 05-04-2007, 04:53 PM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Sorry it is beginning to look that way, as a suggestion try downloading the latest versions. for example I download the RHEL5 version packages:

$ ls post*
postgresql-8.2.4-1PGDG.x86_64.rpm
postgresql-contrib-8.2.4-1PGDG.x86_64.rpm
postgresql-libs-8.2.4-1PGDG.x86_64.rpm
postgresql-plperl-8.2.4-1PGDG.x86_64.rpm
postgresql-plpython-8.2.4-1PGDG.x86_64.rpm
postgresql-pltcl-8.2.4-1PGDG.x86_64.rpm
postgresql-server-8.2.4-1PGDG.x86_64.rpm

Tested the installation of the packages and got no errors or issues:

$ rpm -Uvh post*.rpm --test
warning: postgresql-8.2.4-1PGDG.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 20579f11
Preparing... ########################################### [100%]

And removing cyrus-sasl-sql if possible: rpm -e cyrus-sasl-sql --test

What I have installed on my system (cyrus packages only) for this test;
$ rpm -qa 'cyrus*'
cyrus-sasl-plain-2.1.22-4
cyrus-sasl-md5-2.1.22-4
cyrus-sasl-lib-2.1.22-4
cyrus-sasl-lib-2.1.22-4
cyrus-sasl-plain-2.1.22-4
 
Old 05-06-2007, 03:40 PM   #5
makyo
Member
 
Registered: Aug 2006
Location: Saint Paul, MN, USA
Distribution: {Free,Open}BSD, CentOS, Debian, Fedora, Solaris, SuSE
Posts: 735

Original Poster
Rep: Reputation: 76
Hi, Lenard.

I tried 8.2.4:
Code:
# rpm -Uvh *.rpm
warning: postgresql-8.2.4-1PGDG.i686.rpm: V3 DSA signature: NOKEY, key ID 20579f11
error: Failed dependencies:
        libpq.so.3 is needed by (installed) cyrus-sasl-sql-2.1.19-5.EL4.i386
My cyrus packages:
Code:
# rpm -qa 'cyrus*'
cyrus-sasl-md5-2.1.19-5.EL4
cyrus-sasl-plain-2.1.19-5.EL4
cyrus-sasl-sql-2.1.19-5.EL4
cyrus-sasl-ntlm-2.1.19-5.EL4
cyrus-sasl-gssapi-2.1.19-5.EL4
cyrus-sasl-2.1.19-5.EL
I'm reluctant to remove cyrus-sasl-sql until I know what the possible implications are. I'll look around for that.

Thanks for your time, and let me know if you think of anything ... cheers, makyo
 
Old 05-06-2007, 03:54 PM   #6
makyo
Member
 
Registered: Aug 2006
Location: Saint Paul, MN, USA
Distribution: {Free,Open}BSD, CentOS, Debian, Fedora, Solaris, SuSE
Posts: 735

Original Poster
Rep: Reputation: 76
Hi.

There is some information about removing cyrus-sasl to be able to install postgreSQL here -- search for cyrus ... cheers, makyo
 
Old 05-06-2007, 04:18 PM   #7
makyo
Member
 
Registered: Aug 2006
Location: Saint Paul, MN, USA
Distribution: {Free,Open}BSD, CentOS, Debian, Fedora, Solaris, SuSE
Posts: 735

Original Poster
Rep: Reputation: 76
Hi.

I erased package cyrus-sasl-sql, and installed pg 8.2.4 without trouble. Of course, I don't know if it runs correctly yet, but this helps move forward.

Thanks for your help Lenard ... cheers, makyo
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
remote backup from RHEL4 to another RHEL4? dkgoalie Linux - Newbie 2 10-27-2006 11:14 PM
What postgresql version is in RHEL4 jianhua chen Linux - Enterprise 2 09-28-2004 06:53 AM
I recieve a failed dependencies error, but I have all required dependencies Laptop2250 Linux - Software 15 02-03-2004 07:58 PM
built source conflicts with dependencies! Goofee Linux - General 0 06-30-2003 12:52 AM
postgresql -odbc & postgresql-jdbc installation kjsubbu Linux - Software 0 06-19-2003 02:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration