debian · 2023年7月7日

debian源更改以及源

sudo apt update
sudo apt install vim
sudo vim /etc/apt/sources.list
# 中科大镜像源
deb http://mirrors.ustc.edu.cn/debian bullseye main non-free contrib
deb http://mirrors.ustc.edu.cn/debian bullseye-updates main non-free contrib
deb http://mirrors.ustc.edu.cn/debian bullseye-proposed-updates main non-free contrib
deb http://mirrors.ustc.edu.cn/debian bullseye-backports main non-free contrib
deb http://mirrors.ustc.edu.cn/debian bullseye-backports-sloppy main non-free contrib
deb-src http://mirrors.ustc.edu.cn/debian bullseye main non-free contrib
deb-src http://mirrors.ustc.edu.cn/debian bullseye-updates main non-free contrib
deb-src http://mirrors.ustc.edu.cn/debian bullseye-proposed-updates main non-free contrib
deb-src http://mirrors.ustc.edu.cn/debian bullseye-backports main non-free contrib
deb-src http://mirrors.ustc.edu.cn/debian bullseye-backports-sloppy main non-free contrib

# 中科大安全更新镜像源
deb http://mirrors.ustc.edu.cn/debian-security bullseye-security main non-free contrib
deb-src http://mirrors.ustc.edu.cn/debian-security bullseye-security main non-free contrib