LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-17-2010, 11:38 AM   #1
amish123
LQ Newbie
 
Registered: Feb 2010
Posts: 3

Rep: Reputation: 0
Getting Error: Missing Dependency: php-common, when trying to install php-soap


Hello,

I want to install php-soap on centos 5.2 server.
When i run the command, yum install php-soap, i get the error:

php-soap-5.1.6-24.el5_4.5.i386 from updates has depsolving problems
--> Missing Dependency: php-common = 5.1.6-24.el5_4.5 is needed by package php-soap-5.1.6-24.el5_4.5.i386 (updates)
Error: Missing Dependency: php-common = 5.1.6-24.el5_4.5 is needed by package php-soap-5.1.6-24.el5_4.5.i386 (updates)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest

The php common file is not actually missing, its there with the exact name. The problem seems to be that the php-common file is installed from some other repository, thats y it is creating dependency problem.

The only solution i found is to remove the current php-common file and install it again, but then lot of programs get uninstalled with it, which is y am afraid of doing that, since its a vps, and some 10 sites are working on that.

above solution is found at, http://blog.stompnoise.com/?p=42

Any help is appreciated. Thanks a lot.
 
Old 02-17-2010, 02:21 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,927

Rep: Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587
Same repo actually, but out of one of 1000 packages will make
yum / rpm behave that way.
You can set the /etc/yum.conf to keepcache=1
to be able to access the package in /var/cache/yum/updates/...
or just download the package ..
http://mirror.centos.org/centos/5.4/updates/
http://mirror.centos.org/centos/5.4/...5_4.5.i386.rpm

And the install with :
# rpm -Uvh --nodeps php-soap-5.1.6-24.el5_4.5.i386.rpm

Thus circumventing the dependency error / bug.
Usually with no problems at all.
.....
 
Old 02-18-2010, 10:10 AM   #3
amish123
LQ Newbie
 
Registered: Feb 2010
Posts: 3

Original Poster
Rep: Reputation: 0
hello knudlf, thanks for replying.

I tried both the ways u mentioned, but none worked,

1st i tried installing the package, and it gave me following result,

~]# rpm -Uvh --nodeps http://mirror.centos.org/centos/5.4/...5_4.5.i386.rpm
Retrieving http://mirror.centos.org/centos/5.4/...5_4.5.i386.rpm
Preparing... ########################################### [100%]
1hp-soap ########################################### [100%]

It seemed that the package got installed, then i tried installing php-soap, and it gave me following result,

~]# yum install php-soap Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirror.rackspace.com
* base: mirror.skiplink.com
* extras: mirror.atlanticmetro.net
* updates: hpc.arc.georgetown.edu
addons | 951 B 00:00
base | 2.1 kB 00:00
extras | 1.1 kB 00:00
updates | 1.9 kB 00:00
Setting up Install Process
Package php-soap-5.1.6-24.el5_4.5.i386 already installed and latest version
Nothing to do

Since that didn't worked, i tried the next option, of setting keepcache in the /etc/yum.conf, and i got the same result as above , when i tried to install php-soap

Thanks, for your help, please tell what should I try next
 
Old 02-18-2010, 07:26 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,927

Rep: Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587
Quote:
please tell what should I try next
Nothing, I think, the package is installed, as expected,
with the ' rpm -Uvh --nodeps ' command :
Quote:
Package php-soap-5.1.6-24.el5_4.5.i386
already installed and latest version
.....

Last edited by knudfl; 02-19-2010 at 12:52 AM.
 
  


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
yum update PHP on CentOS - missing dependency php-common AndyMillne Linux - Server 7 05-21-2013 06:34 AM
Please help.... PHP and SOAP!! masenko703 Linux - Software 1 04-26-2009 09:28 AM
Receiving constant error "Missing Dependency: /usr/bin/php is needed" GreenDragonComputers Linux - Software 3 05-09-2007 01:40 AM
PHP5 Upgrade Error: Missing Dependency: php = 4.3.x is needed by package php-pear vsystems Linux - Server 1 05-02-2007 07:17 AM
php-common won't install ixion Linux - Software 1 02-22-2004 06:07 PM


All times are GMT -5. The time now is 03:06 AM.

Main Menu
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