Skip to content

Instantly share code, notes, and snippets.

@pamtrak06
Created December 16, 2017 10:03
Show Gist options
  • Save pamtrak06/087211971abc09191ce0d29434f5fe96 to your computer and use it in GitHub Desktop.
Save pamtrak06/087211971abc09191ce0d29434f5fe96 to your computer and use it in GitHub Desktop.
raspbian: force ipv4 for apt-get update and apt-get upgrade
#!/bin/bash
apt-get -o Acquire::ForceIPv4=true -y update
apt-get -o Acquire::ForceIPv4=true -y dist-upgrade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment