Created
December 16, 2017 10:03
-
-
Save pamtrak06/087211971abc09191ce0d29434f5fe96 to your computer and use it in GitHub Desktop.
raspbian: force ipv4 for apt-get update and apt-get upgrade
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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