Debian 10系统最新源地址
根据 Debian 官网,Debian 10 “buster” 的长期支持(LTS)已经在 2024 年 6 月 30 日结束,其软件仓库会在短期内被上游移除。用户应该考虑升级到目前受支持的版本,或者切换到 debian-elts(Debian 扩展长期支持)仓库。目前大部分网站已经删除了相关软件仓库,使用Debian 10的老用户不管是升级还是安装软件都会提示失败,目前Debian官网可以使用,但是国外速度太慢,所以只能在国内找。目前阿里云官方还有完整的源 debian-archive 。
sources.list 文件配置如下:
XML/HTML代码
- deb http://mirrors.aliyun.com/debian-archive/debian/ buster main non-free contrib
- deb-src http://mirrors.aliyun.com/debian-archive/debian/ buster main non-free contrib
- deb http://mirrors.aliyun.com/debian-archive/debian/ buster-updates main non-free contrib
- deb-src http://mirrors.aliyun.com/debian-archive/debian/ buster-updates main non-free contrib
- deb http://mirrors.aliyun.com/debian-archive/debian-security/ buster/updates main non-free contrib
- deb-src http://mirrors.aliyun.com/debian-archive/debian-security/ buster/updates main non-free contrib
- deb http://mirrors.aliyun.com/debian-archive/debian/ buster-backports main non-free contrib
- deb-src http://mirrors.aliyun.com/debian-archive/debian/ buster-backports main non-free contrib
另外163源也支持,但是本人测试速度太慢,没有采用。
附Debian官方源:
XML/HTML代码
- deb https://archive.debian.org/debian/ buster main non-free contrib
- deb-src https://archive.debian.org/debian/ buster main non-free contrib
- deb https://archive.debian.org/debian/ buster-updates main non-free contrib
- deb-src https://archive.debian.org/debian/ buster-updates main non-free contrib
- deb http://mirrors.aliyun.com/debian-archive/debian-security/ buster/updates main non-free contrib
- deb-src http://mirrors.aliyun.com/debian-archive/debian-security/ buster/updates main non-free contrib
- deb https://archive.debian.org/debian/ buster-backports main non-free contrib
- deb-src https://archive.debian.org/debian/ buster-backports main non-free contrib
更新提示密钥错误解决方法:
XML/HTML代码
- # 导入两个密钥(sudo权限)
- apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0E98404D386FA1D9
- apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6ED0E7B82643E131
- # 更新apt缓存
- apt update
XML/HTML代码
- # Install linux-image-amd64 and linux-headers-amd64 from buster-backports
- apt-get -t buster-backports -y install linux-image-amd64 linux-headers-amd64
- # Update grub configuration
- update-grub
- # Reboot the system
- reboot
使用一键脚本也可以更新源,不过不全面,有的源不支持,新系统全部支持:
XML/HTML代码
- bash <(curl -sSL https://linuxmirrors.cn/main.sh)
教育网联合镜像站:https://mirrors.cernet.edu.cn/list