Custom Search

Friday, April 27, 2012

Solution tar: This does not look like a tar archive

Solution to untar tar.gz

Issue
-------
$ tar -xzf  file.tar.gz
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors

Solution
-----------
$ gzip -d file.tar.gz
This command will create file.tar

Then do
$ tar -xf file.tar

2 comments:

  1. hola que tal... tengo ese problema con este archivo: SYDateColumn.tgz esa es la extencion estoy trabajando bajo linux debian.. si me pueden ayudar ..

    hi.. i have a problem with this file SYDateColumn.tgz,

    error: tar: This does not look like a tar archive
    tar: Skipping to next header
    tar: Exiting with failure status due to previous errors.. my operating system is linux (debian).. please help!

    ReplyDelete
  2. command for solution: gunzip SYDateColumn.tgz

    ReplyDelete