“An error occurred while loading the archive” when extracting Kali Linux.7z on Ubuntu












0















I'm downloading Kali Linux 2016.1 for Virtual Box, which only had a torrented .7z file available, but I'm not able to extract it with Archive manager or p7zip.



After installing sudo apt-get install p7zip-full I tried these two commands:



7za e  Kali-Linux-2016.1-vbox-i686.7z
7za x Kali-Linux-2016.1-vbox-i686.7z


The error I get is:



error: there is no such archive


The path of the file is Home/Downloads/Kali-Linux-2016.1-vbox-i686/Kali-Linux-2016.1-vbox-i686.7z










share|improve this question

























  • Please edit your question and add i) the exact command you ran; ii) the exact error you received.

    – terdon
    Aug 14 '16 at 14:42











  • @terdon okay it's edited

    – Zach
    Aug 14 '16 at 14:47






  • 2





    and does that file actually exist? Where did you save it? That error suggests there is simply no file of that name. Please edit your question and give us the full path to the archive and the output of ls -l on it.

    – terdon
    Aug 14 '16 at 14:56











  • @terdon I added the path, not sure what the ls -l is... Sorry I'm new with this sort of thing.

    – Zach
    Aug 14 '16 at 22:31






  • 1





    ls is a terminal command that will list files. Without other arguments it lists those in the current directory. It's a way to reassure that the a file exists where you expect it to exist. May I suggest however, that you use Archive Manager instead of terminal programs if you don't know how to use them? The former actually uses the latter any way so for a simple archive extraction there's no advantage. If the extraction didn't work there should be a pop-up window with an error message. What exactly did you do to try to extract the archive with Archive Manager?

    – David Foerster
    Aug 15 '16 at 7:28


















0















I'm downloading Kali Linux 2016.1 for Virtual Box, which only had a torrented .7z file available, but I'm not able to extract it with Archive manager or p7zip.



After installing sudo apt-get install p7zip-full I tried these two commands:



7za e  Kali-Linux-2016.1-vbox-i686.7z
7za x Kali-Linux-2016.1-vbox-i686.7z


The error I get is:



error: there is no such archive


The path of the file is Home/Downloads/Kali-Linux-2016.1-vbox-i686/Kali-Linux-2016.1-vbox-i686.7z










share|improve this question

























  • Please edit your question and add i) the exact command you ran; ii) the exact error you received.

    – terdon
    Aug 14 '16 at 14:42











  • @terdon okay it's edited

    – Zach
    Aug 14 '16 at 14:47






  • 2





    and does that file actually exist? Where did you save it? That error suggests there is simply no file of that name. Please edit your question and give us the full path to the archive and the output of ls -l on it.

    – terdon
    Aug 14 '16 at 14:56











  • @terdon I added the path, not sure what the ls -l is... Sorry I'm new with this sort of thing.

    – Zach
    Aug 14 '16 at 22:31






  • 1





    ls is a terminal command that will list files. Without other arguments it lists those in the current directory. It's a way to reassure that the a file exists where you expect it to exist. May I suggest however, that you use Archive Manager instead of terminal programs if you don't know how to use them? The former actually uses the latter any way so for a simple archive extraction there's no advantage. If the extraction didn't work there should be a pop-up window with an error message. What exactly did you do to try to extract the archive with Archive Manager?

    – David Foerster
    Aug 15 '16 at 7:28
















0












0








0








I'm downloading Kali Linux 2016.1 for Virtual Box, which only had a torrented .7z file available, but I'm not able to extract it with Archive manager or p7zip.



After installing sudo apt-get install p7zip-full I tried these two commands:



7za e  Kali-Linux-2016.1-vbox-i686.7z
7za x Kali-Linux-2016.1-vbox-i686.7z


The error I get is:



error: there is no such archive


The path of the file is Home/Downloads/Kali-Linux-2016.1-vbox-i686/Kali-Linux-2016.1-vbox-i686.7z










share|improve this question
















I'm downloading Kali Linux 2016.1 for Virtual Box, which only had a torrented .7z file available, but I'm not able to extract it with Archive manager or p7zip.



After installing sudo apt-get install p7zip-full I tried these two commands:



7za e  Kali-Linux-2016.1-vbox-i686.7z
7za x Kali-Linux-2016.1-vbox-i686.7z


The error I get is:



error: there is no such archive


