File not uncompressing using tar
Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: File not uncompressing using tar

  1. #1
    It's a gas!
    Join Date
    Jul 2002
    Posts
    699

    File not uncompressing using tar

    Wee problem when trying to uncompress a file.

    tar xvzf <filename> gives me a 'Cannot open: no such file or directory' message.

    The files are attempting to uncompress as they are scrolling down the screen but this message appears at the end of each one!

    This is a legit file (original driver disc), so im stuffed!

    Anyone any ideas?

    Cheers

    r3b007

  2. #2
    Master-Jedi-Pimps0r & Moderator thehorse13's Avatar
    Join Date
    Dec 2002
    Location
    Washington D.C. area
    Posts
    2,884
    What is the actual file name? Does it have a Z or a gz at the end? if so, type gunzip filename first then do a tar -xvf filename.

    Anyway, this is all I can offer up without the exact filename.

    Hope this helps.
    Our scars have the power to remind us that our past was real. -- Hannibal Lecter.
    Talent is God given. Be humble. Fame is man-given. Be grateful. Conceit is self-given. Be careful. -- John Wooden

  3. #3
    Just a Virtualized Geek MrLinus's Avatar
    Join Date
    Sep 2001
    Location
    Redondo Beach, CA
    Posts
    7,324
    Two things come to mind:

    - Path

    - location (write permissions)

    An ls -l of the file(s) as well as exact command would be nifty. I've seen it once before with a student and it related to the fact that they had no write permissions as well as how they were attempting to download the file (using lynx)
    Goodbye, Mittens (1992-2008). My pillow will be cold without your purring beside my head
    Extra! Extra! Get your FREE copy of Insight Newsletter||MsMittens' HomePage

  4. #4
    Member
    Join Date
    Dec 2002
    Posts
    31
    Might be that you need to update your extracting program. Give that a try.

    Backtrails
    If your 555 then I\'m 666

    Backtrails

  5. #5
    It's a gas!
    Join Date
    Jul 2002
    Posts
    699
    The files extension is tgz, so therefore tar xvzf should uncompress this.

    MsMittens: Im in the directory where the file is located, so my PATH shouldnt really matter should it?
    An ls -l of the file tells me it is executable by all.
    Also ive tried uncompressing as root but i get the same thing.

    I could be doing something real dumb here but im lost.

    Any ideas?

    r3b007

  6. #6
    Just a Virtualized Geek MrLinus's Avatar
    Join Date
    Sep 2001
    Location
    Redondo Beach, CA
    Posts
    7,324
    Try an absolute path. Maybe path issues?

    Could do either

    tar -xzvf ./filename.tgz

    OR

    tar -xzvf /path/to/filename.tgz
    Goodbye, Mittens (1992-2008). My pillow will be cold without your purring beside my head
    Extra! Extra! Get your FREE copy of Insight Newsletter||MsMittens' HomePage

  7. #7
    Senior Member
    Join Date
    Oct 2001
    Posts
    186
    if tar is not working the command gunzip filename.tgz will extract it.
    Ben Franklin said it best. \"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.\"

  8. #8
    Master-Jedi-Pimps0r & Moderator thehorse13's Avatar
    Join Date
    Dec 2002
    Location
    Washington D.C. area
    Posts
    2,884
    Yeah, you are right, the command *should* work, however, did you try the gunzip command anyway?
    Our scars have the power to remind us that our past was real. -- Hannibal Lecter.
    Talent is God given. Be humble. Fame is man-given. Be grateful. Conceit is self-given. Be careful. -- John Wooden

  9. #9
    It's a gas!
    Join Date
    Jul 2002
    Posts
    699
    Ive tried both of those commands already MsMittens but no joy!
    I have also tried gunzip too guys so no joy there either...

  10. #10
    Just a Virtualized Geek MrLinus's Avatar
    Join Date
    Sep 2001
    Location
    Redondo Beach, CA
    Posts
    7,324
    Hrmm.. disk space?? I dunno.. I'm at a loss at this point..

    <WAGs - Wild Ass Guessing starts>

    unless it's not finding the tar command and gunzip commands!?

    Trojan'd commands maybe?

    <WAGs stop>
    Goodbye, Mittens (1992-2008). My pillow will be cold without your purring beside my head
    Extra! Extra! Get your FREE copy of Insight Newsletter||MsMittens' HomePage

Posting Permissions

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