LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   can not extract the tar.gz file (https://www.linuxquestions.org/questions/linux-software-2/can-not-extract-the-tar-gz-file-369886/)

sharad durgawad 10-05-2005 12:53 AM

can not extract the tar.gz file
 
From linux machine I checked out the tar.gz package and burnt the
CD using Nero5 in windows.Then I copied the tar.gz package from
CD to linux machine.
Then I performed following operations.


$ tar -xvzf <tar.gz>

I can't extract the tar.gz file with regular tar command.
Also I used gzip and gunzip utilities.
After executing <tar> command it give following error.

tar:skipping to next header
tar:error exit delayed from previous error.

freakyg 10-05-2005 01:40 AM

Code:

tar -zvcf <filename>

Aju 10-05-2005 02:19 AM

Quote:

Also I used gzip and gunzip utilities.
Did u get the tar ball after using gzip/gunzip?

jschiwal 10-05-2005 02:41 AM

Your command to extract the tarball was correct.
You may have a damaged file however. If you used the gunzip program first then do not use the -z option.

You might also use the file command. Sometimes a file is saved with the wrong extension. The "file" command looks inside the file.


All times are GMT -5. The time now is 12:49 AM.