树莓派 Raspberry Pi的阿里云更新源

编辑 /etc/apt/sources.list 文件:

sudo vim /etc/apt/sources.list

进入编辑界面,注释原有的内容,添加如下内容:

deb http://mirrors.aliyun.com/raspbian/raspbian/ jessie main non-free contrib rpi deb-src http://mirrors.aliyun.com/raspbian/raspbian/ jessie main non-free contrib rpi

更新

sudo apt-get update

更新依赖关系

sudo apt-get upgrade -y