The path of the file is Home/Downloads/Kali-Linux-2016.1-vbox-i686/Kali-Linux-2016.1-vbox-i686.7z







virtualbox zip kali 7zip






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 15 '16 at 7:30







user308164

















asked Aug 14 '16 at 14:41









ZachZach

113




113













  • Please edit your question and add i) the exact command you ran; ii) the exact error you received.

    – terdon
    Aug 14 '16 at 14:42











  • @terdon okay it's edited

    – Zach
    Aug 14 '16 at 14:47






  • 2





    and does that file actually exist? Where did you save it? That error suggests there is simply no file of that name. Please edit your question and give us the full path to the archive and the output of ls -l on it.

    – terdon
    Aug 14 '16 at 14:56











  • @terdon I added the path, not sure what the ls -l is... Sorry I'm new with this sort of thing.

    – Zach
    Aug 14 '16 at 22:31






  • 1





    ls is a terminal command that will list files. Without other arguments it lists those in the current directory. It's a way to reassure that the a file exists where you expect it to exist. May I suggest however, that you use Archive Manager instead of terminal programs if you don't know how to use them? The former actually uses the latter any way so for a simple archive extraction there's no advantage. If the extraction didn't work there should be a pop-up window with an error message. What exactly did you do to try to extract the archive with Archive Manager?

    – David Foerster
    Aug 15 '16 at 7:28





















  • Please edit your question and add i) the exact command you ran; ii) the exact error you received.

    – terdon
    Aug 14 '16 at 14:42











  • @terdon okay it's edited

    – Zach
    Aug 14 '16 at 14:47






  • 2





    and does that file actually exist? Where did you save it? That error suggests there is simply no file of that name. Please edit your question and give us the full path to the archive and the output of ls -l on it.

    – terdon
    Aug 14 '16 at 14:56











  • @terdon I added the path, not sure what the ls -l is... Sorry I'm new with this sort of thing.

    – Zach
    Aug 14 '16 at 22:31






  • 1





    ls is a terminal command that will list files. Without other arguments it lists those in the current directory. It's a way to reassure that the a file exists where you expect it to exist. May I suggest however, that you use Archive Manager instead of terminal programs if you don't know how to use them? The former actually uses the latter any way so for a simple archive extraction there's no advantage. If the extraction didn't work there should be a pop-up window with an error message. What exactly did you do to try to extract the archive with Archive Manager?

    – David Foerster
    Aug 15 '16 at 7:28



















Please edit your question and add i) the exact command you ran; ii) the exact error you received.

– terdon
Aug 14 '16 at 14:42





Please edit your question and add i) the exact command you ran; ii) the exact error you received.

– terdon
Aug 14 '16 at 14:42













@terdon okay it's edited

– Zach
Aug 14 '16 at 14:47





@terdon okay it's edited

– Zach
Aug 14 '16 at 14:47




2




2





and does that file actually exist? Where did you save it? That error suggests there is simply no file of that name. Please edit your question and give us the full path to the archive and the output of ls -l on it.

– terdon
Aug 14 '16 at 14:56





and does that file actually exist? Where did you save it? That error suggests there is simply no file of that name. Please edit your question and give us the full path to the archive and the output of ls -l on it.

– terdon
Aug 14 '16 at 14:56













@terdon I added the path, not sure what the ls -l is... Sorry I'm new with this sort of thing.

– Zach
Aug 14 '16 at 22:31





@terdon I added the path, not sure what the ls -l is... Sorry I'm new with this sort of thing.

– Zach
Aug 14 '16 at 22:31




1




1





ls is a terminal command that will list files. Without other arguments it lists those in the current directory. It's a way to reassure that the a file exists where you expect it to exist. May I suggest however, that you use Archive Manager instead of terminal programs if you don't know how to use them? The former actually uses the latter any way so for a simple archive extraction there's no advantage. If the extraction didn't work there should be a pop-up window with an error message. What exactly did you do to try to extract the archive with Archive Manager?

– David Foerster
Aug 15 '16 at 7:28







ls is a terminal command that will list files. Without other arguments it lists those in the current directory. It's a way to reassure that the a file exists where you expect it to exist. May I suggest however, that you use Archive Manager instead of terminal programs if you don't know how to use them? The former actually uses the latter any way so for a simple archive extraction there's no advantage. If the extraction didn't work there should be a pop-up window with an error message. What exactly did you do to try to extract the archive with Archive Manager?

