Raspberry Pi 更换国内源

关于树莓派的教程写得有点少,所以最近会更新N篇。

不知道是不是我的网络问题,无法使用某些源,比如中山大学。

尝试了N次,最后选择阿里的源,速度也不错,但是更新某些软件的时候居然提示没有…….这下让我如何是好?

先上我正在使用的源

#deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi
#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

被注释掉的就是之前使用过……..

复制最后两行到 /etc/apt/sources.list 后,执行apt-get update

突然想到为什么有些博客有很深奥的文章,却没有简单一点的,有很好的教程,却省略很多步骤。

2 Replies to “Raspberry Pi 更换国内源”

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注