the apt souces i can use

本文提供了Debian系统中源配置的具体方法,包括如何查找全球镜像地址、使用netselect工具测试镜像站点的速度,以及如何修改sources.list文件来更换更快的镜像站点。文中还给出了一个具体的sources.list文件示例。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

找了很久,可以在Debian 的官方网站找到全球镜像地址

http://www.debian.org/mirror/mirrors_full#CN

可以用netselect 测试网址是否可用,

如:netselect ftp.debian.org http.us.debian.org ftp.at.debian.org

如果没安装可用下句:# apt-get install netselect

通常source.list 已经有Debian的官方网址了.如果要加带的话就上网找吧.

教育网有中科大和清华等网提供下载

以下是本人的sources.list,本人用的是电信.

# Line commented out by installer because it failed to verify:
deb http://security.debian.org/ etch/updates main contrib
# Line commented out by installer because it failed to verify:
deb-src http://security.debian.org/ etch/updates main contrib
############################james adding 8_27#########################
#sources.list for Etch(testing)
deb http://http.us.debian.org/debian testing main contrib non-free
#deb http://security.debian.org testing/updates main contrib non-free
deb http://apt.debian.org.tw unstable main
deb http://apt-mirror.sourceforge.net/ apt-mirror/
##############################james adding 09_06###############################
deb http://ftp.debian.org/ testing main contrib non-free  
deb-src http://ftp.debian.org/ testing main contrib non-free
deb ftp://ftp.us.debian.org/debian/ sid main contrib non-free
deb-src ftp://ftp.us.debian.org/debian/ sid main contrib non-free
deb http://security.debian.org/ testing/updates main contrib
deb http://security.debian.org/ stable/updates main
#deb-src http://ftp.debian-unofficial.org/debian sarge main contrib non-free restricted
deb http://ftp.au.debian.org/debian/ stable main non-free contrib
 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值