– David Foerster
Aug 15 '16 at 7:28












1 Answer
1






active

oldest

votes


















0














When you run a terminal command giving it a file as input, the file must exist. If the file is in your current directory, it is enough to give the file name (command file). If, however, the file is in another directory, you need to give its path (command /path/to/file).



In your case, you have saved the archive in $HOME/Downloads/Kali-Linux-2016.1-vbox-i686/Kali-Linux-2016.1-vbox-i686.7z, so you need to do one of:





  1. Use the file's path



    7za e  $HOME/Downloads/Kali-Linux-2016.1-vbox-i686/Kali-Linux-2016.1-vbox-i686.7z



  2. Move into the directory before running the command:



    cd $HOME/Downloads/Kali-Linux-2016.1-vbox-i686/
    7za e Kali-Linux-2016.1-vbox-i686.7z







share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f812199%2fan-error-occurred-while-loading-the-archive-when-extracting-kali-linux-7z-on-u%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    When you run a terminal command giving it a file as input, the file must exist. If the file is in your current directory, it is enough to give the file name (command file). If, however, the file is in another directory, you need to give its path (command /path/to/file).



    In your case, you have saved the archive in $HOME/Downloads/Kali-Linux-2016.1-vbox-i686/Kali-Linux-2016.1-vbox-i686.7z, so you need to do one of:





    1. Use the file's path



      7za e  $HOME/Downloads/Kali-Linux-2016.1-vbox-i686/Kali-Linux-2016.1-vbox-i686.7z



    2. Move into the directory before running the command:



      cd $HOME/Downloads/Kali-Linux-2016.1-vbox-i686/
      7za e Kali-Linux-2016.1-vbox-i686.7z







    share|improve this answer




























      0














      When you run a terminal command giving it a file as input, the file must exist. If the file is in your current directory, it is enough to give the file name (command file). If, however, the file is in another directory, you need to give its path (command /path/to/file).



      In your case, you have saved the archive in $HOME/Downloads/Kali-Linux-2016.1-vbox-i686/Kali-Linux-2016.1-vbox-i686.7z, so you need to do one of:





      1. Use the file's path



        7za e  $HOME/Downloads/Kali-Linux-2016.1-vbox-i686/Kali-Linux-2016.1-vbox-i686.7z



      2. Move into the directory before running the command:



        cd $HOME/Downloads/Kali-Linux-2016.1-vbox-i686/
        7za e Kali-Linux-2016.1-vbox-i686.7z







      share|improve this answer


























        0












        0








        0







        When you run a terminal command giving it a file as input, the file must exist. If the file is in your current directory, it is enough to give the file name (command file). If, however, the file is in another directory, you need to give its path (command /path/to/file).



        In your case, you have saved the archive in $HOME/Downloads/Kali-Linux-2016.1-vbox-i686/Kali-Linux-2016.1-vbox-i686.7z, so you need to do one of:





        1. Use the file's path



          7za e  $HOME/Downloads/Kali-Linux-2016.1-vbox-i686/Kali-Linux-2016.1-vbox-i686.7z



        2. Move into the directory before running the command:



          cd $HOME/Downloads/Kali-Linux-2016.1-vbox-i686/
          7za e Kali-Linux-2016.1-vbox-i686.7z







        share|improve this answer













        When you run a terminal command giving it a file as input, the file must exist. If the file is in your current directory, it is enough to give the file name (command file). If, however, the file is in another directory, you need to give its path (command /path/to/file).



        In your case, you have saved the archive in $HOME/Downloads/Kali-Linux-2016.1-vbox-i686/Kali-Linux-2016.1-vbox-i686.7z, so you need to do one of:





        1. Use the file's path



          7za e  $HOME/Downloads/Kali-Linux-2016.1-vbox-i686/Kali-Linux-2016.1-vbox-i686.7z



        2. Move into the directory before running the command:



          cd $HOME/Downloads/Kali-Linux-2016.1-vbox-i686/
          7za e Kali-Linux-2016.1-vbox-i686.7z








        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Aug 15 '16 at 7:58









        terdonterdon

        66.5k12139221




        66.5k12139221






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f812199%2fan-error-occurred-while-loading-the-archive-when-extracting-kali-linux-7z-on-u%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Human spaceflight

            Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

            張江高科駅