NANO修改:/etc/apt/sources.list
一。树莓派:
一定要注意查看已经的系统镜像是哪一个版本的:
Debian版本对应名称
Debian7 wheezy
Debian8 jessie
Debian9 stretch
Debian10 buster
1.官方的源用'#'注释
2.加上清华的源:
deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ buster main contrib non-free rpi
deb-src http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ buster main contrib non-free rpi
3.运行指令:
sudo apt-get update
sudo apt-get upgrade