Page 1 of 1

problem with tar

Posted: 24. Aug 2010, 20:22
by justwantin
I'm using version 13.1.

I have found that I cannot use tar.

Code: Select all

rick[Downloads]$ tar -xvzf broadcom-sta.tar.gz 

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
This command will extract the same tarball on slack-13.1.

Any suggestions?

Re: problem with tar

Posted: 24. Aug 2010, 21:13
by gapan
You have a bad download. tar works fine, you need to download broadcom-sta.tar.gz again.

Re: problem with tar

Posted: 25. Aug 2010, 08:00
by Polesz
Hint, use file command:

Code: Select all

file broadcom-sta.tar.gz
if gzip compressed tar:

Code: Select all

$ file 118750-Extra-Icons.tar.gz 
118750-Extra-Icons.tar.gz: gzip compressed data, from Unix, last modified: Sat Jan 30 01:02:43 2010
Testing tar.gz archive:

Code: Select all

tar tzvf filename.tar.gz
Universal compressed file test (-t), extract (-x) use tar -thf filename.tar.[gz|bz2|xz] etc...

Use man tar for more information.

--
Sorry for my bad English