Reinstalling python on CentOS to be able to use yum -
i messed big time , removed python package on centos server. after realized yum dependant on python , no longer use yum. think need reinstall python fix problem. how can without using yum? tried:
sudo wget http://mirror.centos.org/centos/6/os/x86_64/packages/python-2.6.6-51.el6.x86_64.rpm
then
sudo rpm -ivh python-2.6.6-51.el6.x86_64.rpm
but i'm getting error:
error: failed dependencies: python-libs(x86-64) = 2.6.6-51.el6 needed python-2.6.6-51.el6.x86_64 python < 2.6.6-52.el6 conflicts python-devel-2.6.6-52.el6.x86_64
please suggestion?
i think might need download python-2.6.6-52.el6.x86_64.rpm instead.
Comments
Post a Comment