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

Re: ipv6 apt issue



Hi,

On Tue, Mar 28, 2017 at 01:24:39PM -0500, Matt Zagrabelny wrote:
> I've got a dual stack host and when doing various apt-y things I attempt to
> connect to:
> 
> # apt update
> 0% [Connecting to ftp-chi.osuosl.org (2600:3402:200:227::2)
> 
> but it hangs and doesn't seem to complete its connection.

Well, there must be a connectivity issue between you and
2600:3402:200:227::2. These things happen.

> If I look at my sources lists:
> 
> % grep http /etc/apt/sources.list.d/*.list | sed -e 's/.*http:\/\///' | uniq
> ftp.us.debian.org/debian/ experimental main
> ftp.us.debian.org/debian/ jessie main contrib non-free
> ftp.us.debian.org/debian/ sid main contrib non-free
> ftp.us.debian.org/debian/ stretch main contrib non-free
> 
> I don't have an /etc/apt/sources.list file. To my observation, my host
> should only be connecting ftp.us.debian.org.

apt uses SRV records:

$ dig +short -t SRV _http._tcp.ftp.us.debian.org
0 2 80 ftp-nyc.osuosl.org.
0 1 80 debian.gtisc.gatech.edu.
0 1 80 ftp-chi.osuosl.org.

That's where you're getting the host name ftp-chi.osuosl.org from.

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting


Reply to: