[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: howto avoid "apt-get update" going guru?



On 2016-07-05 06:32, Harald Dunkel wrote:
> Hi folks,
> 
> this morning I found "apt-get update" getting stuck due to an
> unresponsive host:
> 
> # cat /etc/apt/sources.list
> deb     http://ftp.debian.org/debian sid main contrib non-free
> deb-src http://ftp.debian.org/debian sid main contrib non-free
> 
> # apt-get update
> Err:1 http://ftp.debian.org/debian sid InRelease
>   Could not connect to klecker-ftp.debian.org:80 (130.89.148.12), connection timed out [IP: 2001:6b0:e:2018::173 80]
> Reading package lists... Done
> W: Failed to fetch http://ftp.debian.org/debian/dists/sid/InRelease  Could not connect to klecker-ftp.debian.org:80 (130.89.148.12), connection timed out [IP: 2001:6b0:e:2018::173 80]
> W: Some index files failed to download. They have been ignored, or old ones used instead.
> 
> 
> I didn't mention klecker-ftp anywhere in my config files.
> Its not on the round-robin list for ftp.debian.org either:
> 
> # host ftp.debian.org
> ftp.debian.org has address 130.239.18.173
> ftp.debian.org has address 130.239.18.165
> ftp.debian.org has IPv6 address 2001:6b0:e:2018::165
> ftp.debian.org has IPv6 address 2001:6b0:e:2018::173
> ftp.debian.org mail is handled by 0 .

Was this command on the same box as the problematic apt-get update command?
Long time after the command was issued? ("this morning found" suggests a
time between the two).

> What would you suggest to avoid this kind of problem?

klecker is serving ftp.d.o.

http://anonscm.debian.org/cgit/mirror/dsa-auto-dns.git/tree/services/ftp.debian.org.service

From my view
brother ~$ host ftp.debian.org
ftp.debian.org has address 130.89.148.12
ftp.debian.org mail is handled by 0 .

And by now my view have switched to use the ACC provided mirrors just as
your example.

On the other hand the long standing recommendation is to not use ftp.d.o:
https://wiki.debian.org/ftp.debian.org#line-22

The concluding answer to your question is probably "use another
hostname". Either a ftp.xx.d.o host or the geo dns based:
http://httpredir.debian.org

-- 
brother
http://sis.bthstudent.se

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: