views:

20

answers:

2

I followed this tutorial: http://blog.boxedice.com/2010/01/19/updating-python-on-rhelcentos/ because I wanted to install python2.6 on a CentOS 5.5 machine without breaking yum.

And i was successfully able install python2.6. My question is that after completing the above commands the next time I try installing packages will it automatically use the one from ius if the packages is conflicting? And if yes will it break something else?

I'm just worried that the next time someone runs yum it'll download a conflicting package from ius and break.

+1  A: 

It looks like you just installed a .rpm package from some third party. Everything should be fine. Be careful about installing python modules from RHEL repos with the new python runtime (ie watch out for bugs and breakage from third party modules that expected to run on python 2.5).

Since the ius python package is a higher version than the one from RHEL's repos, it will not be downgraded automatically by updates etc.

+1  A: 

Hello,

I am the primary maintainer of the IUS Community Project. This question would be better asked via the 'answers' section of our project page on http://launchpad.net/ius.

Regardless, I am more than happy to clarify for you. IUS provides packages that strictly conflict with packages in RHEL... meaning if the original package is installed, and you attempt to install a replacement from IUS then Yum will bail with a conflict error. However, IUS also strictly does not obsolete anything in RHEL... meaning, nothing should automatically install from IUS unless you explicitly remove the original package, and replace it with something from IUS.

Be careful about installing python modules from RHEL repos with the new python runtime

This is actually not something to be concerned with for the python26 package as it is a parallel install (side-by-side) package and does not replace the system python or libraries (it is/was the only package in IUS that did not replace the system version).

On another note, python26 was EOL'd from IUS and moved to EPEL therefore the python26 package you installed is likely from EPEL. IUS relies on, and contributes to EPEL as well.

If you are concerned with Yum breakage due to subscription to third party repos, you may wish to read the Safe Repo Initiative which was written by and adhered to by the IUS Community Project

derks
Thanks for this clarification. It seems that there's nothing I should be worried as far as python is concerned. :)
Marconi