LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-05-2005, 12:53 AM   #1
sharad durgawad
LQ Newbie
 
Registered: Sep 2005
Location: India
Posts: 6

Rep: Reputation: 0
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.
 
Old 10-05-2005, 01:40 AM   #2
freakyg
Member
 
Registered: Apr 2005
Distribution: LFS 5.0 and 6.1
Posts: 705

Rep: Reputation: 30
Code:
tar -zvcf <filename>
 
Old 10-05-2005, 02:19 AM   #3
Aju
LQ Newbie
 
Registered: Aug 2005
Location: ~
Distribution: Red Hat 9
Posts: 14

Rep: Reputation: 0
Quote:
Also I used gzip and gunzip utilities.
Did u get the tar ball after using gzip/gunzip?
 
Old 10-05-2005, 02:41 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to extract "tar.gz" file - please try for me Riddick Linux - Software 6 08-27-2005 04:57 PM
How to extract a tar.gz file? deWin Linux - Newbie 3 11-10-2004 11:24 AM
Gentoo - Can't Extract Tar file quintar_51 Linux - Distributions 4 11-11-2003 07:32 AM
Couldn't extract tar.gz file on Redhat 9 kbrams Linux - Newbie 6 10-06-2003 11:31 AM
extract and locating tar.gz file... zagreb Linux - Newbie 2 03-02-2003 02:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration