From 8a13c4509b83a86bb1f1f12842d5597a7b2b6daf Mon Sep 17 00:00:00 2001 From: Steve Shreeve Date: Wed, 9 Sep 2026 11:39:05 -0600 Subject: [PATCH] Drop the Chrome apt source before installing Linux dependencies GitHub's Ubuntu runner image enables Google's Chrome apt repository. Its mirror intermittently serves a Packages index that fails the hash check against the release file, and apt-get update then exits 100 and fails the job before anything of ours has run: E: Failed to fetch https://dl.google.com/linux/chrome-stable/deb/ dists/stable/main/binary-amd64/Packages.gz Hash Sum mismatch Nothing in these jobs needs Chrome, so remove the source list before updating instead of depending on it. --- .github/workflows/release.yml | 4 ++++ .github/workflows/test.yml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5c4e89ad..5407e74f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -84,6 +84,8 @@ jobs: - name: Install Linux dependencies run: | + # Google's Chrome apt mirror intermittently fails its hash check and takes apt-get update down; nothing here needs it. + sudo rm -f /etc/apt/sources.list.d/google-chrome* sudo apt-get update sudo apt-get install --yes \ clang \ @@ -143,6 +145,8 @@ jobs: - name: Install Linux dependencies run: | + # Google's Chrome apt mirror intermittently fails its hash check and takes apt-get update down; nothing here needs it. + sudo rm -f /etc/apt/sources.list.d/google-chrome* sudo apt-get update sudo apt-get install --yes \ clang \ diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d6b8c113..7ee48868 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,6 +36,8 @@ jobs: - name: Install Linux dependencies if: runner.os == 'Linux' run: | + # Google's Chrome apt mirror intermittently fails its hash check and takes apt-get update down; nothing here needs it. + sudo rm -f /etc/apt/sources.list.d/google-chrome* sudo apt-get update sudo apt-get install --yes \ clang \