Skip to content
Docs
Errors

tar_order

Tar entries are not in strictly ascending path-byte order, or a path repeats.

Tar entries are not in strictly ascending path-byte order, or a path repeats.

KindBuild or validation problem
Reported byArchive validation (registry, room hosts, disko publish)
disko exit code1 (problems)

The tar entries are not sorted in strictly ascending order by their path bytes, or the same path appears twice. The fixed order is part of what makes an archive reproducible.

Why it happens

Archive validation reports this code: the registry on upload, and room hosts before loading. disko publish sorts entries itself. Other tools write entries in directory-listing order, or append a changed file a second time.

Wrong

text
text

Build the archive with disko publish --dry-run --out release.tgz instead of by hand.

See also