系統環境code
$ uname -an Linux raspberrypi 4.9.41-v7+ #1023 SMP Tue Aug 8 16:00:15 BST 2017 armv7l GNU/Linux
備份/etc/apt/sources.listget
cp /etc/apt/sources.list /etc/apt/sources.list.bak
修改 /etc/apt/sources.list 文件內容date
#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 rpi deb http://mirrors.aliyun.com/raspbian/raspbian stretch main contrib non-free rpi deb-src http://mirrors.aliyun.com/raspbian/raspbian/ stretch main contrib non-free rpi
更新源di
sudo apt-get update