Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save webarthur/0ed27fbf811bbcc94e7c7c476b5d8f91 to your computer and use it in GitHub Desktop.
Save webarthur/0ed27fbf811bbcc94e7c7c476b5d8f91 to your computer and use it in GitHub Desktop.
Force Apt-Get to IPv4 or IPv6 on Ubuntu or Debian
sudo echo "Acquire::ForceIPv4 \"true\";" > /etc/apt/apt.conf.d/99force-ipv4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment