LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-22-2004, 04:04 PM   #1
juanb
Member
 
Registered: May 2002
Posts: 401

Rep: Reputation: 30
Problem with tar.gz file


Hi !

I use RH 8.

I am logged as root and I try to open a file linux-2.4.18-ow0.tar.gz

I tried the comnnad:

tar -zxvf linux-2.4.18-ow0.tar.gz

and I recive the following error:

gzip:stdin:unexpected end of file
tar:child returned status 1
tar:error exit delayed from previos errors.

whats going on?

thanks
 
Old 01-22-2004, 04:09 PM   #2
thrix
Member
 
Registered: Jan 2004
Location: Nove Zamky > Slovakia
Distribution: Slackware 9.1
Posts: 57

Rep: Reputation: 15
I'm not sure, but maybe is that archive damaged
 
Old 01-22-2004, 04:25 PM   #3
Snodge
LQ Newbie
 
Registered: Dec 2003
Posts: 6

Rep: Reputation: 0
Try using:

file linux-2.4.18-ow0.tar.gz

The file command should then tell you what sort of file it is. If it doesn't say it is gzipped, it could be bzipped instead, or even just a tar file - or just corrupt. Either way, file should be able to tell you
 
Old 01-22-2004, 04:53 PM   #4
.nyteshyft
Member
 
Registered: Jan 2004
Location: Melbourne, Australia
Distribution: Mandrake 9.1
Posts: 48

Rep: Reputation: 15
try the command without the "-"
i.e: tar zxvf linux-2.4.18-ow0.tar.gz
i dont use the "-" and i got no probs
 
Old 01-22-2004, 05:01 PM   #5
questionasker
Member
 
Registered: Aug 2003
Location: North Carolina, USA
Distribution: Onebase 2004-r2 | Updated through 6-10-04
Posts: 359

Rep: Reputation: 30
i use xvzf all the time.

does it really matter what order you put those commands?















(edit: xvzf without a dash)
 
  


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
how can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 14 10-25-2016 02:48 AM
I have a problem with a tar file mctom Linux - Software 5 10-15-2005 08:20 PM
gave wrong syntax for tar as tar -cvzf file file.tgz how to recover the file gautham Linux - General 4 04-13-2005 03:15 AM
problem unzipping a tar.bz2 file tar: Error is not recov jyome Linux - Software 4 09-04-2003 01:04 PM
problem in unzipping the tar file jyome Linux - Software 1 09-04-2003 08:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:12 PM.

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