Skip to content

Commit

Permalink
Github actions: perform an apt-get update before installing packages
Browse files Browse the repository at this point in the history
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 <bpimente@redhat.com>
  • Loading branch information
brunoapimentel committed Nov 7, 2023
1 parent 76f3e3e commit 6e1bad9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/gating.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 6e1bad9

Please sign in to comment.