Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 23
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    tar.gz...Error is not recoverable


    hey,

    I'm trying to install Asterisk on my PC but for some reason it shows the following error, provided my zipped file is in the desktop.

    sudo tar -xfv asterisk-1.6.0.tar.gz
    tar: v: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now


    what am I missing?

    Thanks

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    You missed out the "z" flag which tells tar to filter the archive through gzip since its a gzipped file. Try
    Code:
    tar zxvf somefile.tar.gz

  3. #3
    How to untar a tar.gz file

    1) From the terminal, change to the directory where yourfile.tar.gz has been downloaded.

    Code:
    cd /home/<username>/Desktop

  4. $spacer_open
    $spacer_close
  5. #4
    I tried as below also without '-' , but still I get error:

    tar -zxvf asterisk-1.6.0.13.tar.gz
    tar: asterisk-1.6.0.13.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors


    I'm using Ubuntu-7.04 OS.

    Is the version has to do anything with this install stuff?

  6. #5
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    You need to run the command in the directory where that file is stored lie HROAdmin26 mentioned e.g.
    Code:
    cd /home/user/downloads
    tar zxvf somefile.tar.gz
    Also make sure that the filename is correct.

  7. #6
    hey,

    Thanks for your reply.

    I did as suggested by changing directory as /home/<username>/Desktop.

    But now when I went for configure command like

    sudo ./configure

    I get:

    checking build system type... i686-pc-linux-gnulibc1
    checking host system type... i686-pc-linux-gnulibc1
    checking for gcc... gcc
    checking for C compiler default output file name...
    configure: error: C compiler cannot create executables
    See `config.log' for more details.

    Guess I'm missing a C complier, how do I get rid of this issue?

    Thanks

  8. #7
    How to install software in Linux

    Compiling from source requires a compiler and possibly header/source files from other dependencies.

    I just Googled "ubuntu asterisk howto" and got many hits.

  9. #8
    Linux Guru D-cat's Avatar
    Join Date
    Jan 2009
    Location
    Bounce between Dover, NH - Shapleigh, ME
    Posts
    1,638
    At minimum in Ubuntu, you will need to install the build-essential package. This IS where your version will give you trouble, since Feisty isn't supported any more. You will need to upgrade to at least 8.04LTS (Hardy Heron) in order to make your installs via the repositories.

    If you have your install CD, there is a way to make apt install from the CD, but any foreign dependency issues you run into will stop you cold. I'm thinking your best bet is to upgrade your Ubuntu first.

  10. #9
    How do I upgrade to 8.04 LTS?

    Can I do it online, if YES how?

  11. #10
    Linux Guru D-cat's Avatar
    Join Date
    Jan 2009
    Location
    Bounce between Dover, NH - Shapleigh, ME
    Posts
    1,638
    -->
    Yes and no. The built-in upgrade method wont work any more, so you'll have to download the iso and burn a CD. If you don't have a CD burner, you can also request a CD mailed to you.

    Get Ubuntu - Download, request a CD, or buy on CD/DVD | Ubuntu

Posting Permissions

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