系统环境
$ uname -anLinux raspberrypi 4.9.41-v7+ #1023 SMP Tue Aug 8 16:00:15 BST 2017 armv7l GNU/Linux
备份/etc/apt/sources.list
cp /etc/apt/sources.list /etc/apt/sources.list.bak
修改 /etc/apt/sources.list 文件内容
#deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free rpi# Uncomment line below then 'apt-get update' to enable 'apt-get source'#deb-src http://archive.raspbian.org/raspbian/ stretch main contrib non-free rpideb http://mirrors.aliyun.com/raspbian/raspbian stretch main contrib non-free rpideb-src http://mirrors.aliyun.com/raspbian/raspbian/ stretch main contrib non-free rpi
更新源
sudo apt-get update