Thursday, May 06, 2021

Ubuntu Force apt to use IPv4

On U16.04, I found that apt took really long time to update over IPv6.

Enter below command to force the use of IP v4 for apt

echo "Acquire::ForceIPv4 "true";" | sudo tee /etc/apt/apt.conf.d/99force-ipv4 > /dev/null

No comments:

Post a Comment

Thanks for posting comments..
                        - Raghu Nayak