LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-02-2006, 02:01 AM   #1
grob115
Member
 
Registered: Oct 2005
Posts: 542

Rep: Reputation: 32
Installing PosgreSQL RPM


Hello,

I have a bit of a problem with updating my Plesk to a newer version. Basically from what I gathered is that the new Plesk requires PosgreSQL in order to run, and displayed the following during the installation:
Quote:
Preparing for packages installation...

Installing packages
Installing postgresql-libs-7.2.4-5.73.i386.rpm
Installing postgresql-7.2.4-5.73.i386.rpm
Installing php-pgsql-4.3.10-0.i386.rpm
error: failed dependencies:
php = 4.3.10-0 is needed by php-pgsql-4.3.10-0
Not all required packages were installed.
Press <ENTER> to continue...
Someone explained to me that because I am using php-4.3.11-mecca1, php-pgsql-4.3.10-0 is an older version and thus the dependency errors. And I should just install the php-pgsql RPM from my own php version and its name is probably just php-pgsql-4.3.11-mecca1.rpm.

Can someone please provide a detailed step by step description of how I can do this? For example, where is this php-pgsql-4.3.11-mecca1.rpm, and what command should I use to install this? I don't know anything about RPM other than it is a great Redhat Package Manager.

Thanks
 
Old 05-02-2006, 06:18 AM   #2
zaichik
Member
 
Registered: May 2004
Location: Iowa USA
Distribution: CentOS
Posts: 419

Rep: Reputation: 30
Plesk--new or old--does not require PostgreSQL run. Its internal DB is MySQL. It looks like somewhere along the line you have picked up the PostgreSQL module for PHP, and this is what is causing the dependency problem.

If you are sure that you are not using PostgreSSQL, you could just remove that RMP and then the upgrade process will not attempt to install or upgrade it.

I can almost guarantee you, though, that if you don't know all that much about RPM, you should probably get some professional assistance with upgrading Plesk (assuming this is a production server).
 
Old 05-02-2006, 11:44 AM   #3
grob115
Member
 
Registered: Oct 2005
Posts: 542

Original Poster
Rep: Reputation: 32
Hello,

Um... I downloaded "php-pgsql-4.3.11-2.8.i386.rpm" from the http://rpmfind.net/linux/RPM/fedora/...-2.8.i386.html but the following happened:
[root@ns1 /]# rpm -i php-pgsql-4.3.11-2.8.i386.rpm
error: failed dependencies:
libc.so.6(GLIBC_2.3) is needed by php-pgsql-4.3.11-2.8
libpq.so.3 is needed by php-pgsql-4.3.11-2.8
php = 4.3.11-2.8 is needed by php-pgsql-4.3.11-2.8

The place where I downloaded this php-pgsql-4.3.11-2.8.i386.rpm did mention about libc.so.6, libpq.so.3, and php 4.3.11-2.8. But when I click on the libc.so.6, it returned a list of links but none of them are libc.so.6.

I'm a bit lost here. First off, there appears to be different kinds of php-pgsql-4.3.11 here. This one I got is release 2.8 but there are also release 2.7, 2.6, etc. How do I know which release to get? And will it work for any Redhat distribution? (ie Redhat 7.3, Fedora 3, 4, etc)?
 
Old 05-05-2006, 06:20 AM   #4
zaichik
Member
 
Registered: May 2004
Location: Iowa USA
Distribution: CentOS
Posts: 419

Rep: Reputation: 30
Looks like you've got some custom-rolled RPMs there. What does
Code:
rpm -qa | grep php-
say?

What version of Plesk do you have now, and what version are you trying to upgrade to?
 
Old 05-06-2006, 11:21 AM   #5
grob115
Member
 
Registered: Oct 2005
Posts: 542

Original Poster
Rep: Reputation: 32
"grep php-" returns nothing.....
"rpm -qa" returns a very long list of stuff. So long that the beginning of the list can not be seen even if I scroll through the window. But the last few lines are:
perl-IO-Zlib-1.01-rh7.3.build75050128.10
perl-Text-Balanced-1.95-rh7.3.build75050128.10
psa-bu-7.5.2-rh7.3.build75050128.10
postgresql-libs-7.2.4-5.73

I have Plesk 7.5.2 and I'm trying to upgrade it to 7.5.4.
 
Old 05-06-2006, 05:06 PM   #6
zaichik
Member
 
Registered: May 2004
Location: Iowa USA
Distribution: CentOS
Posts: 419

Rep: Reputation: 30
Run the commands on a single line, with the pipe character between them:
Code:
rpm -qa | grep php-
That will take that long output you get from "rpm -qa" and send it to grep, which will print only lines containing "php-".

The idea is want to see all the PHP modules you have installed with RPM. This "php-4.3.11-mecca1" concerns me a little bit, as I have never used anything on a Plesk box other than the stock PHP RPMs for the distro involved, or the ones available (and specifically for Plesk environments) at atomicrocketturtle.com.
 
  


Reply



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
Installing the nvidia driver off the web site and installing rpm in ubuntu? darkhatter Ubuntu 3 02-19-2006 02:44 PM
How can I start Posgresql in FC3? linx win Fedora 2 11-30-2004 12:47 AM
PosgreSQL server with mandrake 9.1 ? RodCas Linux - Software 3 05-08-2004 05:11 PM
installing from rpm zexter Linux - Software 4 11-02-2003 09:22 PM
Interesting TCP/IP Problem? PosgreSQL and Internet Connection Sharing Don't Work iaypaa Linux - Networking 3 11-04-2002 05:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:34 PM.

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