LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem with tar.gz file (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-tar-gz-file-137567/)

juanb 01-22-2004 04:04 PM

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

thrix 01-22-2004 04:09 PM

I'm not sure, but maybe is that archive damaged

Snodge 01-22-2004 04:25 PM

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 :)

.nyteshyft 01-22-2004 04:53 PM

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

questionasker 01-22-2004 05:01 PM

i use xvzf all the time.

does it really matter what order you put those commands?















(edit: xvzf without a dash)


All times are GMT -5. The time now is 10:35 AM.