Debian13更换国内软件源

AL Debian Linux评论28阅读模式

Debian13更换国内软件源

Debian13代号为Trixie

写在前面

      时间过得挺快,debian13发布已经过去好几个月了,前几天因windows11系统安装在机械硬盘上,机械硬盘炒豆子的声音不绝入耳,看了相关进程,原来是Windows Defender一直在读写个不停,裸装系统就这点不好,唯一的“守门员”不能裁了,机械硬盘在windows系统上的性能确实拉胯,感觉是上个时代的东西拿到现代来用,没办法固态硬盘资源有限,近几个月固态硬盘涨价太猛,机械硬盘将就用着。7*24在线Windows系统还是搁置下,换成Debian系统。正常安装Debian13系统,习惯不带桌面的,开启SSH。Debian13系统镜像站各个大学镜像站跟进比大厂感觉要快一些。

一、编辑文件

1.终端SSH连接Debian主机。
2.使用文本编辑器nano或vim等编/etc/apt/sources.list文件。
sudo nano /etc/apt/sources.list
3.将文件中的所有内容替换(或注释)为下面任意一个镜像站提供的源地址保存并关闭文件。(根据自己区域情况选镜像源,哪个稳定快速选哪个!

阿里云镜像站

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.aliyun.com/debian/ trixie main contrib non-free non-free-firmware
#deb-src https://mirrors.aliyun.com/debian/ trixie main contrib non-free non-free-firmware

deb https://mirrors.aliyun.com/debian-security/ trixie-security main contrib non-free non-free-firmware
#deb-src https://mirrors.aliyun.com/debian-security/ trixie-security main contrib non-free non-free-firmware

# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换
#deb https://mirrors.aliyun.com/debian/ trixie-updates main contrib non-free non-free-firmware
# # deb-src https://mirrors.aliyun.com/debian/ trixie-updates main contrib non-free non-free-firmware

deb https://mirrors.aliyun.com/debian/ trixie-backports main contrib non-free non-free-firmware
#deb-src https://mirrors.aliyun.com/debian/ trixie-backports main contrib non-free non-free-firmware

清华大学镜像站

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ trixie main contrib non-free non-free-firmware
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ trixie main contrib non-free non-free-firmware

deb https://mirrors.tuna.tsinghua.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware

deb https://mirrors.tuna.tsinghua.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware

# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换
# deb https://mirrors.tuna.tsinghua.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware
# # deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware

deb https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
# deb-src https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware

北京外国语大学开源镜像站

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.bfsu.edu.cn/debian/ trixie main contrib non-free non-free-firmware
# deb-src https://mirrors.bfsu.edu.cn/debian/ trixie main contrib non-free non-free-firmware

deb https://mirrors.bfsu.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware
# deb-src https://mirrors.bfsu.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware

deb https://mirrors.bfsu.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware
# deb-src https://mirrors.bfsu.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware

# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换
# deb https://mirrors.bfsu.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware
# # deb-src https://mirrors.bfsu.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware

deb https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
# deb-src https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware

重庆大学开源镜像站

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.cqu.edu.cn/debian/ trixie main contrib non-free non-free-firmware
# deb-src https://mirrors.cqu.edu.cn/debian/ trixie main contrib non-free non-free-firmware

deb https://mirrors.cqu.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware
# deb-src https://mirrors.cqu.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware

deb https://mirrors.cqu.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware
# deb-src https://mirrors.cqu.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware

# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换
# deb https://mirrors.cqu.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware
# # deb-src https://mirrors.cqu.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware

deb https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
# deb-src https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware

哈尔滨工业大学开源镜像站

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.hit.edu.cn/debian/ trixie main contrib non-free non-free-firmware
# deb-src https://mirrors.hit.edu.cn/debian/ trixie main contrib non-free non-free-firmware

deb https://mirrors.hit.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware
# deb-src https://mirrors.hit.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware

deb https://mirrors.hit.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware
# deb-src https://mirrors.hit.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware

# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换
# deb https://mirrors.hit.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware
# # deb-src https://mirrors.hit.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware

deb https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
# deb-src https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware

南京大学开源镜像站

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirror.nju.edu.cn/debian/ trixie main contrib non-free non-free-firmware
# deb-src https://mirror.nju.edu.cn/debian/ trixie main contrib non-free non-free-firmware

deb https://mirror.nju.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware
# deb-src https://mirror.nju.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware

deb https://mirror.nju.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware
# deb-src https://mirror.nju.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware

# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换
# deb https://mirror.nju.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware
# # deb-src https://mirror.nju.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware

deb https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
# deb-src https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware

哈尔滨工业大学开源软件镜像站

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.hit.edu.cn/debian/ trixie main contrib non-free non-free-firmware
# deb-src https://mirrors.hit.edu.cn/debian/ trixie main contrib non-free non-free-firmware

deb https://mirrors.hit.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware
# deb-src https://mirrors.hit.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware

deb https://mirrors.hit.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware
# deb-src https://mirrors.hit.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware

# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换
# deb https://mirrors.hit.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware
# # deb-src https://mirrors.hit.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware

deb https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
# deb-src https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware

大连东软信息学院开源镜像站

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.neusoft.edu.cn/debian/ trixie main contrib non-free non-free-firmware
# deb-src https://mirrors.neusoft.edu.cn/debian/ trixie main contrib non-free non-free-firmware

deb https://mirrors.neusoft.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware
# deb-src https://mirrors.neusoft.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware

deb https://mirrors.neusoft.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware
# deb-src https://mirrors.neusoft.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware

# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换
# deb https://mirrors.neusoft.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware
# # deb-src https://mirrors.neusoft.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware

deb https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
# deb-src https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware

北京大学开源镜像站

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.pku.edu.cn/debian/ trixie main contrib non-free non-free-firmware
# deb-src https://mirrors.pku.edu.cn/debian/ trixie main contrib non-free non-free-firmware

deb https://mirrors.pku.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware
# deb-src https://mirrors.pku.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware

deb https://mirrors.pku.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware
# deb-src https://mirrors.pku.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware

# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换
# deb https://mirrors.pku.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware
# # deb-src https://mirrors.pku.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware

deb https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
# deb-src https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware

西安交通大学软件镜像站

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.pku.edu.cn/debian/ trixie main contrib non-free non-free-firmware
# deb-src https://mirrors.pku.edu.cn/debian/ trixie main contrib non-free non-free-firmware

deb https://mirrors.pku.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware
# deb-src https://mirrors.pku.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware

deb https://mirrors.pku.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware
# deb-src https://mirrors.pku.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware

# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换
# deb https://mirrors.pku.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware
# # deb-src https://mirrors.pku.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware

deb https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
# deb-src https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware

南京工业大学开源软件镜像站

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.njtech.edu.cn/debian/ trixie main contrib non-free non-free-firmware
# deb-src https://mirrors.njtech.edu.cn/debian/ trixie main contrib non-free non-free-firmware

deb https://mirrors.njtech.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware
# deb-src https://mirrors.njtech.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware

deb https://mirrors.njtech.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware
# deb-src https://mirrors.njtech.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware

# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换
# deb https://mirrors.njtech.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware
# # deb-src https://mirrors.njtech.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware

deb https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
# deb-src https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware

南阳理工学院开源软件镜像站

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirror.nyist.edu.cn/debian/ trixie main contrib non-free non-free-firmware
# deb-src https://mirror.nyist.edu.cn/debian/ trixie main contrib non-free non-free-firmware

deb https://mirror.nyist.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware
# deb-src https://mirror.nyist.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware

deb https://mirror.nyist.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware
# deb-src https://mirror.nyist.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware

# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换
# deb https://mirror.nyist.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware
# # deb-src https://mirror.nyist.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware

deb https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
# deb-src https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware

中国科学技术大学开源软件镜像站

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.ustc.edu.cn/debian/ trixie main contrib non-free non-free-firmware
# deb-src https://mirrors.ustc.edu.cn/debian/ trixie main contrib non-free non-free-firmware

deb https://mirrors.ustc.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware
# deb-src https://mirrors.ustc.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware

deb https://mirrors.ustc.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware
# deb-src https://mirrors.ustc.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware

# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换
# deb https://mirrors.ustc.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware
# # deb-src https://mirrors.ustc.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware

deb https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
# deb-src https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware

南方科技大学开源软件镜像站

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.sustech.edu.cn/debian/ trixie main contrib non-free non-free-firmware
# deb-src https://mirrors.sustech.edu.cn/debian/ trixie main contrib non-free non-free-firmware

deb https://mirrors.sustech.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware
# deb-src https://mirrors.sustech.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware

deb https://mirrors.sustech.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware
# deb-src https://mirrors.sustech.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware

# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换
# deb https://mirrors.sustech.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware
# # deb-src https://mirrors.sustech.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware

deb https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
# deb-src https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware

浙江大学开源软件镜像站

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.zju.edu.cn/debian/ trixie main contrib non-free non-free-firmware
# deb-src https://mirrors.zju.edu.cn/debian/ trixie main contrib non-free non-free-firmware

deb https://mirrors.zju.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware
# deb-src https://mirrors.zju.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware

deb https://mirrors.zju.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware
# deb-src https://mirrors.zju.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware

# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换
# deb https://mirrors.zju.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware
# # deb-src https://mirrors.zju.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware

deb https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
# deb-src https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware

山东大学镜像站

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.sdu.edu.cn/debian/ trixie main contrib non-free non-free-firmware
# deb-src https://mirrors.sdu.edu.cn/debian/ trixie main contrib non-free non-free-firmware

deb https://mirrors.sdu.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware
# deb-src https://mirrors.sdu.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware

deb https://mirrors.sdu.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware
# deb-src https://mirrors.sdu.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware

# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换
# deb https://mirrors.sdu.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware
# # deb-src https://mirrors.sdu.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware

deb https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
# deb-src https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware

电子科技大学镜像站

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.uestc.cn/debian/ trixie main contrib non-free non-free-firmware
# deb-src https://mirrors.uestc.cn/debian/ trixie main contrib non-free non-free-firmware

deb https://mirrors.uestc.cn/debian/ trixie-updates main contrib non-free non-free-firmware
# deb-src https://mirrors.uestc.cn/debian/ trixie-updates main contrib non-free non-free-firmware

deb https://mirrors.uestc.cn/debian/ trixie-backports main contrib non-free non-free-firmware
# deb-src https://mirrors.uestc.cn/debian/ trixie-backports main contrib non-free non-free-firmware

# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换
# deb https://mirrors.uestc.cn/debian-security trixie-security main contrib non-free non-free-firmware
# # deb-src https://mirrors.uestc.cn/debian-security trixie-security main contrib non-free non-free-firmware

deb https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
# deb-src https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware

兰州大学开源社区镜像站

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirror.lzu.edu.cn/debian/ trixie main contrib non-free non-free-firmware
# deb-src https://mirror.lzu.edu.cn/debian/ trixie main contrib non-free non-free-firmware

deb https://mirror.lzu.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware
# deb-src https://mirror.lzu.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware

deb https://mirror.lzu.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware
# deb-src https://mirror.lzu.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware

# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换
# deb https://mirror.lzu.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware
# # deb-src https://mirror.lzu.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware

deb https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
# deb-src https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware

吉林大学开源镜像站

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.jlu.edu.cn/debian/ trixie main contrib non-free non-free-firmware
# deb-src https://mirrors.jlu.edu.cn/debian/ trixie main contrib non-free non-free-firmware

deb https://mirrors.jlu.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware
# deb-src https://mirrors.jlu.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware

deb https://mirrors.jlu.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware
# deb-src https://mirrors.jlu.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware

# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换
# deb https://mirrors.jlu.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware
# # deb-src https://mirrors.jlu.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware

deb https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
# deb-src https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware

重庆邮电大学开源镜像站

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.cqupt.edu.cn/debian/ trixie main contrib non-free non-free-firmware
# deb-src https://mirrors.cqupt.edu.cn/debian/ trixie main contrib non-free non-free-firmware

deb https://mirrors.cqupt.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware
# deb-src https://mirrors.cqupt.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware

deb https://mirrors.cqupt.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware
# deb-src https://mirrors.cqupt.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware

# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换
# deb https://mirrors.cqupt.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware
# # deb-src https://mirrors.cqupt.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware

deb https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
# deb-src https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware

二、更新软件源

完成编辑后,执行以下命令更新软件源:

sudo apt update

更新软件源有时候会提示更新已安装软件,执行以下命令:

sudo apt upgrade

文章末尾固定信息

weinxin
思享云thinkshareyun
扫一扫关注微信公众号 Thinkshareyun
点击公众号内的“密码”按钮,或者在公众号后台回复“密码”即可获取浏览密码,谢谢关注支持!
 
AL
  • 本文由 AL 发表于 2025年11月14日19:46:45
匿名

发表评论

匿名网友
:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:
确定

拖动滑块以完成验证