On 8/20/20 4:53 PM, Bonno Bloksma wrote: > Hi, > > I know I have a problem with ipv6 on one machine where ipv6 is enabled but > cannot reach outside the local network and ipv4 has a proper working network > connection to the outside world. > > Trying to get apt (or apt-get) to update results in : > Ign:1 http://ftp.nl.debian.org/debian stretch InRelease > Ign:2 http://ftp.nl.debian.org/debian stretch-updates InRelease > Err:3 http://ftp.nl.debian.org/debian stretch Release > Cannot initiate the connection to ftp.nl.debian.org:80 > (2001:67c:2564:a120::21). - connect (101: Network is unreachable) [IP: > 2001:67c:2564:a120::21 80] > Err:4 http://ftp.nl.debian.org/debian stretch-updates Release > Cannot initiate the connection to ftp.nl.debian.org:80 > (2001:67c:2564:a120::21). - connect (101: Network is unreachable) [IP: > 2001:67c:2564:a120::21 80] > [...] > Etc. > > How can I force apt and apt-get to use IPv4 to update my Debian softwarem of > this machine? > > Bonno Bloksma >
Hi, if you use network manager try to disable IPv6 through GUI. if your network interface is configured with /etc/network/interfaces just remove IPv6 configuration. HTH Kind regards Georgi