mirror of
https://github.com/wekan/wekan.git
synced 2026-11-25 04:49:41 -05:00
The bump job of the same afternoon died on a repository the release does not use: E: Failed to fetch https://dl.google.com/linux/chrome-stable/deb/dists/stable/main/binary-amd64/Packages.gz Hash Sum mismatch E: Some index files failed to download. Error: Process completed with exit code 100. It was installing python3 and curl. A GitHub runner ships with google-chrome, microsoft-prod, azure-cli and docker repositories configured, and apt-get update fails as a whole when any one of them serves an index that does not match its own hashes. releases/apt-install.sh retries the update, clearing the cached lists first, because a Hash Sum mismatch is a cached index disagreeing with the server and re-reading it reports the same thing. If it still fails, it moves the third-party lists aside and updates from the distribution archive alone - where every package a release job installs comes from. Both steps say so in the log, and a mirror that never comes back still fails the job, naming the mirror. Every apt-get update + install pair in release-all.yml, release-all-missing.yml, sandstorm.yml, sandstorm-store.yml, meteor-spk.yml, Flatpak.yml and the emulated build container goes through it. tests/releaseAptInstall.test.cjs drives it with a fake apt-get that mismatches on demand and a fake sudo that records rather than runs. cpuExecWiring's qemu-user-static guard now looks for the package wherever it is asked for, not only after a literal apt-get install. Thanks to xet7 !