apt-get update gets stuck

sudo apt-get update gets stuck

sudo nano /etc/gai.conf

search for

# For sites which prefer IPv4 connections change the last line to

uncomment the following line

# precedence ::ffff:0:0/96 100

sudo apt-get update should now work

Leave a Reply

Your email address will not be published. Required fields are marked *