Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Bug Report: tar cannot unpack .tar.gz files., Bug Report< Next Oldest | Next Newest >
ngmlinux Offline





Group: Members
Posts: 17
Joined: Jan. 2006
Posted: Jan. 29 2006,00:39 QUOTE

I get errors like the following when I try to unzip / untar a .tar.gz file.  Creating .tar.gz files works with no problem in DSL.

Code Sample

dsl@box:~$ tar -xvzf testfile.tar.gz
gzip: Invalid magic
tar: Child returned status 1
tar: Error exit delayed from previous errors


Suprised this was missed when DSL was developed.  I am using the version v2.1 current.
Back to top
Profile PM 
ngmlinux Offline





Group: Members
Posts: 17
Joined: Jan. 2006
Posted: Jan. 29 2006,00:43 QUOTE

Sometimes the error comes up like this:

Code Sample
dsl@box:~$ tar -xvzf testfile.tar.gz

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Jan. 29 2006,01:00 QUOTE

Try placing the z option first.
Back to top
Profile PM WEB 
ngmlinux Offline





Group: Members
Posts: 17
Joined: Jan. 2006
Posted: Jan. 29 2006,18:23 QUOTE

I don't think the option order matters, I made a mistake not gzipping the test file that I tested there so I guess it can untar/unzip files that are tared / ziped in dsl.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Jan. 29 2006,21:34 QUOTE

I think it's more likely that your tar.gz file, or the filesystem on which it resides, is corrupt.  I tar/gzip files on other systems daily, and have no problems opening them in DSL.  Before you start FUDing up the place, please think about that...why is it that you're the only one having this trouble?

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
9 replies since Jan. 29 2006,00:39 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Bug Report: tar cannot unpack .tar.gz files.

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code