jdx/mise · error
the signed release list of packslip
Error message
the signed release list of packslip:{project} disappeared; restore the list or explicitly forget this project's packslip pin What it means
This error is raised by packslip pin consistency checking (check_missing_list_at). A pin was previously recorded for this packslip project (an entry exists in the pins file's sequences map keyed by the project), but the underlying signed release list for that project can no longer be loaded. Because silently treating a vanished list as 'no list' would forget the accepted sequence state, mise refuses and asks you to either restore the list or explicitly remove the pin.
Solutions
- Restore the signed release list for the project at the location the pin expects (re-fetch it or restore from backup/git).
- If the list is intentionally gone, explicitly remove the pin for this project (e.g. the forget/unpin operation for packslip pins) so the sequences entry is deleted cleanly.
- Check that the pins file path is the one you intend (a stale or copied pins file can reference projects whose lists were never present).
Example fix
// before: pins file still references a project whose list was deleted // (sequences contains "org/tool" but the signed list file is gone) // after: explicitly forget the pin mise packslip forget org/tool # or restore the signed release list first
Defensive patterns
Strategy: validation
Validate before calling
// before relying on a pinned packslip project, confirm the list still exists
if (!fs.existsSync(pinsFilePath)) throw new Error("pins file missing");
const pins = JSON.parse(fs.readFileSync(pinsFilePath, "utf8"));
if (pins.sequences && pins.sequences[project] && !listFileExists(project)) {
throw new Error(`pin for ${project} exists but its signed release list is gone`);
} Type guard
function hasListForPin(pins, project) {
return !(project in (pins?.sequences ?? {})) || listFileExists(project);
} Try / catch
try {
checkMissingList(pinsFile, project);
} catch (e) {
if (String(e).includes("disappeared")) {
// either restore the list or explicitly forget the pin; never silently continue
restoreListOrForgetPin(project);
} else throw e;
} Prevention
- Keep the pins file and the packslip list directory in the same backup/sync scope so they never diverge.
- Never hand-delete list files; use the explicit forget/unpin command.
- Restore pins and lists together when moving to a new machine.
When it happens
Trigger: Calling check_missing_list (or check_missing_list_at with a pins file path and project name) when the pins file still has a `sequences` entry for the project but the signed release list itself is missing/unreadable — e.g. the list file was deleted, the source moved, or the pin was copied to a machine without the list.
Common situations: Deleting or moving the packslip release-list file while a pin for that project still exists in the pins file; hand-editing or pruning the list directory; syncing configs between machines with an incomplete packslip state directory; restoring an old pins file after the list was already removed.
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
- the packslip of declares a completion, but none of the…
- was not installed from a packslip, so mise does not know…
- an exec entry with no command
- brew-cask: binary artifact
- brew-cask: binary artifact
AI-assisted analysis of jdx/mise@533346cc37 (2026-09-17).
Data as JSON: /api/errors/a2f209efbab1ecd8.
Report an issue: GitHub.
Appendix: source
Thrown at src/packslip_pins.rs:233
);
}
if pins.sequences.get(project) != Some(&sequence) {
pins.sequences.insert(project.to_string(), sequence);
save(path, &pins)?;
}
Ok(())
}
/// An absent supplementary list is allowed only before this machine has
/// accepted one. Its disappearance must not undo signed withdrawals.
pub(crate) fn check_missing_list(project: &str) -> Result<()> {
check_missing_list_at(&pins_file(), project)
}
fn check_missing_list_at(path: &Path, project: &str) -> Result<()> {
let _lock = locked(path)?;
if load(path)?.sequences.contains_key(project) {
bail!(
"the signed release list of packslip:{project} disappeared; restore the list or explicitly forget this project's packslip pin"
);
}
Ok(())
}
/// Every pin, by project.
pub(crate) fn list() -> Result<BTreeMap<String, Pin>> {
Ok(load(&pins_file())?.pins)
}
/// Drop a project's pin and sequence, so the next release accepted sets
/// them again. Returns whether there was one.
pub(crate) fn forget(project: &str) -> Result<bool> {
forget_at(&pins_file(), project)
}
pub(crate) fn forget_at(path: &Path, project: &str) -> Result<bool> {View on GitHub (pinned to 533346cc37)