While performing Yum update on one of our CentOS 5.2 cpanel based server we found some problems with python conflicting with python devel packages.
Following is the detailed error.
python-devel-2.4.3-24.el5_3.6.i386 from updates has depsolving problems
–> python-devel conflicts with python
Error: python-devel conflicts with python
Seems like an old version of python was installed and while upgrade it reports conflict. But don’t worry we got the fix– Thanks to the CentOS community who helped us to fix this error.
Solution.
Code:
yum clean all
yum install yum-utils
yum-complete-transaction
yum update
If the above method didn’t worked out for you. I will suggest to perfrom the following methods this should definately fix the issue.
To see what versions you have installed, run:
Code:
yum list installed python python-devel
The easy way is to erase the old python packages on the server with the following command.
Code:
yum erase python-2.4.3-21.el5 python-devel-2.4.3-21.el5
I hope this helps someone facing similar issues.