← Back to team overview

ius-community team mailing list archive

Re: messed up yum after installing php52-common

 

Dan,

I apologize for not being able to test/reproduce this today. I'll get a vm setup and try to duplicate the issues you're seeing but won't be able to until maybe tomorrow.

That said, can I take a step back and ask what the security issue is that you're attempting to resolve with PHP 5.2.11? Per our FAQ:

http://iuscommunity.org/faq/#Is%20IUS%20Right%20For%20Me?

[quote]
Is IUS Right For Me?

Ask yourself these questions:

... snip ...

Am I upgrading software because I failed a PCI Security Scan?

Before jumping the gun and upgrading your packages because some 'Security Professional' or software told you too, don't. Atleast not without further consideration. Red Hat uses a packaging model called 'back porting' where the security fixes are back-ported to older versions of software. Therefore, the PCI scan may fail but in fact the software is patched for the known vulnerability.

Always check the errata for the package in question, ensure you are updated to the latest, and verify if or if not that security vulnerability has been patched. You can read more about how Red Hat back-ports security fixes here:
http://www.redhat.com/security/updates/backporting/?sc_cid=3093

[/quote]


Just wanted to make sure you were aware of backporting of stock RHEL/ CentOS packages. That said, CentOS is delayed behind RHEL (usually within a month) and therefore will not receive backported fixes as promptly.

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

On Oct 9, 2009, at 7:41 PM, Dan Carl wrote:


----- Original Message -----
From: "BJ Dierkes" <wdierkes@xxxxxxxxxxxxx>
To: "Dan Carl" <danc@xxxxxxxxxxxxxxxxx>
Cc: <ius-community@xxxxxxxxxxxxxxxxxxx>
Sent: Friday, October 09, 2009 6:50 PM
Subject: Re: messed up yum after installing php52-common


Dan:

Can you give me the output of the following commands:

cat /etc/redhat-release

CentOS release 5.3 (Final)

rpm -q yum-priorities

yum-priorities-1.1.16-13.el5.centos


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

I'll take a look
What are your priority settings for IUS and the other repos?

[ius]
name=IUS Community Packages for Enterprise Linux 5 - $basearch
#baseurl=http://dl.iuscommunity.org/repos/stable/Redhat/5/$basearch
mirrorlist=http://dl.iuscommunity.org/mirrorlist?repo=ius-el5&arch= $basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/IUS-COMMUNITY-GPG-KEY
priority=30


Thanks for the help
Dan

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








Follow ups

References