樹莓派研究筆記(4)-- 鏡像服務器鏈接不上

坑太多了,竟然鏡像服務器老是連不上,有時候能夠,有時候不行,老是超時。服務器

只能手動修改鏡像地址了。阿里雲

修改這個文件 /etc/apt/sources.list
修改爲下面的內容。spa

deb http://mirrors.ocf.berkeley.edu/raspbian/raspbian/ jessie main contrib non-free rpi
#deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive.raspbian.org/raspbian/ jessie main contrib non-free rpi

有找到不少其餘的鏡像地址,也能夠試一試。竟然還有阿里雲的。code

#deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpiip

#deb-src http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi
 
#deb http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi
#deb-src http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi
 
#deb http://mirrors.ustc.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi
#deb-src http://mirrors.ustc.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi
 
#deb http://mirror.devunt.kr/raspbian/raspbian/ wheezy main contrib non-free rpi
#deb ftp://ftp.kaist.ac.kr/raspbian/ wheezy main contrib non-free rpi
#deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi
#deb http://mirror.nus.edu.sg/raspbian/raspbian/ wheezy main contrib non-free rpi
#deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
 
deb http://mirrors.aliyun.com/raspbian/raspbian/ wheezy main non-free contrib
deb-src http://mirrors.aliyun.com/raspbian/raspbian/ wheezy main non-free contrib


而後再更新get

$ sudo apt-get update
相關文章
相關標籤/搜索