Skip to content

fix: never pin Ubuntu SNAPSHOT — snapshot.ubuntu.com lacks ubuntu-ports - #13

Merged
iamenr0s merged 1 commit into
mainfrom
fix/ubuntu-snapshot-pin
Jul 17, 2026
Merged

iamenr0s merged 1 commit into
mainfrom
fix/ubuntu-snapshot-pin

Conversation

@iamenr0s

Copy link
Copy Markdown
Owner

Problem

The nightly rebuild (run 29557127446) failed on both Ubuntu versions:

E: Failed getting release file https://snapshot.ubuntu.com/ubuntu-ports/20260716T000000Z/dists/jammy/Release

The Ubuntu env files deliberately ship SNAPSHOT= empty (live mirrors) because snapshot.ubuntu.com only serves the amd64/i386 /ubuntu tree — /ubuntu-ports returns 401, so a pinned arm64 build can never succeed. But scripts/update-snapshot.sh bumps every env file with a SNAPSHOT= key, so the daily bump PR #12 filled in the Ubuntu pin for the first time and broke the arm64 leg of the multi-arch nightly.

Verified today:

  • https://snapshot.ubuntu.com/ubuntu/20260716T000000Z/dists/jammy/Release → 200
  • https://snapshot.ubuntu.com/ubuntu-ports/20260716T000000Z/dists/jammy/Release → 401

Fix

  • Reset images/ubuntu/*/env SNAPSHOT= back to empty, with a comment explaining why it must stay empty.
  • update-snapshot.sh now skips env files whose existing pin is empty — empty is a deliberate live-mirror opt-out, so tomorrow's bump PR can't reintroduce the breakage.

Tested locally: running scripts/update-snapshot.sh 20990101T000000Z bumps only the two Debian env files and leaves both Ubuntu files untouched.

🤖 Generated with Claude Code

The daily snapshot bump filled in Ubuntu's deliberately-empty SNAPSHOT=,
routing the arm64 leg to https://snapshot.ubuntu.com/ubuntu-ports/... which
returns 401 (only the amd64/i386 /ubuntu tree exists), breaking the nightly
multi-arch rebuild. Reset the Ubuntu pins to empty and teach
update-snapshot.sh to skip env files whose pin is empty (deliberate live-
mirror opt-out).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@iamenr0s
iamenr0s merged commit 53ba668 into main Jul 17, 2026
57 of 58 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant