Hmbown/CodeWhale · error
from does not list ; refusing to download an unverified…
Error message
{} from {} does not list {}; refusing to download an unverified update What it means
single_source_download_plan parses the SHA256SUMS manifest fetched from a release source and requires that it lists the exact asset name for the current platform before the binary is downloaded. If the checksum manifest does not contain the platform binary's asset name, the updater refuses to download an unverifiable update — verification fails closed.
Solutions
- Wait for/publish a release whose SHA256SUMS includes the platform asset, then retry update.
- If using a pinned mirror, ensure the mirror serves the manifest and binary from the same release.
- Check the release assets on the release page and use the documented install script for platforms missing assets.
- Report the missing manifest entry to the project if the binary asset exists.
Example fix
// before: manifest lists only x86_64 but you are on aarch64 // after: pin to a release/source whose manifest covers your platform, or install manually $ curl -fsSL https://example/install.sh | sh
Defensive patterns
Strategy: validation
Validate before calling
fn manifest_covers(checksums: &HashMap<String,String>, asset: &str) -> bool {
checksums.contains_key(asset)
} // verify before downloading; if false, skip the source Prevention
- Only pin mirrors that serve the manifest and binary from the same release
- Verify release completeness (manifest includes all platform assets) before rolling it out
When it happens
Trigger: resolve_download_plan -> single_source_download_plan with a checksum asset that parses fine but whose `checksums` map lacks `asset.name` for the current platform; tests cover missing manifests, malformed manifests, and mirrors pinned to their own manifest.
Common situations: A release was published with binaries but a stale/partial checksum manifest; a mirror serves an older manifest that predates the platform asset; targeting an uncommon platform whose asset was omitted.
Understand the failure class
Background: Checksum mismatch errors: "checksum verification failed", "digest mismatch", "expected vs actual checksum" — what they mean and how to fix them — this error's family across 41 libraries.
Related errors
- does not list
- invalid SHA256 manifest line
- Android identifies runtime linker ` `; refusing to use the…
- Android reported deleted loaded image
- Android reported non-absolute loaded-image path
AI-assisted analysis of Hmbown/CodeWhale@73e0f67d83 (2026-09-22).
Data as JSON: /api/errors/6d5540ffea0fb1ab.
Report an issue: GitHub.
Appendix: source
Thrown at crates/cli/src/update.rs:950
.with_context(|| {
format!(
"failed to download {} from {}\n{}",
checksum_asset.name,
fetched.source.describe(),
update_network_fallback_hint()
)
})?;
let checksum_text = std::str::from_utf8(&checksum_bytes)
.with_context(|| format!("{} is not valid UTF-8", checksum_asset.name))?;
let checksums = parse_checksum_manifest(checksum_text).with_context(|| {
format!(
"failed to parse {} from {}",
checksum_asset.name,
fetched.source.describe()
)
})?;
if !checksums.contains_key(&asset.name) {
bail!(
"{} from {} does not list {}; refusing to download an unverified update",
checksum_asset.name,
fetched.source.describe(),
asset.name
);
}
Ok(DownloadPlan {
source: fetched.source.clone(),
binary_name: asset.name.clone(),
binary_url: asset.browser_download_url.clone(),
checksums,
})
}
fn manifest_probe_fetcher(proxy: Option<&Proxy>) -> Arc<ManifestFetcher> {
let proxy = proxy.cloned();
Arc::new(move |candidate: &ReleaseSourceCandidate| {View on GitHub (pinned to 73e0f67d83)