Skip to content

Commit 8d75b58

Browse files
dkegel-fastlydeadprogram
authored andcommitted
.github: update apt before installing, in case it is stale
Symptom: assert-test-linux failed in https://github.com/tinygo-org/tinygo/runs/4721983373 with following errors: E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/c/ceph/librados2_15.2.14-0ubuntu0.20.04.1_amd64.deb 404 Not Found [IP: 52.154.174.208 80] E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/c/ceph/librbd1_15.2.14-0ubuntu0.20.04.1_amd64.deb 404 Not Found [IP: 52.154.174.208 80] E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/q/qemu/qemu-block-extra_4.2-3ubuntu6.18_amd64.deb 404 Not Found [IP: 52.154.174.208 80] E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/q/qemu/qemu-system-common_4.2-3ubuntu6.18_amd64.deb 404 Not Found [IP: 52.154.174.208 80] E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/q/qemu/qemu-system-data_4.2-3ubuntu6.18_all.deb 404 Not Found [IP: 52.154.174.208 80] E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/q/qemu/qemu-system-arm_4.2-3ubuntu6.18_amd64.deb 404 Not Found [IP: 52.154.174.208 80] E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/q/qemu/qemu-system-misc_4.2-3ubuntu6.18_amd64.deb 404 Not Found [IP: 52.154.174.208 80] E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/universe/q/qemu/qemu-user_4.2-3ubuntu6.18_amd64.deb 404 Not Found [IP: 52.154.174.208 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? This usually means those packages have been updated and you have to run apt-get update first, as recommended at actions/runner-images#1757
1 parent ec97313 commit 8d75b58

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/linux.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ jobs:
140140
submodules: true
141141
- name: Install apt dependencies
142142
run: |
143+
sudo apt-get update
143144
sudo apt-get install --no-install-recommends \
144145
qemu-system-arm \
145146
qemu-system-riscv32 \

0 commit comments

Comments
 (0)