我错误地删除了/usr/bin/yum。
如何在centos6上重新安装yum请帮帮我;
我遵循了网站的解释,但我得到了这个错误Failed dependencies: blah,blah或yum-2.2.1-1.centos4.noarch.rpm: Header V3 DSA/SHA1 Signature, key ID ###: NOKEY
ps。我试一下这个
wget http://mirrors.163.com/centos/6/os/x86_64/Packages/python-iniparse-0.3.1-2.1.el6.noarch.rpm和rpm -ivH yum-3.2.29-60.el6.centos.noarch.rpm
然后我得到了这个错误
Failed dependencies:
/usr/bin/python is needed by yum-3.2.29-60.el6.centos.noarch
python >= 2.4 is needed by yum-3.2.29-60.el6.centos.noarch
python(abi) = 2.6 is needed by yum-3.2.29-60.el6.centos.noarch
python-sqlite is needed by yum-3.2.29-60.el6.centos.noarch所以我复制了旧版本的yum和我得到的这个错误
-bash: /usr/bin/yum: /usr/bin/python2.6: bad interpreter: no such file or directory(我将python2.6升级到python2.7)
发布于 2015-07-01 18:58:35
在机器上是否可以使用aptitude或apt-get?
apt-get install yum或者在这里看一下:http://openvz.org/Install_yum
https://stackoverflow.com/questions/31159102
复制相似问题