How to install php-xmlrpc on CentOS 5.5

General support questions including new installations
Post Reply
DANNDP
Posts: 22
Joined: 2009/11/26 21:24:53
Contact:

How to install php-xmlrpc on CentOS 5.5

Post by DANNDP » 2011/02/04 13:12:42

Hello my friends,

I'm trying to install php-xmlrpc on CentOS 5.5 and is not working, i downloaded the rpm, and tried to install:

[code]# rpm -ivh php-xmlrpc-5.1.6-27.el5.i386.rpm
error: Failed dependencies:
php-common = 5.1.6-27.el5 is needed by php-xmlrpc-5.1.6-27.el5.i386[/code]

Then i check for php-common:

[code]# yum install php-common.i386
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* addons: centos.mirror.xtratelecom.es
* base: centos.mirror.xtratelecom.es
* extras: centos.mirror.xtratelecom.es
* updates: ftp.free.fr
Setting up Install Process
Package matching php-common-5.1.6-27.el5_5.3.i386 already installed. Checking for update.
Nothing to do[/code]

Why is this happening? why it says that i need php-common when it's already installed.

User avatar
TrevorH
Forum Moderator
Posts: 29072
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

How to install php-xmlrpc on CentOS 5.5

Post by TrevorH » 2011/02/04 13:52:36

Because 5.1.6-27.el5_5.3 != 5.1.6-27.el5

Use yum install php-xmlrpc instead and it will pick up the latest version.

DANNDP
Posts: 22
Joined: 2009/11/26 21:24:53
Contact:

Re: How to install php-xmlrpc on CentOS 5.5

Post by DANNDP » 2011/02/04 14:00:53

[code]# yum install php-xmlrpc
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* addons: centos.mirror.xtratelecom.es
* base: centos.mirror.xtratelecom.es
* extras: centos.mirror.xtratelecom.es
* updates: ftp.free.fr
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-xmlrpc.i386 0:5.1.6-27.el5_5.3 set to be updated
--> Processing Dependency: php-common = 5.1.6-27.el5_5.3 for package: php-xmlrpc
--> Finished Dependency Resolution
php-xmlrpc-5.1.6-27.el5_5.3.i386 from updates has depsolving problems
--> Missing Dependency: php-common = 5.1.6-27.el5_5.3 is needed by package php-xmlrpc-5.1.6-27.el5_5.3.i386 (updates)
Error: Missing Dependency: php-common = 5.1.6-27.el5_5.3 is needed by package php-xmlrpc-5.1.6-27.el5_5.3.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 program package-cleanup is found in the yum-utils package.
[/code]

User avatar
TrevorH
Forum Moderator
Posts: 29072
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: How to install php-xmlrpc on CentOS 5.5

Post by TrevorH » 2011/02/04 15:56:49

Try running `yum clean all` then have another go.

Diederik
Posts: 2
Joined: 2011/07/13 15:39:20

Re: How to install php-xmlrpc on CentOS 5.5

Post by Diederik » 2011/07/13 16:12:41

Dear forum members,

I'm encountering the exact same problem as is described in the first question in this thread; I'm trying to install php-xmlrpc using yum update, and I get this error:

