linux學習工做中遇到的問題及解決辦法

一、yum install system-config-kickstartpython

Error: Package: system-config-date-1.9.60-3.el6.centos.noarch (base)
           Requires: python(abi) = 2.6
           Installed: python-2.7.5-58.el7.x86_64 (@anaconda)
               python(abi) = 2.7
               python(abi) = 2.7
           Available: python-2.6.6-66.el6_8.x86_64 (base)
               python(abi) = 2.6
           Available: python34-3.4.5-5.el7.x86_64 (epel)
               python(abi) = 3.4

解決辦法,先刪除原有的yum倉庫centos

rm   -rf    /etc/yum.repos.d/*

,而後執行下面命令ide

wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
相關文章
相關標籤/搜索