LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-04-2014, 09:18 AM   #1
trentham
LQ Newbie
 
Registered: Aug 2004
Location: Derbyshire, England
Distribution: Ubuntu, CentOS
Posts: 16

Rep: Reputation: 0
Install php-xml fails because php-common is too recent (maybe)


I tried install php-xml on CentOS 6.5, PHP 5.4.30 and got the following

Code:
> yum install php-xml

Loaded plugins: fastestmirror, priorities, security
Loading mirror speeds from cached hostfile
 * base: centos.openitc.uk
 * epel: anorien.csc.warwick.ac.uk
 * extras: centos.hyve.com
 * updates: centos.hyve.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-xml.x86_64 0:5.3.3-27.el6_5 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-27.el6_5 for package: php-xml-5.3.3-27.el6_5.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.24)(64bit) for package: php-xml-5.3.3-27.el6_5.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.22)(64bit) for package: php-xml-5.3.3-27.el6_5.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.18)(64bit) for package: php-xml-5.3.3-27.el6_5.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.13)(64bit) for package: php-xml-5.3.3-27.el6_5.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.11)(64bit) for package: php-xml-5.3.3-27.el6_5.x86_64
--> Processing Dependency: libxslt.so.1()(64bit) for package: php-xml-5.3.3-27.el6_5.x86_64
--> Processing Dependency: libexslt.so.0()(64bit) for package: php-xml-5.3.3-27.el6_5.x86_64
--> Running transaction check
---> Package libxslt.x86_64 0:1.1.26-2.el6_3.1 will be installed
---> Package php-xml.x86_64 0:5.3.3-27.el6_5 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-27.el6_5 for package: php-xml-5.3.3-27.el6_5.x86_64
--> Finished Dependency Resolution
Error: Package: php-xml-5.3.3-27.el6_5.x86_64 (updates)
           Requires: php-common(x86-64) = 5.3.3-27.el6_5
           Installed: php-common-5.4.30-1.el6.remi.x86_64 (@remi)
               php-common(x86-64) = 5.4.30-1.el6.remi
           Available: php-common-5.3.3-26.el6.x86_64 (base)
               php-common(x86-64) = 5.3.3-26.el6
           Available: php-common-5.3.3-27.el6_5.x86_64 (updates)
               php-common(x86-64) = 5.3.3-27.el6_5
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
On the face of it it seems that it's complaining that php-common is TOO up to date. How do I resolve this issue? I've searched around but similar problems seem to focus round php-common being missing.
 
Old 08-05-2014, 09:28 AM   #2
trentham
LQ Newbie
 
Registered: Aug 2004
Location: Derbyshire, England
Distribution: Ubuntu, CentOS
Posts: 16

Original Poster
Rep: Reputation: 0
Thumbs up Solution found

I eventually found the package I needed in the 'remi' repository and installed with
Code:
yum --enablerepo remi install php-xml
Now it's all sorted.

Thanks to all who read my question and had a think about it.
 
  


Reply

Tags
centos, php5



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
Missing Dependency: php-common = 5.1.6-27.el5_7.4 is needed by package php-gd-5.1.6-2 paul1107 Linux - Server 2 01-25-2012 03:29 AM
Problem upgrade php to 5.2.x from 5.1.6 missin php-common fabio vinc Linux - Newbie 1 04-15-2011 04:48 AM
Getting Error: Missing Dependency: php-common, when trying to install php-soap amish123 Linux - Software 3 02-18-2010 07:26 PM
php-common won't install ixion Linux - Software 1 02-22-2004 06:07 PM

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

All times are GMT -5. The time now is 08:54 AM.

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