3 Commits
Author SHA1 Message Date
kevinveenbirkenbachandClaude Opus 5.5 0980e2ccc9 fix(update): take ALARM databases and packages from one concrete mirror
The Arch Linux ARM geo host mirror.archlinuxarm.org redirects every request on its own, so pacman took core.db from a mirror that already held kmod-34.4-1 and fetched the packages from mirrors that only served kmod-34.3-2, and the upgrade failed with 404s on arm64 (main run 45509759037: Bridgy Fed#0, LAM#1, Meta#1, Nextcloud#13, jitsi#2; PR #2873 OpenProject#0; PR #2856 GitLab#1).

alarm_mirror.sh demote moves every geo Server line behind the last concrete Server before the database refresh. When the upgrade still fails to retrieve files, alarm_mirror.sh retry rotates the first concrete Server behind the last concrete one and runs pacman -Syyu, once per further concrete mirror; the geo host never leads. The role decides by the script's exit code only, the mirrorlist is replaced atomically with its mode kept, and a mirrorlist without the geo host (x86_64 Arch) stays untouched.

🎯 Fix: 85 %
💥 Break: 4 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 82
🚦 Gate: ⛔ fix 85 % < 90

Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 12:39:14 +00:00
kevinveenbirkenbachandClaude Opus 5.5 1fd033abe8 fix(update): retry dnf makecache through a CentOS mirror push
A CentOS Stream mirror mid-push serves a repomd.xml naming repodata it already removed. dnf's own retries give up on the 404, so every CentOS job in that window failed at the metadata refresh (PR 2842 Blender#0, PR 2864 translate#2, PR 2846, 16:24 UTC 2026-11-24). The refresh now retries until dnf succeeds, 10 times 30 s apart. Under dnf5, ansible.builtin.dnf's update_cache expires no repo, which is why the explicit makecache --refresh runs at all; that reason moves from the dropped task comment into this message.

🎯 Fix: 88 %
💥 Break: 3 %
💸 Tokens: 100 %
⏱️ Velocity: 100 %
🛡️ Security: 100 %
🏆 Score: 85
🚦 Gate: ⛔ fix 88 % < 90

Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 18:51:44 +00:00
kevinveenbirkenbachandClaude Opus 5.5 be4c1b2394 fix(update): stop retrying the 404 of pacman's optional database signature
pacman's DatabaseOptional fetches <repo>.db.sig after every database; Arch
publishes none, so every mirror answers 404. The XferCommand ran curl with
--retry-all-errors, which retried that permanent 404 three times, 2 s apart,
for about 18 s per refresh on every Arch host (deploy log 17.4-18.3 s).

pacman-xfer keeps retrying transient failures (transport errors, 5xx, every
4xx but 404/410), honours Retry-After on 429/503 up to 30 s and drops a failed
attempt's partial bytes like curl's own retry did; 404 and 410 fail at once.
The shell-download-retry lint accepts a download its script retries in a
bounded counter loop that leaves on success and sleeps between attempts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 09:06:45 +01:00