参考了好多文章,即不是网络问题,也不是修改.repo文件
而是centos-release-7-2.1511.el7.centos.2.10.src.rpm丢了又装的
参考博文
CentOS/RHEL系统下yum配置中$releasever的来源
http://blog.csdn.net/xiaolong85/article/details/5657884
linux下Yum的$releasever和$basearch的取值
http://blog.csdn.net/whatday/article/details/51097456
CentOS下tar包和rpm包的安装
http://blog.csdn.net/gongxifacai_believe/article/details/53106030
解决近期linux下yum更新出现HTTP Error 404 NOT FOUND错误的办法
http://tech.lezi.com/archives/47
http://blog.csdn.net/fungleo/article/details/50914519

下边是走的弯路
CentOS 7.0本地yum源地址及 配置yum地址优先级
http://www.linuxidc.com/Linux/2014-12/110679.htm
CentOS7下配置网络yum源(附带下载地址)
https://www.cnblogs.com/zishengY/p/6900690.html
yum执行原理
http://blog.csdn.net/michaelwubo/article/details/47980649

http://www.firefoxbug.com/index.php/archives/2777/