How to , and other stuff about linux, photo, php … A linux, photography blog. To remember some linux situation, and fix them quickly.

August 5, 2015

Make apt-get use IPv4 instead of IPv6

Filed under: Linux — Tags: , , , — admin @ 2:15 pm

I have try today to run some apt-get update and it take some time to figure the ipv6 ip . So I wanted to not use ipv6.
The fix is to un comment the line 54 from this file
/etc/gai.conf
precedence ::ffff:0:0/96 100

after this all run smooth.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress