树莓派 64位 RPI OS(Bullseye) 更换国内源

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

 

你可能感兴趣的:(树莓派,apt)