PDA

View Full Version : An error in untarring a file ?



gopikrish
08-21-2004, 12:52 AM
I mounted my floppy drive using mount /floppy and I had a file adsl.tar in that.When I did "tar xzf adsl.tar" to untar it, the following were displayed,
gzip:stdin:not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors.

So how to untar that file?

firebyrd10
08-21-2004, 01:07 AM
Looks like its compressed with something other then gzip I like ark, hit Alt-F2 then type ark. YOu may also be able to just click the fiel.

baldyeti
08-21-2004, 03:36 PM
Your file might not be compressed at all (otherwise the extension would more likely be .tar.gz or .tgz), so 'tar xvf adsL.tar' might work. If not, try 'file adsl.tar' and see how it is identified.

mzilikazi
08-22-2004, 05:36 AM
I mounted my floppy drive using mount /floppy and I had a file adsl.tar in that.When I did "tar xzf adsl.tar" to untar it, the following were displayed,
gzip:stdin:not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors.

So how to untar that file?

You are telling tar to use -z which is for gzipped file format. This file is only tarred not compressed. ;) baldyeti has posted the solution.