更换软件源
切换到root用户
su - root
修改 /etc/apt/sources.list
sudo nano /etc/apt/sources.list
原文`deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free rpi` 加#注释掉
加入如下阿里源,`deb http://mirrors.aliyun.com/raspbian/raspbian/ stretch main contrib non-free rpi`
修改/etc/apt/sources.list.d/raspi.list
sudo nano /etc/apt/sources.list.d/raspi.list
原文`deb http://archive.raspberrypi.org/debian/ stretch main ui,` 加#
加入如下科大源:`deb http://mirrors.ustc.edu.cn/archive.raspberrypi.org/debian/ stretch main ui`
更新系统和软件
sudo apt-get update
`sudo apt-get upgrade`
本博客所有文章除特别声明外,均采用 CC BY-SA 3.0协议 。转载请注明出处!