更换为清华镜像站的源

pi@raspberrypi:~ $ sudo vim /etc/apt/sources.list
deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ jessie main non-free contrib
deb-src http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ jessie main non-free contrib

 

pi@raspberrypi:~ $ sudo vim /etc/apt/sources.list.d/raspi.list

deb http://mirrors.tuna.tsinghua.edu.cn/raspberrypi/ jessie main ui
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
deb-src http://mirrors.tuna.tsinghua.edu.cn/raspberrypi/ jessie main ui

 

 

发表评论

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