Skip to content

Instantly share code, notes, and snippets.

@taylorotwell
Last active May 6, 2016 13:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save taylorotwell/8a1233273fc28553e04fa99d4dc72771 to your computer and use it in GitHub Desktop.
Save taylorotwell/8a1233273fc28553e04fa99d4dc72771 to your computer and use it in GitHub Desktop.
Forge Ubuntu 16.04 servers are running Apt updates painfully slow in some European and Asian regions.
For example, 1GB servers in the Linode Singapore region take almost one hour to provision and many things
time out completely because Apt seems to be running so slow. This problem did not seem to be present on
Ubuntu 14.04 and does not seem to affect American regions.
Reward: SOLVED!
@masterpowers
Copy link

Western Europe (Dublin, Ireland)

deb http://eu-west-1.clouds.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb http://eu-west-1.clouds.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://eu-west-1.clouds.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
Central Europe (Frankfurt, Germany)

deb http://eu-central-1.clouds.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb http://eu-central-1.clouds.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://eu-central-1.clouds.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse

@ViruSzZ
Copy link

ViruSzZ commented May 6, 2016

I believe the command I posted fixed the issue but anyway....

@intcorecompany
Copy link

disable IPv6 and force working with IPv4

@ViruSzZ
Copy link

ViruSzZ commented May 6, 2016

@taylorotwell please tell us whether the gai.conf fixed the issue or the command I posted?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment