Centos7配置局域网yum源报错——Error downloading packages: failed to retrieve packages...

按照源友的教程http://www.cnblogs.com/nidey/p/6200685.html搭建本地yum源,搭建完以后报错:

解决方法:

createrepo -pdo /yum/yum-custom/ /yum/yum-custom/

参考:http://www.bubuko.com/infodetail-1661819.html

我要把所有的坑都趟平!
原文地址:https://www.cnblogs.com/loveling-0239/p/8296797.html