linux - Invalid compressed data--format violated? -
i want extract data xxx.tar.gz file using tar -zxvf
command, wrong occurs me, here's detail:
suse11-configserver:/home/webapp/wiki # tar -zxvf dokuwiki.20151010.tar.gz
./dokuwiki/
./dokuwiki/._.htaccess.dist
./dokuwiki/.htaccess.dist
./dokuwiki/bin/
./dokuwiki/conf/
./dokuwiki/._copying
./dokuwiki/copying
tar: jump next head
gzip: stdin: invalid compressed data--format violated
tar: child returned status 1
tar: error not recoverable: exiting
but command tar -zxvf dokuwiki.20151010.tar.gz
goes in macos x
system, can not figure out reason.
your command correct. seems file corrupted. it's easy tell, when files correctly extracted (for example ./dokuwiki/.htaccess.dist
), not rest.
recreate dokuwiki.20151010.tar.gz
file, , make sure doesn't report errors while doing so. if downloaded file somewhere, verify checksum, or @ least file size.
the bottomline is, either file incorrectly created or downloaded. command have should work fine .tar.gz
file.
Comments
Post a Comment