一、备份原有配置:
cp /etc/apt/sources.list /etc/apt/sources.list.bak
二、配置
# 阿里镜像源 deb https://mirrors.aliyun.com/debian bullseye main non-free contrib deb https://mirrors.aliyun.com/debian bullseye-updates main non-free contrib deb https://mirrors.aliyun.com/debian bullseye-proposed-updates main non-free contrib deb https://mirrors.aliyun.com/debian bullseye-backports main non-free contrib deb https://mirrors.aliyun.com/debian bullseye-backports-sloppy main non-free contrib deb-src https://mirrors.aliyun.com/debian bullseye main non-free contrib deb-src https://mirrors.aliyun.com/debian bullseye-updates main non-free contrib deb-src https://mirrors.aliyun.com/debian bullseye-proposed-updates main non-free contrib deb-src https://mirrors.aliyun.com/debian bullseye-backports main non-free contrib deb-src https://mirrors.aliyun.com/debian bullseye-backports-sloppy main non-free contrib # 阿里安全更新镜像源 deb https://mirrors.aliyun.com/debian-security bullseye-security main non-free contrib deb-src https://mirrors.aliyun.com/debian-security bullseye-security main non-free contribhttps://blog.csdn.net/mumoing/article/details/130169777
参考:
https://blog.csdn.net/mumoing/article/details/130169777
标签:non,aliyun,mirrors,配置,free,https,软件,main,Debian From: https://www.cnblogs.com/shanhubei/p/17517101.html