#1137512 tar: v1.35 --keep-newer-files incorrectly exits with unexpected

Package:
tar
Source:
tar
Description:
GNU version of the tar archiving utility
Submitter:
Chris Laprise
Date:
2026-05-24 14:09:02 UTC
Severity:
normal
#1137512#5
Date:
2026-05-24 14:07:45 UTC
From:
To:
Dear Maintainer,

Extracting with tar v1.35 and the --keep-newer-files option results in
the spurious (incorrect) error:

'Unexpected inconsistency when making directory'

This prevents scripts using this feature from running.

GNU has already posted a patch to fix this bug back in 2024, their id:
65838. Their report also includes a simple script for reproducing the bug.

GNU URL:
https://savannah.gnu.org/bugs/index.php?65838

Workaround: Reverting to tar v1.34 avoids the error.