本文共 711 字,大约阅读时间需要 2 分钟。
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.repowget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
转载于:https://blog.51cto.com/11034229/2061263