jdx/mise · error
the packslip lists executable
Error message
the packslip lists executable {} in {}, but the archive holds no such file What it means
Packslip link_bins: the signed manifest declares an executable at a path inside the archive, but after extraction no such file exists at that path. The install is aborted because the bin directory would otherwise be missing a promised executable — usually a wrong path in the manifest or an archive layout change.
Solutions
- Check the extracted install directory (in ~/.local/share/mise/installs/<tool>/<version>/) for where the binary actually lives and fix bin.path in the manifest
- Ask the vendor to update the manifest path to match the archive layout
- Reinstall/retry in case the archive extraction was interrupted
Example fix
// before (manifest) [[bin]] name = 'rg' path = 'target/release/rg' // after — matches archive layout [[bin]] name = 'rg' path = 'rg'
Defensive patterns
Strategy: validation
Validate before calling
// verify every bin.path exists in the built archive before publishing
tar -tf dist/archive.tar.gz | while read -r f; do :; done
for p in "${manifest_bin_paths[@]}"; do tar -tf dist/archive.tar.gz | grep -qx "$p" || echo "missing: $p"; done Type guard
null
Try / catch
// catch and point the user at the archive contents
match install {
Err(e) if e.to_string().contains("archive holds no such file") => eprintln!("inspect the extracted install dir and report a manifest bug"),
other => other?,
} Prevention
- Extract-and-verify the archive layout in CI before publishing the manifest
- Update bin.path in the same PR as any archive restructure
- Test installation on at least one platform per archive layout
When it happens
Trigger: link_bins calls locate_in_install(&install_path, &bin.path) and gets None — the archive layout changed, the path in the manifest is wrong for this platform's archive, or the archive didn't extract fully.
Common situations: Vendor restructured the tarball (moved binaries into a subdir) without updating the manifest; per-platform archives have different layouts but one shared manifest path; user's download was truncated.
Understand the failure class
Background: "File not found" and ENOENT errors: why libraries can't find a file that should exist — this error's family across 50 libraries.
Related errors
- packslip: @ : manifest digest differs from signed list
- skill asset is not an archive mise can unpack
- the packslip gives no download URL for
- the packslip names an executable
- additional asset ' ' is not an archive
AI-assisted analysis of jdx/mise@533346cc37 (2026-09-17).
Data as JSON: /api/errors/ace9dcde81e29aec.
Report an issue: GitHub.
Appendix: source
Thrown at src/backend/packslip.rs:1068
/// Put every executable the packslip names into the install's bin dir
/// under the name it should have on PATH.
fn link_bins(tv: &ToolVersion, artifact: &Artifact) -> Result<()> {
if artifact.bin.is_empty() {
return Ok(());
}
let install_path = tv.install_path();
let bins_dir = install_path.join(MISE_BINS_DIR);
file::create_dir_all(&bins_dir)?;
for bin in &artifact.bin {
if !file::is_plain_file_name(&bin.name) {
bail!(
"the packslip names an executable {:?}, which is not a plain file name",
bin.name
);
}
let Some(src) = locate_in_install(&install_path, &bin.path) else {
bail!(
"the packslip lists executable {} in {}, but the archive holds no such file",
bin.path,
artifact.name
);
};
file::make_executable(&src)?;
let dst = bin_link_path(&bins_dir, &bin.name);
if dst.exists() || dst.is_symlink() {
file::remove_all(&dst)?;
}
file::make_symlink_or_copy(&src, &dst)?;
}
Ok(())
}
/// Every version the vendor published, before stamps are applied.
async fn vendor_versions(&self, raw_opts: &ToolVersionOptions) -> Result<Vec<VersionInfo>> {
let project = self.project()?;View on GitHub (pinned to 533346cc37)