From 0bc366a78df8221f5393cd5d06cab7df56ecf581 Mon Sep 17 00:00:00 2001 From: Jonathan Hui Date: Tue, 6 Oct 2020 18:07:25 -0700 Subject: [PATCH] [github-actions] fix expect check (#5610) Add `apt-get update` before `apt-get install`. --- .github/workflows/simulation.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/simulation.yml b/.github/workflows/simulation.yml index f6560d265..dafbe8bb4 100644 --- a/.github/workflows/simulation.yml +++ b/.github/workflows/simulation.yml @@ -289,6 +289,7 @@ jobs: fail_ci_if_error: true - name: Run TUN Mode run: | + sudo rm /etc/apt/sources.list.d/* && sudo apt-get update sudo apt-get install --no-install-recommends -y dnsmasq bind9-host ntp sudo systemctl start dnsmasq ntp host ipv6.google.com 127.0.0.1