Repository navigation
CI: apt retries a failed download 10 times - #24
Conversation
The nightly emulator run failed twice on 17 November when Launchpad's PPA (the ST's cross-mint) answered 503 for one package, after apt's default 3 tries. Every apt-get update and install now takes Acquire::Retries=10; apt waits longer between tries (up to 30 s), about three minutes in all. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
The problem
The nightly emulator run failed on 17 November (run 44067855272), and again when re-run. Launchpad's PPA for the Atari ST cross-compiler (
ppa:vriviere/ppa) answered503 Service Unavailablefor one package, andapt-get installexited with code 100. apt had already retried that package 3 times, its default. The same commit passed every job ten hours earlier, and testing the PPA by hand gave a 503 on about one request in three.The change
Every
apt-get updateandapt-get installinbuild.yml,test.ymlandemulators.ymlnow passes-o Acquire::Retries=10. apt 2.8 waits longer between tries, up to 30 s, so a failing download gets about three minutes before the job fails. This also covers Ubuntu's own mirrors, not just Launchpad.Nothing else changes. If every download succeeds first time, the jobs behave exactly as before.
🤖 Generated with Claude Code
Summary by CodeRabbit