Skip to content

Commit

Permalink
ghactions: Run apt update before installing packages
Browse files Browse the repository at this point in the history
github actions are currently failing with
```
E: Failed to fetch mirror+file:/etc/apt/apt-mirrors.txt/pool/main/g/gst-plugins-base1.0/libgstreamer-plugins-base1.0-0_1.24.2-1ubuntu0.1_amd64.deb  404  Not Found [IP: 52.252.163.49 80]
E: Failed to fetch mirror+file:/etc/apt/apt-mirrors.txt/pool/main/g/gst-plugins-base1.0/gstreamer1.0-plugins-base_1.24.2-1ubuntu0.1_amd64.deb  404  Not Found [IP: 52.252.163.49 80]
E: Failed to fetch mirror+file:/etc/apt/apt-mirrors.txt/pool/main/g/gst-plugins-base1.0/gstreamer1.0-x_1.24.2-1ubuntu0.1_amd64.deb  404  Not Found [IP: 52.252.163.49 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
```

The apt metadata does not seem to be updated before trying to install
these packages which could this issue.

Signed-off-by: Christophe Fergeau <[email protected]>
  • Loading branch information
cfergeau committed Jan 7, 2025
1 parent 53914c7 commit fe7285a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:

- name: Install qemu
run: |
sudo apt update
sudo apt install qemu-kvm
sudo usermod -a -G kvm $USER
Expand Down

0 comments on commit fe7285a

Please sign in to comment.