Find the answer to your Linux question:
Results 1 to 2 of 2
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 ...
  1. #1
    Just Joined!
    Join Date
    Feb 2010
    Posts
    1

    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.


    Any help is appreciated. Thanks a lot.

  2. #2
    Just Joined!
    Join Date
    May 2011
    Posts
    1

    Workaround

    I had a similar problem.

    First off, I am new to linux.
    Use this method at your own risk.

    That being said, here is what i did to fix it:

    Logged in as root.
    Downloaded the php53-soap-5.3.3-1.el5_6.1.x86_64.rpm package from:
    mirror.centos.org/centos/5.6/updates/x86_64/RPMS/
    Moved package to / in filesystem
    Installed via:
    rpm -Uvh --nodeps php53-soap-5.3.3-1.el5_6.1.x86_64.rpm

    That is it.
    I restarted Apache and everything seems to be working now.

    Hope this helps someone.
    Regards,
    Dieter

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...