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
原文地址:http://blog.51cto.com/11034229/2061263
时间: 2024-10-16 13:51:09