系统版本不一样,源的内容也不一样!
可参考:(1条消息) 树莓派换源教程_萌新源的博客-CSDN博客
1、备份源!
2、还源
sudo nano /etc/apt/sources.list
我的是64位操作系统!!
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free
sudo nano /etc/apt/sources.list.d/raspi.list
deb http://mirrors.tuna.tsinghua.edu.cn/raspberrypi/ bullseye main
3、更新源和依赖
sudo apt update
sudo apt upgrade