Raspberry Pi国内稳定镜像源以及修改方法

Raspberry Pi国内稳定镜像源

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

修改方法:

sudo nano /etc/apt/sources.list

然后显示:debhttp://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi

将红色部分替换成上述镜像源就行了

^+O保存

^+X退出(^代表Ctrl)

之后就是执行:sudo apt-get update

sudo apt-get upgrade

完成升级

你可能感兴趣的:(树莓派)