更新apt-get镜像源
备份原有配置文件
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
添加新配置文件
文件内容 清华源地址:https://mirrors.tuna.tsinghua.edu.cn/help/debian/
sudo vim /etc/apt/sources.list
# 添加一下内容
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free
# deb-src 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-src http