I get a message this does not look like a tar file. Here is my terminal output. I also am using Squeeze 6.0
root@debian:/home/frank/Downloads# tar -xvf Sprint4GDeveloperPack-1.6.1.2A.tar.gz
tar: This does not look like a tar archive
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
root@debian:/home/frank/Downloads#
I tried google and searching debian forum.
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Solved can't extract a tar file
Solved can't extract a tar file
Last edited by frank56 on 2011-03-26 22:49, edited 1 time in total.
Hi! my name if Frank. I have tried before to jump into linux about 8 years ago, but gave up after not being able to get hardware going. Now I will try again, and feel a need to learn to do more from the command line Frank
Re: can't extract a tar file
Shouldn't you use:
I am not sure but that is what I usually do with tar.gz.
( 'z' option for GZIP)
Alex.
Code: Select all
tar -xzvf
( 'z' option for GZIP)
Alex.
Re: can't extract a tar file
Thanks Alex and 4D. I tried both of your suggestions, hoping its not too late. Here is the results:
frank@debian:~/4Gmodem$ ls
Sprint4GDeveloperPack-1.6.1.2A.tar.gz
frank@debian:~/4Gmodem$ tar -xzvf Sprint4GDeveloperPack-1.6.1.2A.tar.gz
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
frank@debian:~/4Gmodem$
frank@debian:~/4Gmodem$ ls
Sprint4GDeveloperPack-1.6.1.2A.tar.gz
frank@debian:~/4Gmodem$ tar -xzvf Sprint4GDeveloperPack-1.6.1.2A.tar.gz
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
frank@debian:~/4Gmodem$
Hi! my name if Frank. I have tried before to jump into linux about 8 years ago, but gave up after not being able to get hardware going. Now I will try again, and feel a need to learn to do more from the command line Frank
Re: can't extract a tar file
Sounds like a corrupt file. Does this happen with all tar.gz files? or just this one?
Re: can't extract a tar file
I am following this tip on another website. I don't know if it answer part of your question.
rank@debian:~$ echo "hallo" > tempfile
frank@debian:~$ tar cvf tempfile.tar tempfile
tempfile
frank@debian:~$ gzip tempfile.tar
frank@debian:~$ tar zxvf tempfile.tar.gz
tempfile
frank@debian:~$ ls
4Gmodem Documents Music Public tempfile.tar.gz Videos
Desktop Downloads Pictures tempfile Templates
frank@debian:~$
I also typed ...type tar and got .. tar is hashed (/bin/tar). I will try other tar files if I find some.
rank@debian:~$ echo "hallo" > tempfile
frank@debian:~$ tar cvf tempfile.tar tempfile
tempfile
frank@debian:~$ gzip tempfile.tar
frank@debian:~$ tar zxvf tempfile.tar.gz
tempfile
frank@debian:~$ ls
4Gmodem Documents Music Public tempfile.tar.gz Videos
Desktop Downloads Pictures tempfile Templates
frank@debian:~$
I also typed ...type tar and got .. tar is hashed (/bin/tar). I will try other tar files if I find some.
Hi! my name if Frank. I have tried before to jump into linux about 8 years ago, but gave up after not being able to get hardware going. Now I will try again, and feel a need to learn to do more from the command line Frank
Re: can't extract a tar file
I downloaded the first link:
http://www.google.co.uk/search?sclient= ... gle+Search
and it untar-ed just fine. Did you try another download?
http://www.google.co.uk/search?sclient= ... gle+Search
and it untar-ed just fine. Did you try another download?
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.
Solved Re: can't extract a tar file
Thanks everyone. I had cancelled download. I did a new download, following all the tips everyone gave me, and I got this.
frank@debian:~/second_clear4g$ ls
install.sh Sprint4GDeveloperPack-1.6.1.2A.tar.gz
passphrase-o-tron Sprint4GMBBUtilities.tar.gz
patches SprintMobileBroadband3GSetupGuide-Linux-1.4.2.pdf
README.txt SprintMobileBroadband4GSetupGuide-Linux-1.3.pdf
Rel_6.1.2_USB.zip Wimax_Network_CAs.tar.gz
ReleaseNotes.txt
Now I will see if can make this a deb package, using Soul Searchings tips or other. Or somehow get connection manager to work. for Clearwire instead of Sprint.
frank@debian:~/second_clear4g$ ls
install.sh Sprint4GDeveloperPack-1.6.1.2A.tar.gz
passphrase-o-tron Sprint4GMBBUtilities.tar.gz
patches SprintMobileBroadband3GSetupGuide-Linux-1.4.2.pdf
README.txt SprintMobileBroadband4GSetupGuide-Linux-1.3.pdf
Rel_6.1.2_USB.zip Wimax_Network_CAs.tar.gz
ReleaseNotes.txt
Now I will see if can make this a deb package, using Soul Searchings tips or other. Or somehow get connection manager to work. for Clearwire instead of Sprint.
Hi! my name if Frank. I have tried before to jump into linux about 8 years ago, but gave up after not being able to get hardware going. Now I will try again, and feel a need to learn to do more from the command line Frank
-
- Posts: 13
- Joined: 2011-04-08 22:55
Re: Solved can't extract a tar file
you can make life a LOT easier with:
# apt-get install unp
Then just use:
unp filename
for EVERYTHING, unp will analyse the file and use the correct extraction command.
# apt-get install unp
Then just use:
unp filename
for EVERYTHING, unp will analyse the file and use the correct extraction command.