problem with tar

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
justwantin
Posts: 44
Joined: 21. Jul 2010, 11:12

problem with tar

Post 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?
Merit?
None whatsoever!

www.turtlespond.net
User avatar
gapan
Salix Wizard
Posts: 6244
Joined: 6. Jun 2009, 17:40

Re: problem with tar

Post by gapan »

You have a bad download. tar works fine, you need to download broadcom-sta.tar.gz again.
Image
Image
Polesz
Posts: 11
Joined: 17. Jul 2010, 19:11
Location: Eger, Hungary

Re: problem with tar

Post 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
Post Reply