1.No such file or directory
Error downloading packages:
deltarpm-3.6-3.el7.x86_64: [Errno 5] [Errno 2] No such file or directory
2.更新CentOS-Base.repo源不奏效
step1.首先进入 /etc/yum.repos.d 目录,备份CentOS-Base.repo源,
cp CentOS-Base.repo CentOS-Base.repo.bak
step2、修改 CentOS-Base.repo 文件
vim CentOS-Base.repo
将http://mirrors.cloud.aliyuncs.com 批量替换为 http://mirrors.aliyun.com
step3、备份epel.repo源,修改epel.repo文件
cp epel.repo epel.repo.bak
vim epel.repo
http://mirrors.cloud.aliyuncs.com 批量替换为 http://mirrors.aliyun.com
step4、清理yum缓存和重新生成缓存,
yum clean all
yum makecache
3.建立python软连接奏效
后来按如下方式可以:
ln -s python2.7 python
安装都成功
yum -y install deltarpm
yum -y install wget