- 打卡等级:热心大叔
- 打卡总天数:94
- 打卡月天数:17
- 打卡总奖励:94
- 最近打卡:2025-01-18 01:28:20
|
设置镜像源
我们通过vi打开/etc/apt/sources.list
将下面其中一个镜像站内容拷贝粘贴(shift+insert)进里面,之后保存输入sudo apt update即可。
国内常见镜像站点
Debian全球镜像站列表:https://www.debian.org/mirror/list 。
下面列出国内常用的镜像站点及 /etc/apt/sources.list 中的具体对应内容:
- deb https://mirrors.aliyun.com/debian/ bookworm main non-free non-free-firmware contrib
- deb-src https://mirrors.aliyun.com/debian/ bookworm main non-free non-free-firmware contrib
- deb https://mirrors.aliyun.com/debian-security/ bookworm-security main
- deb-src https://mirrors.aliyun.com/debian-security/ bookworm-security main
- deb https://mirrors.aliyun.com/debian/ bookworm-updates main non-free non-free-firmware contrib
- deb-src https://mirrors.aliyun.com/debian/ bookworm-updates main non-free non-free-firmware contrib
- deb https://mirrors.aliyun.com/debian/ bookworm-backports main non-free non-free-firmware contrib
- deb-src https://mirrors.aliyun.com/debian/ bookworm-backports main non-free non-free-firmware contrib
复制代码 腾讯云镜像站
- deb https://mirrors.tencent.com/debian/ bookworm main non-free non-free-firmware contrib
- deb-src https://mirrors.tencent.com/debian/ bookworm main non-free non-free-firmware contrib
- deb https://mirrors.tencent.com/debian-security/ bookworm-security main
- deb-src https://mirrors.tencent.com/debian-security/ bookworm-security main
- deb https://mirrors.tencent.com/debian/ bookworm-updates main non-free non-free-firmware contrib
- deb-src https://mirrors.tencent.com/debian/ bookworm-updates main non-free non-free-firmware contrib
- deb https://mirrors.tencent.com/debian/ bookworm-backports main non-free non-free-firmware contrib
- deb-src https://mirrors.tencent.com/debian/ bookworm-backports main non-free non-free-firmware contrib
复制代码 网易镜像站
- deb https://mirrors.163.com/debian/ bookworm main non-free non-free-firmware contrib
- deb-src https://mirrors.163.com/debian/ bookworm main non-free non-free-firmware contrib
- deb https://mirrors.163.com/debian-security/ bookworm-security main
- deb-src https://mirrors.163.com/debian-security/ bookworm-security main
- deb https://mirrors.163.com/debian/ bookworm-updates main non-free non-free-firmware contrib
- deb-src https://mirrors.163.com/debian/ bookworm-updates main non-free non-free-firmware contrib
- deb https://mirrors.163.com/debian/ bookworm-backports main non-free non-free-firmware contrib
- deb-src https://mirrors.163.com/debian/ bookworm-backports main non-free non-free-firmware contrib
复制代码 华为镜像站
- deb https://mirrors.huaweicloud.com/debian/ bookworm main non-free non-free-firmware contrib
- deb-src https://mirrors.huaweicloud.com/debian/ bookworm main non-free non-free-firmware contrib
- deb https://mirrors.huaweicloud.com/debian-security/ bookworm-security main
- deb-src https://mirrors.huaweicloud.com/debian-security/ bookworm-security main
- deb https://mirrors.huaweicloud.com/debian/ bookworm-updates main non-free non-free-firmware contrib
- deb-src https://mirrors.huaweicloud.com/debian/ bookworm-updates main non-free non-free-firmware contrib
- deb https://mirrors.huaweicloud.com/debian/ bookworm-backports main non-free non-free-firmware contrib
- deb-src https://mirrors.huaweicloud.com/debian/ bookworm-backports main non-free non-free-firmware contrib
复制代码 清华大学镜像站
- deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware
- deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware
- deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware
- deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware
- deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware
- deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware
- deb https://mirrors.tuna.tsinghua.edu.cn/debian-security bookworm-security main contrib non-free non-free-firmware
- deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security bookworm-security main contrib non-free non-free-firmware
复制代码 中科大镜像站
- deb https://mirrors.ustc.edu.cn/debian/ bookworm main contrib non-free non-free-firmware
- deb-src https://mirrors.ustc.edu.cn/debian/ bookworm main contrib non-free non-free-firmware
- deb https://mirrors.ustc.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware
- deb-src https://mirrors.ustc.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware
- deb https://mirrors.ustc.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware
- deb-src https://mirrors.ustc.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware
- deb https://mirrors.ustc.edu.cn/debian-security/ bookworm-security main contrib non-free non-free-firmware
- 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
|
|