记录我的一些生活写照、无聊的牢骚、内心世界的活动 注册 | 登陆

Debian10系统最新源地址

Debian 10系统最新源地址

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

« 上一篇 | 下一篇 »

发表评论

评论内容 (必填):