Debian: APT waits forever connecting to repo over IPv6
Posted: Tue Nov 05, 2019 2:14 pm
[PROBLEM]
On Debian 9 (Stretch), any apt action hangs at the following IPv6 host:
It's not really a solution, but a workaround since the IPv6 path in this network doesn't seem to be configured.
I've disabled IPv6 on that machine, since I don't need it yet:
To make it permanent, add the following at the bottom of "/etc/sysctl.conf"
Thanks to Jack Wallen's "How to disable IPv6 on Linux" article.
On Debian 9 (Stretch), any apt action hangs at the following IPv6 host:
[SOLUTION]0% [Connecting to prod.debian.map.fastly.net (2a04:4e42:1b::204)]
It's not really a solution, but a workaround since the IPv6 path in this network doesn't seem to be configured.
I've disabled IPv6 on that machine, since I don't need it yet:
Code: Select all
$ sysctl -w net.ipv6.conf.all.disable_ipv6=1
$ sysctl -w net.ipv6.conf.default.disable_ipv6=1
Code: Select all
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1