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
 

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

reply to topic new topic new poll
Topic: tar problems because of usb?< Next Oldest | Next Newest >
sirka Offline





Group: Members
Posts: 7
Joined: Jan. 2007
Posted: Feb. 06 2007,06:01 QUOTE

I'm running DSL from a pen drive.

I tried to install a few programs and ran into this error when trying to untar
[/home/dsl]# tar -xvfz peercast-linux.tgz
tar: z: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

I redownloaded peercast-linux.tgz to make sure the file isnt bad.  I also had this same problem with a different program I tried to unpack.

I dont know what z: is or why tar would look for it... is it some default drive or directory that would normally be present if I was running the OS from a hard drive?  Is there a way I can change z: to /cdrom so it uses my pen drive?
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Feb. 06 2007,06:15 QUOTE

The order of arguments is mixed up. The "f" should be directly before the filename ("f" means "file"). As a result, tar thinks you are trying to open a file named "z". The "z" option passes the archive through the gzip (or gunzip?) program because it is a compressed archive.

tar -xzvf peercast-linux.tgz


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
sirka Offline





Group: Members
Posts: 7
Joined: Jan. 2007
Posted: Feb. 06 2007,06:23 QUOTE

man, i was completely off on that one

thanks alot!
Back to top
Profile PM 
2 replies since Feb. 06 2007,06:01 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: tar problems because of usb?

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