From 46813dd61eb45a7b543c32f23d0fe31203e9e451 Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Tue, 2 Feb 2021 13:06:17 -0800 Subject: [PATCH] [test] debug apt problems Signed-off-by: Kir Kolyshkin --- .github/workflows/test.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e27bd19cbfa..80f0b28a48b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -168,6 +168,7 @@ jobs: - name: install deps run: | + set -x # enable i386 arch sudo dpkg --add-architecture i386 # add skopeo repo @@ -175,8 +176,12 @@ jobs: wget -nv https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/Debian_10/Release.key -O- | sudo apt-key add - # add criu repo sudo add-apt-repository -y ppa:criu/ppa - # apt-add-repository runs apt update so we don't have to - sudo apt -q install libseccomp-dev libseccomp-dev:i386 criu skopeo + # apt-add-repository runs apt update so we don't have to. + + # Due to a bug in apt, we have to update it first + # (see https://bugs.launchpad.net/ubuntu-cdimage/+bug/1871268) + sudo apt install apt + sudo apt install libseccomp-dev libseccomp-dev:i386 criu skopeo - name: install go uses: actions/setup-go@v2 # use default Go version