RE: problems connecting to http.us.debian.org
> | Whenever I try to apt-get install a package from http.us.debian.org, the
> | first time I try to connect, apt-get hangs at
> |
> | 0% [Connecting to http.us.debian.org (204.152.189.120)]
> |
> | If I then interrupt and rerun the command, apt-get immediately connects
> | and downloads the package file.
> |
> | Has anyone else observed this behavior? Any ideas about what causes it?
>
> Greetings,
> I think what is happening is that you're getting round robined to a
> bad/slow mirror. When you stop and start again you connected to another
> mirror that moves. I'd say pick one from the round robin list and plug it
> in permanently. I have a local mirror that is mostly up to date, so I don't
> worry about it.
>
> debian:~$ host http.us.debian.org
> http.us.debian.org A 35.9.37.225
> http.us.debian.org A 128.101.80.133
> http.us.debian.org A 204.152.189.120
> http.us.debian.org A 208.185.25.35
> http.us.debian.org A 216.37.55.114
> debian:~$
Thanks, this does seem to have done the trick.
$ grep debian.org /etc/hosts
#204.152.189.120 http.us.debian.org
128.101.80.133 http.us.debian.org
35.9.37.225 http.us.debian.org
216.37.55.114 http.us.debian.org
208.185.25.35 http.us.debian.org
I commented out the bad host, and the delay has gone away.
Regards,
Andrew.
Reply to: