折腾了半天,怀疑自己能力 的时候,发现原来不是我的错。树莓派换源国内的aliyun,163都不能用,最好找到这个

# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
# [base]
name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
baseurl=http://mirrors.ustc.edu.cn/centos-altarch/$releasever/os/$basearch/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-AltArch-Arm32 #released updates
[updates]
name=CentOS-$releasever - Updates
# mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
baseurl=http://mirrors.ustc.edu.cn/centos-altarch/$releasever/updates/$basearch/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-AltArch-Arm32 #additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
# mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
baseurl=http://mirrors.ustc.edu.cn/centos-altarch/$releasever/extras/$basearch/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-AltArch-Arm32 #additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
# mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
baseurl=http://mirrors.ustc.edu.cn/centos-altarch/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-AltArch-Arm32

最新文章

  1. ADO.NET存取数据库数据
  2. Objective-C( Foundation框架 一 NSFileManager)
  3. mysql多个时间戳字段默认值问题
  4. 协处理器,王明学learn
  5. HTTP请求之:PHP函数header常用功能
  6. 你们以为运营商只是HTTP插点广告而已么?
  7. 浅谈自我对git的初步认识
  8. Word排版成树形结构技巧
  9. 解决Intellij IDEA 通过archetype创建Maven项目缓慢的问题
  10. hdu 4190
  11. RMAN备份FORMAT格式中%的含义
  12. mac 安装maven 和改动java环境变量
  13. Hive 学习笔记(启动方式,内置服务)
  14. 使用Pycharm创建一个Django项目
  15. \usepackage{ulem}带下划线的问题解决
  16. 37.Spring-事务控制.md
  17. python中字典内置方法
  18. 函数----基础,参数传递,返回类型和return语句
  19. folly无锁队列,尝试添加新的函数(续)
  20. httpclient妙用一 httpclient作为客户端调用soap webservice(转)

热门文章

  1. 阶段1 语言基础+高级_1-3-Java语言高级_1-常用API_1_第6节 static静态_11_静态static关键字概述
  2. 博客图片上传picgo工具安装配置github图传使用
  3. 测开之路九十七:js的引用方式
  4. 操作excel--xlwt/xlrd/xlutils模块
  5. 安全运维 - Windows系统维护
  6. [19/05/26-星期日] JavaScript_ 基本语法_运算符
  7. struts框架中常用到的标签
  8. Java数据结构介绍(线性结构和非线性结构)
  9. Javascript之谈对象
  10. 循环结构 :while