main/tar: version 1.35 broken --keep-newer-files - Unexpected inconsistency when making directory
Package Information
- Package name: tar
- Package version: tar-1.35-r2
- Alpine version: 3.19.1
- Alpine architecture: x86_64
Summary
Unpacking with a command like tar xzv --keep-newer-files -f test.tgz
reports an error:
/
tar: .: Unexpected inconsistency when making directory
./down.sh
tar: Current ‘./down.sh’ is newer or same age
./up.sh
tar: Current ‘./up.sh’ is newer or same age
tar: Exiting with failure status due to previous errors
The archive is extracted as expected, but it reports this error.
The exit code is 2. So any scripts checking for success fail while using this tar.
Same archive file works without problems on a different installation and Gnu tar 1.34 (glibc).
Google results only reports about a problem with same error dating back to 2022.
Steps to reproduce
See above.