报错1 解决办法: rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 报错2 解决办法: 打开这个文件:/usr/lib/python2.7/site-packages/urlgrabber/grabber.py 找到 elif errcode in (42, 55, 56): 用 elif errcode == 42:替换