LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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, 02: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, 02:51 AM   #2
billymayday
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, 02: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 02:55 AM.
 
Old 04-29-2009, 02:57 AM   #4
billymayday
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, 02:59 AM   #5
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
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, 03: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, 03: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, 03:04 AM   #8
billymayday
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, 03: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 03:26 AM.
 
Old 04-29-2009, 03: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, 03:39 AM   #11
billymayday
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 02:21 PM
Cant install bugzilla on Centos using YUM ALInux Linux - Software 6 06-01-2008 05:41 PM
Can't get PHP 5 to work on CentOS 4.2, Apache 2.0.52 tibberous Linux - Server 3 10-27-2007 07: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 05:09 AM
trying to install YUM on CentOS MrSako Linux - Newbie 5 07-20-2006 09:36 AM


All times are GMT -5. The time now is 03:41 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration