sudo nano /etc/apt/sources.list
注释掉其他的,添加如下内容
阿里云
deb http://mirrors.aliyun.com/debian/ buster main contrib non-free
deb http://mirrors.aliyun.com/debian-security/ buster/updates main contrib non-free
deb http://mirrors.aliyun.com/debian/ buster-updates main contrib non-free
南京大学(支持64位)
deb https://mirror.nju.edu.cn/debian/ bullseye main contrib non-free
deb https://mirror.nju.edu.cn/debian-security/ bullseye-security main contrib non-free
deb https://mirror.nju.edu.cn/debian bullseye-updates main contrib non-free
sudo nano /etc/apt/sources.list.d/raspi.list
注释掉其他的,添加如下内容
阿里云
deb http://mirrors.aliyun.com/debian/ buster main
南京大学(支持64位)
deb https://mirror.nju.edu.cn/raspberrypi/debian/ bullseye main