Error: Missing Dependency: php-common = 5.1.6-27.el5_5.3 is needed by package php-xmlrpc-5.1.6-27.el5_5.3.i386 (base). However, package matching php-common-5.1.6-27.el5_5.3.i386 is already installed.
I know that php-common-5.1.6-27.el5_5.3 != php-common-5.1.6-27.el5_5.3.i386, but I used the yum update command, so that yum would select the best package.
Furthermore, I tried running `yum clean all', but that had no effect.

I've read the forum rules (especially this one: https://www.centos.org/modules/newbb/viewtopic.php?topic_id=25128&forum=47 ), but I don't know precisely what information to provide since the base run produces 17 files. I guess this output might be useful:

[code]
== BEGIN rpm -qa \*-release\* ==
centos-release-notes-5.6-0
centos-release-5-6.el5.centos.1
webtatic-release-5-2
== END rpm -qa \*-release\* ==

== BEGIN cat /etc/redhat-release ==
CentOS release 5.6 (Final)
== END cat /etc/redhat-release ==

== BEGIN getenforce ==
Disabled
== END getenforce ==

== BEGIN free -m ==
total used free shared buffers cached
Mem: 512 189 322 0 0 0
-/+ buffers/cache: 189 322
Swap: 0 0 0
== END free -m ==

== BEGIN rpm -q yum rpm python ==
yum-3.2.22-33.el5.centos
rpm-4.4.2.3-22.el5
python-2.4.3-44.el5
== END rpm -q yum rpm python ==

== BEGIN ls /etc/yum.repos.d ==
CentOS-Base.repo
CentOS-Debuginfo.repo
CentOS-Media.repo
CentOS-Vault.repo
webtatic.repo
== END ls /etc/yum.repos.d ==

== BEGIN cat /etc/yum.conf ==
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=16&ref=http://bugs.centos.org/bug_report_page.php?category=yum

# Note: yum-RHN-plugin doesn't honor this.
metadata_expire=1h

installonly_limit = 5

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
== END cat /etc/yum.conf ==

== BEGIN yum repolist all ==
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: centos.mirror.transip.nl
* extras: centos.mirror.transip.nl
* updates: centos.mirror.transip.nl
repo id repo name status
C5.0-base CentOS-5.0 - Base disabled
C5.0-centosplus CentOS-5.0 - Plus disabled
C5.0-extras CentOS-5.0 - Extras disabled
C5.0-updates CentOS-5.0 - Updates disabled
C5.1-base CentOS-5.1 - Base disabled
C5.1-centosplus CentOS-5.1 - Plus disabled
C5.1-extras CentOS-5.1 - Extras disabled
C5.1-updates CentOS-5.1 - Updates disabled
C5.2-base CentOS-5.2 - Base disabled
C5.2-centosplus CentOS-5.2 - Plus disabled
C5.2-extras CentOS-5.2 - Extras disabled
C5.2-updates CentOS-5.2 - Updates disabled
C5.3-base CentOS-5.3 - Base disabled
C5.3-centosplus CentOS-5.3 - Plus disabled
C5.3-extras CentOS-5.3 - Extras disabled
C5.3-updates CentOS-5.3 - Updates disabled
C5.4-base CentOS-5.4 - Base disabled
C5.4-centosplus CentOS-5.4 - Plus disabled
C5.4-extras CentOS-5.4 - Extras disabled
C5.4-updates CentOS-5.4 - Updates disabled
C5.5-base CentOS-5.5 - Base disabled
C5.5-centosplus CentOS-5.5 - Plus disabled
C5.5-extras CentOS-5.5 - Extras disabled
C5.5-updates CentOS-5.5 - Updates disabled
base CentOS-5 - Base enabled: 2,683
c5-media CentOS-5 - Media disabled
centosplus CentOS-5 - Plus disabled
contrib CentOS-5 - Contrib disabled
debug CentOS-5 - Debuginfo disabled
extras CentOS-5 - Extras enabled: 327
updates CentOS-5 - Updates enabled: 586
webtatic Webtatic Repository 5 - i386 disabled
webtatic-debuginfo Webtatic Repository 5 - i386 - Debug disabled
webtatic-source Webtatic Repository 5 - i386 disabled
repolist: 3,596
== END yum repolist all ==

== BEGIN egrep 'include|exclude' /etc/yum.repos.d/*.repo ==
== END egrep 'include|exclude' /etc/yum.repos.d/*.repo ==

== BEGIN sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==
== END sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==

== BEGIN cat /etc/fstab ==
none /dev/pts devpts rw 0 0
== END cat /etc/fstab ==

== BEGIN df -h ==
Filesystem Size Used Avail Use% Mounted on
/dev/vzfs 5.0G 735M 4.3G 15% /
none 256M 4.0K 256M 1% /dev
tmpfs 256M 0 256M 0% /usr/local/psa/handlers/before-local
tmpfs 256M 0 256M 0% /usr/local/psa/handlers/before-queue
tmpfs 256M 0 256M 0% /usr/local/psa/handlers/before-remote
tmpfs 256M 0 256M 0% /usr/local/psa/handlers/info
tmpfs 256M 0 256M 0% /usr/local/psa/handlers/spool
== END df -h ==

== BEGIN fdisk -l ==
cannot open /proc/partitions
== END fdisk -l ==

== BEGIN blkid ==
== END blkid ==

== BEGIN cat /proc/mdstat ==
cat: /proc/mdstat: No such file or directory
== END cat /proc/mdstat ==

== BEGIN lvdisplay ==
No volume groups found
== END lvdisplay ==

== BEGIN rpm -qa kernel\* | sort ==
== END rpm -qa kernel\* | sort ==

== BEGIN lspci ==
./getinfo.sh: line 86: lspci: command not found
== END lspci ==

== BEGIN lspci -n ==
./getinfo.sh: line 86: lspci: command not found
== END lspci -n ==

== BEGIN lsusb ==
./getinfo.sh: line 86: lsusb: command not found
== END lsusb ==

== BEGIN ifconfig -a ==
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:414 (414.0 b) TX bytes:414 (414.0 b)

venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:127.0.0.1 P-t-P:127.0.0.1 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:2441 errors:0 dropped:0 overruns:0 frame:0
TX packets:3631 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1934816 (1.8 MiB) TX bytes:551802 (538.8 KiB)

venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:91.184.23.230 P-t-P:91.184.23.230 Bcast:91.184.23.230 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1

venet0:1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:91.184.23.231 P-t-P:91.184.23.231 Bcast:91.184.23.231 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1

== END ifconfig -a ==

== BEGIN route -n ==
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 venet0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 venet0
== END route -n ==

== BEGIN cat /etc/resolv.conf ==
nameserver 91.184.1.11
nameserver 91.184.8.21
== END cat /etc/resolv.conf ==

== BEGIN grep net /etc/nsswitch.conf ==
#networks: nisplus [NOTFOUND=return] files
#netmasks: nisplus [NOTFOUND=return] files
netmasks: files
networks: files
netgroup: nisplus
== END grep net /etc/nsswitch.conf ==

== BEGIN chkconfig --list | grep -Ei 'network|wpa' ==
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
== END chkconfig --list | grep -Ei 'network|wpa' ==

[/code]
Thanks a lot in advance for your assistance!

[Moderator edited to re-iinsert the missing opening [i]code[/i] tag.]

Diederik
Posts: 2
Joined: 2011/07/13 15:39:20

Re: How to install php-xmlrpc on CentOS 5.5

Post by Diederik » 2011/07/14 12:57:31

I already found the answer:

since I upgraded to php 5.3 with the webtatic repo, this repo needed to be enabled (and I disabled the base, extras, and updates repos), yum installed php-xmlrpc without problems.

Thanks anyway!

Post Reply

Return to “CentOS 5 - General Support”