LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-26-2001, 03:37 PM   #1
rdaves@earthlink.net
Member
 
Registered: May 2001
Location: Full-time traveler I live where I am.
Distribution: I use Red Hat V 7.1
Posts: 297

Rep: Reputation: 30
When is a tar file not a tar file?


I am attempting to install "imwheel-0.9.9.tar.gz"
I have downloaded the file to my /home/ directory
then:
# cd /home/
# tar -xvzf imwheel-0.9.9.tar.gz
and get
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors

Although I have successfully performed this action before, I seem to have forgotten or omitted something.

What's wrong?
 
Old 07-26-2001, 03:46 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
That all looks right to me.... not sure why it would give an error like that. Have you tried redownloading it. Clueless here.
 
Old 07-26-2001, 03:58 PM   #3
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Either the file hasn't been gzipped by gzip but another zip program was used or it's not zipped at all.

Try untarring it tar -xvf imwheel-0.9.9.tar.gz .

If that doesn't work, try unzipping it first with another unzip program, then untar it.
 
Old 07-26-2001, 04:16 PM   #4
dilberim82
Member
 
Registered: Apr 2001
Location: NY
Distribution: used to be Redhat, now Debian Sarge
Posts: 291

Rep: Reputation: 30
umm it looks fine but try unzipping it first and then untar it... this way you can figure out if it is zipped or not
gunzip imwheel-0.9.9.tar.gz
and if it does not do it that means it has not been zipped and i think you can just rename it or just
tar -xvf imwheel-0.9.9.tar to untar it.
 
Old 07-26-2001, 04:22 PM   #5
rdaves@earthlink.net
Member
 
Registered: May 2001
Location: Full-time traveler I live where I am.
Distribution: I use Red Hat V 7.1
Posts: 297

Original Poster
Rep: Reputation: 30
Problem solved

I was using "tar xvzf" instead of "tar xvf"
got 'er unstalled
Thanks
 
Old 07-26-2001, 04:57 PM   #6
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
tar xvzf is correct for the file name that you gave. Apparently, the file was not gzipped as it indicated. Good luck.
 
Old 07-26-2001, 08:14 PM   #7
dilberim82
Member
 
Registered: Apr 2001
Location: NY
Distribution: used to be Redhat, now Debian Sarge
Posts: 291

Rep: Reputation: 30
Wink

I don't know where he dl'ed that file but when i dled it was gzipped. Maybe he gunzipped into another directory and he was trying to xvzfing that file I dont know, i guess thats going to be a mstery that none of us will know
 
Old 07-26-2001, 11:20 PM   #8
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Check file permissions. Happened to me a couple times this month.
 
Old 07-27-2001, 02:12 AM   #9
rdaves@earthlink.net
Member
 
Registered: May 2001
Location: Full-time traveler I live where I am.
Distribution: I use Red Hat V 7.1
Posts: 297

Original Poster
Rep: Reputation: 30
Okay, so xvzf is the proper thing to use.
I may have logged off and then logged back on as root. This could change the permissions.

Anyhow, things are fixed. Thanks for the help
 
Old 08-02-2001, 06:18 AM   #10
arraman
LQ Newbie
 
Registered: Jun 2001
Posts: 14

Rep: Reputation: 0
tar

first unzip that file
gzip -d imwheel-0.9.9.tar.gz

then that file becomes imwheel-0.0.9.tar
Now perform the following step

tar xvf imwheel-0.9.9.tar
then you can view the file

Basically this file has been archived (tar) & then zipped.

Hope it's clear now.

RAGHU

Last edited by arraman; 08-02-2001 at 06:21 AM.
 
Old 08-02-2001, 11:35 AM   #11
Stimm
Member
 
Registered: Sep 2000
Location: I live in Williamsville NY, I'm from Lasvegas
Posts: 45

Rep: Reputation: 15
this is the easiest question to figure out, when he downloaded the tar.gz file his MOZILLA browser unzipped the file automaticly!. but left the gz file name, wow, read your docs....
 
  


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 On
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
Unable to use tar -xzvf with a abc.tar.gz file kakultech Linux - Software 6 11-08-2010 11:03 AM
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
tar -cvzf file.xml file.tar.gz RickHunter_Ve Linux - Software 1 10-06-2004 12:58 PM
problem unzipping a tar.bz2 file tar: Error is not recov jyome Linux - Software 4 09-04-2003 01:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:56 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