linux學習工作中遇到的問題及解決辦法
阿新 • • 發佈:2018-01-16
ins anaconda error: get require yun 4.5 all system 1、yum install system-config-kickstart
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倉庫
rm -rf /etc/yum.repos.d/*
,然後執行下面命令
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
linux學習工作中遇到的問題及解決辦法