LinuxQuestions.org
Visit Jeremy's Blog.
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-29-2009, 01:30 AM   #1
guest
Member
 
Registered: May 2003
Distribution: CentOS 5 64 bit
Posts: 255

Rep: Reputation: 30
yum install php-imap doesn't work on CentOS?


Resolving Dependencies
--> Running transaction check
---> Package php-imap.x86_64 0:5.1.6-23.2.el5_3 set to be updated
--> Processing Dependency: libc-client.so.1()(64bit) for package: php-imap
--> Processing Dependency: php-common = 5.1.6-23.2.el5_3 for package: php-imap
--> Running transaction check
---> Package php-imap.x86_64 0:5.1.6-23.2.el5_3 set to be updated
--> Processing Dependency: php-common = 5.1.6-23.2.el5_3 for package: php-imap
---> Package libc-client.x86_64 0:2004g-2.2.1 set to be updated
--> Finished Dependency Resolution
Error: Missing Dependency: php-common = 5.1.6-23.2.el5_3 is needed by package php-imap


so it's telling me i'm missing depency php-common, but when i try to yum install php-common, it tells me: "Nothing to do"


anyone know why this is happening? i've installed php-imap on all servers fine except one.. so strange..

thanks in advance!
 
Old 04-29-2009, 01:51 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Can you show

yum list php-common
 
Old 04-29-2009, 01:54 AM   #3
guest
Member
 
Registered: May 2003
Distribution: CentOS 5 64 bit
Posts: 255

Original Poster
Rep: Reputation: 30
Sure:

[root@localhost ~]# yum list php-common
Loading "fastestmirror" plugin
Loading "priorities" plugin
Loading mirror speeds from cached hostfile
* utterramblings: www.jasonlitka.com
* rpmforge: apt.sw.be
* extras: updates.interworx.info
* updates: styx.biochem.wfubmc.edu
* base: updates.interworx.info
* addons: centos.aol.com
545 packages excluded due to repository priority protections
Installed Packages
php-common.x86_64 5.2.6-jason.1 installed
Available Packages
php-common.x86_64 5.1.6-23.2.el5_3 updates

Last edited by guest; 04-29-2009 at 01:55 AM.
 
Old 04-29-2009, 01:57 AM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
How did you install the package that's there? Clearly php-imap needs 5.1.6-23.2, but you already have a later version.

Do you know if you can remove the 5.2.6 version without damaging anything else?
 
Old 04-29-2009, 01:59 AM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,348

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
As you can see, you need to remove php-common.x86_64 5.2.6-jason.1
Are you sure want that as a repo?
 
Old 04-29-2009, 02:00 AM   #6
guest
Member
 
Registered: May 2003
Distribution: CentOS 5 64 bit
Posts: 255

Original Poster
Rep: Reputation: 30
I'm not sure.. i did yum update.. it updated about 200+ items.. i would assume php-common comes with php when i installed php.. i've no idea how to remove an install w/o damaging the server...
 
Old 04-29-2009, 02:02 AM   #7
guest
Member
 
Registered: May 2003
Distribution: CentOS 5 64 bit
Posts: 255

Original Poster
Rep: Reputation: 30
i forgot how to remove that repo.. how do i remove php-common?
 
Old 04-29-2009, 02:04 AM   #8
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Start by posting

yum repolist
 
Old 04-29-2009, 02:25 AM   #9
guest
Member
 
Registered: May 2003
Distribution: CentOS 5 64 bit
Posts: 255

Original Poster
Rep: Reputation: 30
I've just removed jasonlitka's

[root@localhost ~]# yum repolist
Loading "fastestmirror" plugin
Loading "priorities" plugin
repo id repo name status
addons CentOS-5 - Addons enabled
base CentOS-5 - Base enabled
extras CentOS-5 - Extras enabled
rpmforge Red Hat Enterprise 5 - RPMforge.net - da enabled
updates CentOS-5 - Updates enabled



Here's another one that maybe of use:
[root@localhost ~]# rpm -qa |grep php
php-5.2.6-jason.1
php-pdo-5.2.6-jason.1
php-cli-5.2.6-jason.1
php-mysql-5.2.6-jason.1
php-common-5.2.6-jason.1

Last edited by guest; 04-29-2009 at 02:26 AM.
 
Old 04-29-2009, 02:36 AM   #10
guest
Member
 
Registered: May 2003
Distribution: CentOS 5 64 bit
Posts: 255

Original Poster
Rep: Reputation: 30
works now.. i did this:
rpm -ivh libc-client-2004g-2.2.1.x86_64.rpm (since it was just missing that)
and did yum install php-imap and worked fine


thanked for trying
 
Old 04-29-2009, 02:39 AM   #11
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I'm not sure where you got those from. The versions in the repos you currently have enabled are all 5.1.26.

Without hitting "yes" (ie cancel rather than proceed) what happens if you try

yum remove php php-pdo php-cli php-mysql php-common

?

You may get a huge list of other packages it wants to remove which indicated trouble. The real question is whether or not you have any apps that rely on the later version of php and its associated packages.

edit - ignore that then
 
  


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
How to Install IMAP on CentOS 5.2? guest Linux - Newbie 2 04-14-2009 01:21 PM
Cant install bugzilla on Centos using YUM ALInux Linux - Software 6 06-01-2008 04:41 PM
Can't get PHP 5 to work on CentOS 4.2, Apache 2.0.52 tibberous Linux - Server 3 10-27-2007 06:25 AM
i am getting no argument nothing to do when i try yum install mplayer on centos 4.4 Laurkin LinuxQuestions.org Member Intro 3 06-11-2007 04:09 AM
trying to install YUM on CentOS MrSako Linux - Newbie 5 07-20-2006 08:36 AM

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

All times are GMT -5. The time now is 05:09 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