所有示例均在gihub(ssh_base)中====>https://github.com/chengyangyang

Redhat7 yum 无法使用

 

  卸载之前的

  rpm -qa | grep yum | xargs rpm -e --nodeps
  rpm -qa |grep python-urlgrabber|xargs rpm -e --nodeps

 

  下载安装包   (因为版本更新,所以有些版本需要自行下载)

     http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-3.4.3-154.el7.centos.noarch.rpm

     http://mirrors.163.com/centos/7/os/x86_64/Packages/python-iniparse-0.4-9.el7.noarch.rpm
     http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-metadata-parser-1.1.4-10.el7.x86_64.rpm
    http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-plugin-fastestmirror-1.1.31-42.el7.noarch.rpm

  安装:

rpm -ivh python-*
rpm -ivh yum-*

 

posted @ 2019-10-11 12:29  ☞书香门第☜  阅读(281)  评论(0编辑  收藏  举报
http://count.knowsky.com/count1/count.asp?id=434520&sx=1&ys=64"