From 6e1bad9c72760668b03a29073f879feab393ce7d Mon Sep 17 00:00:00 2001 From: Bruno Pimentel Date: Tue, 7 Nov 2023 14:24:09 -0300 Subject: [PATCH] Github actions: perform an apt-get update before installing packages This corrects the error of getting a 404 when trying to fetch packages from the Ubuntu registry: E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/k/krb5/libgssrpc4_1.19.2-2ubuntu0.2_amd64.deb 404 Not Found [IP: 52.147.219.192 80] Signed-off-by: Bruno Pimentel --- .github/workflows/gating.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/gating.yaml b/.github/workflows/gating.yaml index 692ba425b..0d19f0740 100644 --- a/.github/workflows/gating.yaml +++ b/.github/workflows/gating.yaml @@ -20,8 +20,8 @@ jobs: - uses: actions/checkout@v4 - name: Install required packages run: | - sudo apt-get install -y \ - libkrb5-dev + sudo apt-get update + sudo apt-get install -y libkrb5-dev - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: @@ -75,8 +75,8 @@ jobs: fetch-depth: 0 - name: Install required packages run: | - sudo apt-get install -y \ - libkrb5-dev + sudo apt-get update + sudo apt-get install -y libkrb5-dev - name: Set up Python uses: actions/setup-python@v4 with: @@ -131,8 +131,8 @@ jobs: fetch-depth: 0 - name: Install required packages run: | - sudo apt-get install -y \ - libkrb5-dev + sudo apt-get update + sudo apt-get install -y libkrb5-dev - name: Set up Python uses: actions/setup-python@v4 with: