yum python失败

-bash: /usr/bin/yum: /usr/bin/python: bad interpreter: No such file or directory

python同上

yum python失败_第1张图片

》》》》》》》》》》》》》wget lrzsz 到本地

  • python-2.7.5-34.el7.x86_64.rpm

  • python-libs-2.7.5-34.el7.x86_64.rpm

  • python-devel-2.7.5-34.el7.x86_64.rpm

  • python-iniparse-0.4-9.el7.noarch.rpm

  • python-pycurl-7.19.0-17.el7.x86_64.rpm

  • python-urlgrabber-3.10-7.el7.noarch.rpm

  • python-setuptools-0.9.8-4.el7.noarch.rpm

  • rpm-python-4.11.3-17.el7.x86_64.rpm

  • yum-utils-1.1.31-34.el7.noarch.rpm

  • yum-3.4.3-132.el7.centos.0.1.noarch.rpm

  • yum-metadata-parser-1.1.4-10.el7.x86_64.rpm

  • yum-plugin-aliases-1.1.31-34.el7.noarch.rpm

  • yum-plugin-protectbase-1.1.31-34.el7.noarch.rpm

  • yum-plugin-fastestmirror-1.1.31-34.el7.noarch.rpm

  • python-kitchen-1.1.1-5.el7.noarch.rpm

  • python-chardet-2.2.1-1.el7_1.noarch.rpm

rpm -Uvh --replacepkgs python*.rpm --nodeps --force
rpm -Uvh --replacepkgs rpm-python*.rpm yum*.rpm --nodeps --force

尽量不忽略依赖,把所有包下载,实在找不到,再忽略依赖性!

yum -y install python

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.

http://mirrors.163.com/centos/7/os/x86_64/Packages/+包

https://vault.centos.org/7.2.1511/os/x86_64/Packages/+包

你可能感兴趣的:(linux)