Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21

Thread: File not uncompressing using tar

  1. #11
    It's a gas!
    Join Date
    Jul 2002
    Posts
    699
    LOL, im the same!
    Disc space = 40GB
    The tar and gunzip commands seem to be found as the individual files of the tarball are being displayed, its just telling me theres no such file or directory!

    Bleh!

    Cheers all for trying to help anyways

    r3b007

  2. #12
    Senior Member
    Join Date
    Apr 2002
    Posts
    1,050
    is it a long file extension r3b00+ ? i had simmilar problems with long filename's too
    so say for example it was the opera tar ball i downloaded and the file was called opera-23-34-545-6justverylong.tgz
    it would have problems extracting it so try this as useing opera as an example tar zxvf opera*tgz and if that doesent work try downloading the tar ball again something could have went wrong if you were on a proxy or something and the file wast fully downloaded

    p.s what you been up to PM me
    By the sacred **** of the sacred psychedelic tibetan yeti ....We\'ll smoke the chinese out
    The 20th century pharoes have the slaves demanding work
    http://muaythaiscotland.com/

  3. #13
    very strange if its origanal try surfing the net for the same file maybe?download and replace

  4. #14
    Senior Member
    Join Date
    Jan 2002
    Posts
    1,207
    there is possibly another error message before all the "no such file or directory". "No such file or directory" when untaring probably means it failed to create a directory somewhere down the line.

    Try viewing the error messages with |less or something, like

    Code:
    tar -zxf blah.tgz  2>&1 |less
    Look for the *first* error message, it will be much more helpful.

    Possible causes:

    - Permission denied
    - Trying to create a directory when a file of the same name already exists

    or something else

  5. #15
    Junior Member
    Join Date
    Feb 2003
    Posts
    12
    Check out the disk space.Because tar -xvzf creates a new directory.If u have enough disk space then do the unzip command and then tar-xvzf with absolute path.

    By the way can I know thw exact filename
    Twister... will destroy.... everything

  6. #16
    Senior Member
    Join Date
    Aug 2002
    Posts
    508
    r3b00+,

    When you in that directory, try to check if that file you've downloaded in there. Let's say your file is A.tgz
    #cd /home/r3b00+ <<< I assuming your file in this directory
    # ls | more or you can use ls | grep A.tgz
    if not showing your A.tgz that's mean you cd to wrong directory and you cannot uncompressing your A.tgz file.

    Just my opinion though

    Cheerss

    Annya
    Not an image or image does not exist!
    Not an image or image does not exist!

  7. #17
    Webius Designerous Indiginous
    Join Date
    Mar 2002
    Location
    South Florida
    Posts
    1,123
    hrmm.. A few things come to mind.


    1) First redownload it. Sometimes these things just happen.

    2) Try finding the file from another ftp

    3) Open it with vi and take a peek at it. Maybe its actually a source code. Funny things happen on day 10 of strait coding.. lots of coffee.. and no sleep. Maybe the coder just messed up the file type.

    4) try rpm'n it. (see above for explanation)

    5) try seeing if its a binary (see above)

    6) like MsM said.. check to make sure your tar commands are not aliased or trojan'd somewhere.

    7) Check permissions again... chmod 777 it again just for kicks

    8) check the paths again...

    9) try other compression utilities

    10) try messin with it in windows.. scarier stuff has happened before

    11) write the author



    well, thats about it from me.. good luck..


    xmaddness

  8. #18
    Antionline Herpetologist
    Join Date
    Aug 2001
    Posts
    1,165
    One more thing that you could do is to check the contents of the file using the file command. It'll tell you what type of file it is. Try file <filename>.
    Cheers,
    cgkanchi
    Buy the Snakes of India book, support research and education (sorry the website has been discontinued)
    My blog: http://biology000.blogspot.com

  9. #19
    Leftie Linux Lover the_JinX's Avatar
    Join Date
    Nov 2001
    Location
    Beverwijk Netherlands
    Posts
    2,534
    Another (lame) option..

    If you have a filemanager (like konqueror or that gnome thing or even MidnightCommander (mc) ) you could try to open the file with that ( by clicking, double-clicking or pressing [Enter] on the file)

    I have experienced that sometimes files that wouldn't open with tar xzvf or zjvf could be opened that way...

    ark (kde archiver) works too sometimes.. ( ark /path/to/filename )

    It's a lame workaround, but sometimes it works..

    also, could the .tgz be a slackpack or some other kind of package) ( installpkg should work then)
    ASCII stupid question, get a stupid ANSI.
    When in Russia, pet a PETSCII.

    Get your ass over to SLAYRadio the best station for C64 Remixes !

  10. #20
    Senior Member
    Join Date
    Oct 2001
    Posts
    638
    Rename the file.tgz to file.tar.gz then try to decompress it using:

    gzip -d file.tar.gz

    If this doesn't work then it's not a gzip compressed file. Keep in mind that tar usually does the archiving and another program is usually used for (de)compressing the archive. If you've tarred and gzipped an archive on a 64 bit OS, you'll have problems running tar -xzf on a 32 bit OS. If you're still having trouble, send me the file, I'll have a look.
    OpenBSD - The proactively secure operating system.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •