找回密码
 register
搜索
查看: 594|回复: 0

[游戏教程] Debian12 国内镜像源设置

[复制链接]
  • 打卡等级:本地老炮
  • 打卡总天数:528
  • 打卡月天数:17
  • 打卡总奖励:526
  • 最近打卡:2026-06-19 10:50:42
Waylee 发表于 2024-9-17 16:27 | 显示全部楼层 |阅读模式

马上注册,查看网站隐藏内容!!

您需要 登录 才可以下载或查看,没有账号?register

×
设置镜像源
我们通过vi打开/etc/apt/sources.list
将下面其中一个镜像站内容拷贝粘贴(shift+insert)进里面,之后保存输入sudo apt update即可。

国内常见镜像站点
Debian全球镜像站列表:https://www.debian.org/mirror/list

下面列出国内常用的镜像站点及 /etc/apt/sources.list 中的具体对应内容:
  1. deb https://mirrors.aliyun.com/debian/ bookworm main non-free non-free-firmware contrib
  2. deb-src https://mirrors.aliyun.com/debian/ bookworm main non-free non-free-firmware contrib
  3. deb https://mirrors.aliyun.com/debian-security/ bookworm-security main
  4. deb-src https://mirrors.aliyun.com/debian-security/ bookworm-security main
  5. deb https://mirrors.aliyun.com/debian/ bookworm-updates main non-free non-free-firmware contrib
  6. deb-src https://mirrors.aliyun.com/debian/ bookworm-updates main non-free non-free-firmware contrib
  7. deb https://mirrors.aliyun.com/debian/ bookworm-backports main non-free non-free-firmware contrib
  8. deb-src https://mirrors.aliyun.com/debian/ bookworm-backports main non-free non-free-firmware contrib
复制代码
腾讯云镜像站

  1. deb https://mirrors.tencent.com/debian/ bookworm main non-free non-free-firmware contrib
  2. deb-src https://mirrors.tencent.com/debian/ bookworm main non-free non-free-firmware contrib
  3. deb https://mirrors.tencent.com/debian-security/ bookworm-security main
  4. deb-src https://mirrors.tencent.com/debian-security/ bookworm-security main
  5. deb https://mirrors.tencent.com/debian/ bookworm-updates main non-free non-free-firmware contrib
  6. deb-src https://mirrors.tencent.com/debian/ bookworm-updates main non-free non-free-firmware contrib
  7. deb https://mirrors.tencent.com/debian/ bookworm-backports main non-free non-free-firmware contrib
  8. deb-src https://mirrors.tencent.com/debian/ bookworm-backports main non-free non-free-firmware contrib
复制代码
网易镜像站

  1. deb https://mirrors.163.com/debian/ bookworm main non-free non-free-firmware contrib
  2. deb-src https://mirrors.163.com/debian/ bookworm main non-free non-free-firmware contrib
  3. deb https://mirrors.163.com/debian-security/ bookworm-security main
  4. deb-src https://mirrors.163.com/debian-security/ bookworm-security main
  5. deb https://mirrors.163.com/debian/ bookworm-updates main non-free non-free-firmware contrib
  6. deb-src https://mirrors.163.com/debian/ bookworm-updates main non-free non-free-firmware contrib
  7. deb https://mirrors.163.com/debian/ bookworm-backports main non-free non-free-firmware contrib
  8. deb-src https://mirrors.163.com/debian/ bookworm-backports main non-free non-free-firmware contrib
复制代码
华为镜像站

  1. deb https://mirrors.huaweicloud.com/debian/ bookworm main non-free non-free-firmware contrib
  2. deb-src https://mirrors.huaweicloud.com/debian/ bookworm main non-free non-free-firmware contrib
  3. deb https://mirrors.huaweicloud.com/debian-security/ bookworm-security main
  4. deb-src https://mirrors.huaweicloud.com/debian-security/ bookworm-security main
  5. deb https://mirrors.huaweicloud.com/debian/ bookworm-updates main non-free non-free-firmware contrib
  6. deb-src https://mirrors.huaweicloud.com/debian/ bookworm-updates main non-free non-free-firmware contrib
  7. deb https://mirrors.huaweicloud.com/debian/ bookworm-backports main non-free non-free-firmware contrib
  8. deb-src https://mirrors.huaweicloud.com/debian/ bookworm-backports main non-free non-free-firmware contrib
复制代码
清华大学镜像站

  1. deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware
  2. deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware
  3. deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware
  4. deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware
  5. deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware
  6. deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware
  7. deb https://mirrors.tuna.tsinghua.edu.cn/debian-security bookworm-security main contrib non-free non-free-firmware
  8. deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security bookworm-security main contrib non-free non-free-firmware
复制代码
中科大镜像站

  1. deb https://mirrors.ustc.edu.cn/debian/ bookworm main contrib non-free non-free-firmware
  2. deb-src https://mirrors.ustc.edu.cn/debian/ bookworm main contrib non-free non-free-firmware
  3. deb https://mirrors.ustc.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware
  4. deb-src https://mirrors.ustc.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware
  5. deb https://mirrors.ustc.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware
  6. deb-src https://mirrors.ustc.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware
  7. deb https://mirrors.ustc.edu.cn/debian-security/ bookworm-security main contrib non-free non-free-firmware
  8. deb-src https://mirrors.ustc.edu.cn/debian-security/ bookworm-security main contrib non-free non-free-firmware
复制代码
更新内容:
sudo apt-get update
sudo apt-get dist-upgrade




您需要登录后才可以回帖 登录 | register

本版积分规则

QQ|雪舞知识库 ( 浙ICP备15015590号-1 | 萌ICP备20232229号|浙公网安备33048102000118号 )|天天打卡

GMT+8, 2026-6-19 11:48 , Processed in 0.052560 second(s), 26 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表