← Back to team overview

ius-community team mailing list archive

Re: messed up yum after installing php52-common

 

Dan:

Can you give me the output of the following commands:

	cat /etc/redhat-release

	rpm -q yum-priorities



For some reason, I'm leaning towards thinking this is an issue with the Yum priorities plugin. Similar issues found here:

	http://bugs.centos.org/view.php?id=2428


What are your priority settings for IUS and the other repos?

---
BJ Dierkes
Linux Systems Engineer IV / [RH]acker
Infrastructure Services [OS & Applications]
Rackspace Hosting


On Oct 9, 2009, at 6:29 PM, Dan Carl wrote:

BJ Dierkes wrote:
Not sure which example/site you are following, however the exact steps
are here:

http://wiki.iuscommunity.org/IUSDocumentation_ClientUsageGuide#Upgrading_Stock_PHP_5.1_to_IUS_PHP_5.2_on_RHEL.2BAC8-CentOS_5



Did you install the ius-release RPM which sets up Yum properly?  Can
you give me the exact commands and output you are getting from yum?

---
<snip>
Okay I was finally able to remove php52.
Now I have one PHP on my server.
[root@playground ~]# rpm -qa | grep php*
gphoto2-2.2.0-3.el5
libtheora-1.0alpha7-1
cdparanoia-libs-alpha9.8-27.2
xorg-x11-drv-elographics-1.1.0-1.1

If I follow the install process in the wiki I get this error:
install php52-mbstring php52-odbc php52-imap php52-pdo php52-common
php52-gd php52-ldap php52-cli php52-mysql php52 php52-xml

Loading mirror speeds from cached hostfile
* epel: ftp.osuosl.org
* base: mirrors.tummy.com
* updates: mirrors.serveraxis.net
* ius: dl.iuscommunity.org
* addons: centos.mirrors.tds.net
* extras: mirror.sanctuaryhost.com
93 packages excluded due to repository priority protections
Setting up Install Process
Parsing package install arguments
No package php52-common available.

If issue:
# yum install php52
[root@playground ~]# yum install php52
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* epel: ftp.osuosl.org
* base: mirrors.tummy.com
* updates: mirrors.serveraxis.net
* ius: dl.iuscommunity.org
* addons: centos.mirrors.tds.net
* extras: mirror.sanctuaryhost.com
93 packages excluded due to repository priority protections
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package php52.i386 0:5.2.11-1.1.ius.el5 set to be updated
--> Processing Dependency: php52-cli = 5.2.11-1.1.ius.el5 for package: php52
--> Processing Dependency: php52-common = 5.2.11-1.1.ius.el5 for
package: php52
--> Running transaction check
---> Package php52-cli.i386 0:5.2.11-1.1.ius.el5 set to be updated
--> Processing Dependency: php52-common = 5.2.11-1.1.ius.el5 for
package: php52-cli
---> Package php52.i386 0:5.2.11-1.1.ius.el5 set to be updated
--> Processing Dependency: php52-common = 5.2.11-1.1.ius.el5 for
package: php52
--> Finished Dependency Resolution
php52-5.2.11-1.1.ius.el5.i386 from ius has depsolving problems
--> Missing Dependency: php52-common = 5.2.11-1.1.ius.el5 is needed by
package php52-5.2.11-1.1.ius.el5.i386 (ius)
php52-cli-5.2.11-1.1.ius.el5.i386 from ius has depsolving problems
--> Missing Dependency: php52-common = 5.2.11-1.1.ius.el5 is needed by
package php52-cli-5.2.11-1.1.ius.el5.i386 (ius)
Error: Missing Dependency: php52-common = 5.2.11-1.1.ius.el5 is needed
by package php52-cli-5.2.11-1.1.ius.el5.i386 (ius)
Error: Missing Dependency: php52-common = 5.2.11-1.1.ius.el5 is needed
by package php52-5.2.11-1.1.ius.el5.i386 (ius)

I'm sorry I'm no expert with yum normally I just make do with what
Centos Base offers but I need 5.2.11 for compliance reasons.
Any ideas?
Thanks
Dan