版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/sxhexin/article/details/86253067
sudo su
rm /etc/apt/sources.list
rm /etc/apt/sources.list/raspi.list
nano /etc/apt/sources.list/raspi.list
add deb https://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ stretch main contrib non-free rpi
apt-get update -y
apt-get upgrade -y
done