Skip to content

Commit 5ee82b9

Browse files
committed
Revert "Change APT to use mirror protocol"
This reverts commit d6d9d28. We are seeing intermittent/context specific failures that seem to affect certain users. The theory is that there might be inconsistencies in the mirror CDN network. Lets try walking this back and see if things improve. Change-Id: I4d9a840cc67644803dfbeb70568fa18c8486514c Signed-off-by: Greg Haskins <[email protected]>
1 parent d96a283 commit 5ee82b9

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

scripts/provision/common.sh

-10
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,6 @@
22

33
# Add any logic that is common to both the peer and docker environments here
44

5-
# Use the mirror protocol for apt so that geographically close mirrors are automatically chosen
6-
source /etc/lsb-release
7-
8-
cat <<EOF > /etc/apt/sources.list
9-
deb mirror://mirrors.ubuntu.com/mirrors.txt $DISTRIB_CODENAME main restricted universe multiverse
10-
deb mirror://mirrors.ubuntu.com/mirrors.txt $DISTRIB_CODENAME-updates main restricted universe multiverse
11-
deb mirror://mirrors.ubuntu.com/mirrors.txt $DISTRIB_CODENAME-backports main restricted universe multiverse
12-
deb mirror://mirrors.ubuntu.com/mirrors.txt $DISTRIB_CODENAME-security main restricted universe multiverse
13-
EOF
14-
155
apt-get update -qq
166

177
# Used by CHAINTOOL

0 commit comments

Comments
 (0)