Skip to content

containers: use the regular Ubuntu archive instead of snapshot.ubuntu.com - #68

Merged
KonradBreitsprecherBkd merged 1 commit into
mainfrom
fix/ubuntu-regular-archive
Nov 16, 2026
Merged

KonradBreitsprecherBkd merged 1 commit into
mainfrom
fix/ubuntu-regular-archive

Conversation

@KonradBreitsprecherBkd

Copy link
Copy Markdown
Contributor

Follow-up to #66. #66 made apt-get update retry until snapshot.ubuntu.com delivered all indexes. That works, but the package downloads (259 packages, 161 MB) then run at about 100 kB/s, so the ubuntu-2004 image takes more than 30 minutes (runs 43875014441 and 43876263267 were at package 230/261 after 29 minutes). So the snapshot is dropped.

Change

  • ubuntu-2004 and ubuntu-2204 read the regular Ubuntu archive. ubuntu-2204 (arm64) already did this in practice, because the snapshot has no ubuntu-ports; its leftover snapshot sed is removed as well.
  • UBUNTU_SNAPSHOT and the separate ca-certificates step (only needed for the https snapshot) are gone.
  • The retry script containers/utils/apt-update.sh from containers: use the regular Ubuntu archive instead of snapshot.ubuntu.com #66 is removed again; both images use a plain apt-get update.

Reproducibility

The same as for alma-8: a rebuild of the image can install newer package versions, and the installed versions are recorded in /etc/sil-kit-pkg-image-packages.txt. The packages stay reproducible, because release/packages.json pins the images by digest.

Tested

The Build Images run of this PR builds both Ubuntu images. After merging, Build Images on main publishes ubuntu-2004:main.

🤖 Generated with Claude Code

snapshot.ubuntu.com delivered about 100 kB/s and answered many requests
with 500/503, so the ubuntu-2004 image took more than 30 minutes or failed.
Both Ubuntu images now read the regular archive, like ubuntu-2204 on
ubuntu-ports already did. Reproducibility of the packages comes from pinning
the images by digest in release/packages.json; the installed versions stay
recorded in /etc/sil-kit-pkg-image-packages.txt.

The apt-get update retry script is not needed anymore and is removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@KonradBreitsprecherBkd
KonradBreitsprecherBkd merged commit 923d1b0 into main Nov 16, 2026
5 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