Commit 068b777
ci: prefer the canonical Ubuntu archive for the paper TeX install (#374)
My PR #373 bounded this step at 10 minutes but did not address why it hangs.
Main then went red at 7860278: the Azure mirror was failing, apt spent the
whole budget retrying it, and the bound fired. The bound behaved correctly --
10 minutes instead of 3h11m -- but a red main is not a fix.
The hosted runner resolves its mirror through /etc/apt/apt-mirrors.txt, which
points at azure.archive.ubuntu.com. Point it at the canonical archive before
apt-get update, and retry update three times with backoff. A mirror fault now
costs seconds, not the whole budget, and a genuine outage fails loudly with a
clear message rather than a timeout.
The package list and install flags are unchanged.
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>1 parent 7860278 commit 068b777
2 files changed
Lines changed: 30 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
39 | 64 | | |
40 | 65 | | |
41 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| |||
0 commit comments