Closed baolonglin closed 3 years ago
Could you give me more details? What's your OS? What's output of tar --version
?
OS: NAME="SLES" VERSION="12-SP2" VERSION_ID="12.2" PRETTY_NAME="SUSE Linux Enterprise Server 12 SP2" ID="sles" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:suse:sles:12:sp2"
Tar version: tar (GNU tar) 1.27.1 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
c9d4f69 gnu tar format could be screwed up by env (Chen Bin)
The tar which I used is: tar (GNU tar) 1.27.1
It use the --format=posix(pax) by default, it will cause error: "Package does not untar cleanly into directory %s/"
Patch like blow solve the error: