0
首页技术教程debian12+换中科大国内源

debian12+换中科大国内源

xiaojia
管理员

55

主题

0

回帖

234

积分

管理员

积分
234
技术教程 6 0 昨天 07:34


debian12+换中科大国内源
sed -i '1,$d' /etc/apt/sources.list && tee -a /etc/apt/sources.list > /dev/null <<EOL
deb https://mirrors.ustc.edu.cn/debian/ bookworm main non-free non-free-firmware contrib
deb-src https://mirrors.ustc.edu.cn/debian/ bookworm main non-free non-free-firmware contrib
deb https://mirrors.ustc.edu.cn/debian-security/ bookworm-security main
deb-src https://mirrors.ustc.edu.cn/debian-security/ bookworm-security main
deb https://mirrors.ustc.edu.cn/debian/ bookworm-updates main non-free non-free-firmware contrib
deb-src https://mirrors.ustc.edu.cn/debian/ bookworm-updates main non-free non-free-firmware contrib
deb https://mirrors.ustc.edu.cn/debian/ bookworm-backports main non-free non-free-firmware contrib
deb-src https://mirrors.ustc.edu.cn/debian/ bookworm-backports main non-free non-free-firmware contrib
EOL
aot-get update -y

您需要登录后才可以回帖 立即登录
高级模式
返回