Skip to content

fix: avoid digest mismatches during archive publication#300

Closed
upils wants to merge 1 commit into
canonical:mainfrom
upils:acquire-by-hash
Closed

fix: avoid digest mismatches during archive publication#300
upils wants to merge 1 commit into
canonical:mainfrom
upils:acquire-by-hash

Conversation

@upils

@upils upils commented May 29, 2026

Copy link
Copy Markdown
Collaborator
  • Have you signed the CLA?

Chisel intermittently fails with expected digest X, got Y when Ubuntu's archive is mid-publication and the InRelease file is temporarily inconsistent with Packages.gz at the canonical path.

The Acquire-By-Hash mechanism solves this by providing content-addressable URLs (dists//by-hash/SHA256/) that are guaranteed to match the digest recorded in InRelease. The spec requires that by-hash URLs are published before InRelease is updated, and are not removed until InRelease no longer references them.

Fixes #295

@upils upils added the Bug An undesired feature ;-) label May 29, 2026
@lczyk

lczyk commented May 29, 2026

Copy link
Copy Markdown
Contributor

@upils

upils commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator Author

Closed in favor of #296.

@upils upils closed this Jun 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug An undesired feature ;-)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Chisel is flaky when the archive is updating

2 participants