Skip to content

Commit fe7285a

Browse files
committed
ghactions: Run apt update before installing packages
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]>
1 parent 53914c7 commit fe7285a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/go.yml

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646

4747
- name: Install qemu
4848
run: |
49+
sudo apt update
4950
sudo apt install qemu-kvm
5051
sudo usermod -a -G kvm $USER
5152

0 commit comments

Comments
 (0)