Find the answer to your Linux question:
Results 1 to 9 of 9
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    not in gzip format


    So I downloaded this *.tar.gz and typed:
    tar xzvf <filename>.tar.gz
    and it comes back with:

    gzip: stdin: not in gzip format
    tar: Child returned status 1
    tar: Error exit delayed from previous errors

    I downloaded this from an ftp with Opera. I tried searching sites and forums, but could get no real answers, except some site saying I could try "fixgz", which was a small program it showed in a seperate window...however, I don't know how to turn that into a working program anyway.

    help? it's dark out here...i think i hear wolves...

  2. #2
    Just Joined!
    Join Date
    Jul 2004
    Location
    UK
    Posts
    77
    Try renaming the file from tar.gz to tar.bz2 and then run bunzip2.

    Or rename the file from tar.gz to .tar and run tar xf

    Armage

  3. #3
    Hello,

    I have this same problem.

    Renaming the file is not the solution. Tar or bunzip2 will just tell you that the file is not a tar or buznip2 file.

    Perhaps there is a bug in the gzip program.

    Either way, this issue makes certain aspects of using Linux a real pain.

    Anyone know if the gzip program is just really buggy or is there some other issue.

    -Jose

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer
    Join Date
    May 2003
    Location
    Greece / Athens
    Posts
    1,169
    So I downloaded this *.tar.gz and typed:
    tar xzvf <filename>.tar.gz
    and it comes back with:

    gzip: stdin: not in gzip format
    tar: Child returned status 1
    tar: Error exit delayed from previous errors
    you made a wrong.do the following :
    Code:
    gunzip *.tar.gz
    and then :
    Code:
    tar -xvf *.tar
    then :
    Code:
    cd <folder name of file?
    and finally :
    Code:
    ./configure && make && make install
    that's all!
    Linux For Ever!

  6. #5
    Well,

    I found the problem I was having.

    I was using wget to retrieve the file.

    What I noticed is that the header was wrong.

    I actually did not have a gzip file.

    Perhaps the same thing had happened to the original poster's file. It came down with the wrong header/file type.

    -Jose

  7. #6
    Linux Engineer
    Join Date
    May 2003
    Location
    Greece / Athens
    Posts
    1,169
    i agree with that but look at what he wrote:
    tar xzvf <filename>.tar.gz
    i don't think it's the right way to install.......
    Linux For Ever!

  8. #7
    Check what type of file it actually is
    Code:
    $ file somefile.tar.gz
    file is foo
    --monkey

  9. #8
    Linux Engineer
    Join Date
    May 2003
    Location
    Greece / Athens
    Posts
    1,169
    i think it's .tar.gz ...what else could be?or maybe .tar.bz2..
    Linux For Ever!

  10. #9
    i had the same problem. what i did was i renamed the file <filename>.tar (i took off the .gz) and then entered "tar xf <filename>.tar" and it worked fine.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •