Skip to content

Commit d71feb2

Browse files
committed
force IPv4 for now to make apt-get run at a reasonable speed
1 parent 340d859 commit d71feb2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/openaps-install.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ passwd -S edison | grep 20[01][0-6] && passwd -e edison -i 3
1515
dpkg-reconfigure tzdata
1616

1717
#dpkg -P nodejs nodejs-dev
18-
apt-get update && apt-get -y dist-upgrade && apt-get -y autoremove
19-
apt-get install -y sudo strace tcpdump screen acpid vim python-pip locate
18+
# TODO: remove the `-o Acquire::ForceIPv4=true` once Debian's mirrors work reliably over IPv6
19+
apt-get -o Acquire::ForceIPv4=true update && apt-get -o Acquire::ForceIPv4=true -y dist-upgrade && apt-get -o Acquire::ForceIPv4=true -y autoremove
20+
apt-get -o Acquire::ForceIPv4=true install -y sudo strace tcpdump screen acpid vim python-pip locate
2021
adduser edison sudo
2122
adduser edison dialout
2223

0 commit comments

Comments
 (0)