前些时候,我注意到httpredir.debian.org不再工作或工作有点奇怪。我开始使用cdn-fastly.debian.org。这就是我的/etc/apt/Sourcees.list当前的设置方式-
$ cat /etc/apt/sources.list
#
# deb cdrom:[Debian GNU/Linux buster-DI-alpha2 _Buster_ - Official Snapshot amd64 xfce-CD Binary-1 20171205-15:32]/ buster main
# deb cdrom:[Debian GNU/Linux buster-DI-alpha2 _Buster_ - Official Snapshot amd64 xfce-CD Binary-1 20171205-15:32]/ buster main
#### Debian buster #########
deb http://cdn-fastly.deb.debian.org/debian/ testing main contrib non-free
deb-src http://cdn-fastly.deb.debian.org/debian testing main contrib non-free
deb http://security.debian.org/debian-security buster/updates main
deb-src http://security.debian.org/debian-security buster/updates main
#### Debian unstable #########
deb http://cdn-fastly.deb.debian.org/debian unstable contrib non-free
deb-src http://cdn-fastly.deb.debian.org/debian unstable contrib non-free
#### Debian experimental #########
deb http://cdn-fastly.deb.debian.org/debian experimental main contrib
deb-src http://cdn-fastly.deb.debian.org/debian experimental main contrib
##### Debian Debug packages #######
deb http://debug.mirrors.debian.org/debian-debug/ buster-debug main
deb http://debug.mirrors.debian.org/debian-debug/ unstable-debug main
deb http://debug.mirrors.debian.org/debian-debug/ experimental-debug main
######## Third party repos #######
deb https://riot.im/packages/debian/ stretch main
########## Non-free ########
#deb http://www.deb-multimedia.org stretch main non-free然后看到一个编辑评论https://www.reddit.com/r/debian/comments/69z49p/sources_列表_httpredirdebianorg_现在_重定向_调至/和http://cdn-fastly.deb.debian.org/,似乎证实了这一变化。有谁知道为什么要改变。AFAIK Debian在公司内部做大部分事情。
发布于 2018-03-13 12:04:00
cdn-fastly.deb.debian.org和deb.debian.org是同一个服务的一部分,但它们并不相同。后者为两个目的服务:它的DNS记录包含SRV记录,允许apt查找镜像(因为扩展),并且它承载了一个web服务器,它将在必要时将apt重定向到适当的主机。前者是Debian镜像网络的快速CDN。在sources.list中使用这两种方法的最终结果是相同的;使用deb.debian.org需要额外的一步,但可能是未来的证明。
这项特殊服务是由Fastly和亚马逊CloudFront赞助的。Debian的所有镜像都是以某种方式赞助的;赞助商名单是公开的。。所有debian.org服务都是官方的Debian服务。
https://unix.stackexchange.com/questions/429928
复制相似问题