when apt gets stuck on ubuntu archive, do this...

Moderator: mike

Post Reply
arteq
Posts: 19
Joined: Thu Nov 23, 2017 3:01 pm
Location: florida, usa
Contact:

when apt gets stuck on ubuntu archive, do this...

Post by arteq » Mon Sep 03, 2018 2:09 pm

i've run into apt-get getting hung on loading an update from the ubuntu archive on a new vm or other install of eve:

solution

from eve-vm as root

vi /etc/gai.conf

scroll and uncomment line that reads exactly:

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

be sure it is the line that ends with 100

remove #, then

:wq

to save

re run apt-get update, etc.

there is another line that reads:

precedence ::ffff:0:0/96 10

do not touch this one

Post Reply