How to fix vmware header error?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















I'm trying to run vmware on my kali linux 2.0 box, because I want a lab to practice my skills on, but vmware won't launch it's giving my an error message saying "C header files matching your running kernel were not found", I ran a command to fix it but then the command spit out some error message



  root@kali:~# sudo apt-get install -y linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-4.3.0-kali1-amd64
E: Couldn't find any package by glob 'linux-headers-4.3.0-kali1-amd64'
E: Couldn't find any package by regex 'linux-headers-4.3.0-kali1-amd64'
root@kali:~#









share|improve this question





























    0















    I'm trying to run vmware on my kali linux 2.0 box, because I want a lab to practice my skills on, but vmware won't launch it's giving my an error message saying "C header files matching your running kernel were not found", I ran a command to fix it but then the command spit out some error message



      root@kali:~# sudo apt-get install -y linux-headers-$(uname -r)
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package linux-headers-4.3.0-kali1-amd64
    E: Couldn't find any package by glob 'linux-headers-4.3.0-kali1-amd64'
    E: Couldn't find any package by regex 'linux-headers-4.3.0-kali1-amd64'
    root@kali:~#









    share|improve this question

























      0












      0








      0








      I'm trying to run vmware on my kali linux 2.0 box, because I want a lab to practice my skills on, but vmware won't launch it's giving my an error message saying "C header files matching your running kernel were not found", I ran a command to fix it but then the command spit out some error message



        root@kali:~# sudo apt-get install -y linux-headers-$(uname -r)
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      E: Unable to locate package linux-headers-4.3.0-kali1-amd64
      E: Couldn't find any package by glob 'linux-headers-4.3.0-kali1-amd64'
      E: Couldn't find any package by regex 'linux-headers-4.3.0-kali1-amd64'
      root@kali:~#









      share|improve this question














      I'm trying to run vmware on my kali linux 2.0 box, because I want a lab to practice my skills on, but vmware won't launch it's giving my an error message saying "C header files matching your running kernel were not found", I ran a command to fix it but then the command spit out some error message



        root@kali:~# sudo apt-get install -y linux-headers-$(uname -r)
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      E: Unable to locate package linux-headers-4.3.0-kali1-amd64
      E: Couldn't find any package by glob 'linux-headers-4.3.0-kali1-amd64'
      E: Couldn't find any package by regex 'linux-headers-4.3.0-kali1-amd64'
      root@kali:~#






      bash shell-script kali-linux vmware






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 28 '16 at 19:27









      user168075user168075

      1




      1






















          2 Answers
          2






          active

          oldest

          votes


















          0














          Try apt-cache search linux-headers or install Synaptic. See How do I search for available packages from the command-line?. Be aware that if no headers exist for whatever uname -r returns, you will need to upgrade, or downgrade, your kernel until you have a matching set.






          share|improve this answer

































            0














            I believe I have a solution for you. Recently I have installed Kali Linux on my machine and I noticed a similar issue. Executing the following sudo apt-get install linux-headers-$(uname -r) will only fetch form the repositories in your sources.list file. Now in my case the repositories that I have available are outdated therefore I resulted to installing the Linux Headers manually by downloading the packages then using dpkg. Here is how I accomplished that:



            If your system is 32 bit:



            1) Wget the following files



             wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.4-wily/linux-headers-4.3.4-040304_4.3.4-040304.201601230132_all.deb
            wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.4-wily/linux-headers-4.3.4-040304-generic_4.3.4-040304.201601230132_i386.deb
            wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.4-wily/linux-image-4.3.4-040304-generic_4.3.4-040304.201601230132_i386.deb


            2) Install the following packages by issuing:



            sudo dpkg -i linux-headers-4.3.4*.deb linux-image-4.3.4*.deb


            3) Reboot your system:



            sudo reboot


            If your system is 64 bit:



            1) Wget the following files



            wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.4-wily/linux-headers-4.3.4-040304_4.3.4-040304.201601230132_all.deb
            wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.4-wily/linux-headers-4.3.4-040304-generic_4.3.4-040304.201601230132_amd64.deb
            wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.4-wily/linux-image-4.3.4-040304-generic_4.3.4-040304.201601230132_amd64.deb


            2) Install the following packages by issuing:



            sudo dpkg -i linux-headers-4.3.4*.deb linux-image-4.3.4*.deb


            3) Reboot your system:



            sudo reboot


            If you wish to uninstall the header files issue the following:



            sudo apt-get remove 'linux-headers-4.3.4*' 'linux-image-4.3.4*'





            share|improve this answer


























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "106"
              };
              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: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              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%2funix.stackexchange.com%2fquestions%2f279828%2fhow-to-fix-vmware-header-error%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              0














              Try apt-cache search linux-headers or install Synaptic. See How do I search for available packages from the command-line?. Be aware that if no headers exist for whatever uname -r returns, you will need to upgrade, or downgrade, your kernel until you have a matching set.






              share|improve this answer






























                0














                Try apt-cache search linux-headers or install Synaptic. See How do I search for available packages from the command-line?. Be aware that if no headers exist for whatever uname -r returns, you will need to upgrade, or downgrade, your kernel until you have a matching set.






                share|improve this answer




























                  0












                  0








                  0







                  Try apt-cache search linux-headers or install Synaptic. See How do I search for available packages from the command-line?. Be aware that if no headers exist for whatever uname -r returns, you will need to upgrade, or downgrade, your kernel until you have a matching set.






                  share|improve this answer















                  Try apt-cache search linux-headers or install Synaptic. See How do I search for available packages from the command-line?. Be aware that if no headers exist for whatever uname -r returns, you will need to upgrade, or downgrade, your kernel until you have a matching set.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Apr 13 '17 at 12:22









                  Community

                  1




                  1










                  answered Apr 28 '16 at 20:38









                  eyoung100eyoung100

                  4,8331541




                  4,8331541

























                      0














                      I believe I have a solution for you. Recently I have installed Kali Linux on my machine and I noticed a similar issue. Executing the following sudo apt-get install linux-headers-$(uname -r) will only fetch form the repositories in your sources.list file. Now in my case the repositories that I have available are outdated therefore I resulted to installing the Linux Headers manually by downloading the packages then using dpkg. Here is how I accomplished that:



                      If your system is 32 bit:



                      1) Wget the following files



                       wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.4-wily/linux-headers-4.3.4-040304_4.3.4-040304.201601230132_all.deb
                      wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.4-wily/linux-headers-4.3.4-040304-generic_4.3.4-040304.201601230132_i386.deb
                      wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.4-wily/linux-image-4.3.4-040304-generic_4.3.4-040304.201601230132_i386.deb


                      2) Install the following packages by issuing:



                      sudo dpkg -i linux-headers-4.3.4*.deb linux-image-4.3.4*.deb


                      3) Reboot your system:



                      sudo reboot


                      If your system is 64 bit:



                      1) Wget the following files



                      wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.4-wily/linux-headers-4.3.4-040304_4.3.4-040304.201601230132_all.deb
                      wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.4-wily/linux-headers-4.3.4-040304-generic_4.3.4-040304.201601230132_amd64.deb
                      wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.4-wily/linux-image-4.3.4-040304-generic_4.3.4-040304.201601230132_amd64.deb


                      2) Install the following packages by issuing:



                      sudo dpkg -i linux-headers-4.3.4*.deb linux-image-4.3.4*.deb


                      3) Reboot your system:



                      sudo reboot


                      If you wish to uninstall the header files issue the following:



                      sudo apt-get remove 'linux-headers-4.3.4*' 'linux-image-4.3.4*'





                      share|improve this answer






























                        0














                        I believe I have a solution for you. Recently I have installed Kali Linux on my machine and I noticed a similar issue. Executing the following sudo apt-get install linux-headers-$(uname -r) will only fetch form the repositories in your sources.list file. Now in my case the repositories that I have available are outdated therefore I resulted to installing the Linux Headers manually by downloading the packages then using dpkg. Here is how I accomplished that:



                        If your system is 32 bit:



                        1) Wget the following files



                         wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.4-wily/linux-headers-4.3.4-040304_4.3.4-040304.201601230132_all.deb
                        wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.4-wily/linux-headers-4.3.4-040304-generic_4.3.4-040304.201601230132_i386.deb
                        wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.4-wily/linux-image-4.3.4-040304-generic_4.3.4-040304.201601230132_i386.deb


                        2) Install the following packages by issuing:



                        sudo dpkg -i linux-headers-4.3.4*.deb linux-image-4.3.4*.deb


                        3) Reboot your system:



                        sudo reboot


                        If your system is 64 bit:



                        1) Wget the following files



                        wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.4-wily/linux-headers-4.3.4-040304_4.3.4-040304.201601230132_all.deb
                        wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.4-wily/linux-headers-4.3.4-040304-generic_4.3.4-040304.201601230132_amd64.deb
                        wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.4-wily/linux-image-4.3.4-040304-generic_4.3.4-040304.201601230132_amd64.deb


                        2) Install the following packages by issuing:



                        sudo dpkg -i linux-headers-4.3.4*.deb linux-image-4.3.4*.deb


                        3) Reboot your system:



                        sudo reboot


                        If you wish to uninstall the header files issue the following:



                        sudo apt-get remove 'linux-headers-4.3.4*' 'linux-image-4.3.4*'





                        share|improve this answer




























                          0












                          0








                          0







                          I believe I have a solution for you. Recently I have installed Kali Linux on my machine and I noticed a similar issue. Executing the following sudo apt-get install linux-headers-$(uname -r) will only fetch form the repositories in your sources.list file. Now in my case the repositories that I have available are outdated therefore I resulted to installing the Linux Headers manually by downloading the packages then using dpkg. Here is how I accomplished that:



                          If your system is 32 bit:



                          1) Wget the following files



                           wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.4-wily/linux-headers-4.3.4-040304_4.3.4-040304.201601230132_all.deb
                          wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.4-wily/linux-headers-4.3.4-040304-generic_4.3.4-040304.201601230132_i386.deb
                          wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.4-wily/linux-image-4.3.4-040304-generic_4.3.4-040304.201601230132_i386.deb


                          2) Install the following packages by issuing:



                          sudo dpkg -i linux-headers-4.3.4*.deb linux-image-4.3.4*.deb


                          3) Reboot your system:



                          sudo reboot


                          If your system is 64 bit:



                          1) Wget the following files



                          wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.4-wily/linux-headers-4.3.4-040304_4.3.4-040304.201601230132_all.deb
                          wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.4-wily/linux-headers-4.3.4-040304-generic_4.3.4-040304.201601230132_amd64.deb
                          wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.4-wily/linux-image-4.3.4-040304-generic_4.3.4-040304.201601230132_amd64.deb


                          2) Install the following packages by issuing:



                          sudo dpkg -i linux-headers-4.3.4*.deb linux-image-4.3.4*.deb


                          3) Reboot your system:



                          sudo reboot


                          If you wish to uninstall the header files issue the following:



                          sudo apt-get remove 'linux-headers-4.3.4*' 'linux-image-4.3.4*'





                          share|improve this answer















                          I believe I have a solution for you. Recently I have installed Kali Linux on my machine and I noticed a similar issue. Executing the following sudo apt-get install linux-headers-$(uname -r) will only fetch form the repositories in your sources.list file. Now in my case the repositories that I have available are outdated therefore I resulted to installing the Linux Headers manually by downloading the packages then using dpkg. Here is how I accomplished that:



                          If your system is 32 bit:



                          1) Wget the following files



                           wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.4-wily/linux-headers-4.3.4-040304_4.3.4-040304.201601230132_all.deb
                          wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.4-wily/linux-headers-4.3.4-040304-generic_4.3.4-040304.201601230132_i386.deb
                          wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.4-wily/linux-image-4.3.4-040304-generic_4.3.4-040304.201601230132_i386.deb


                          2) Install the following packages by issuing:



                          sudo dpkg -i linux-headers-4.3.4*.deb linux-image-4.3.4*.deb


                          3) Reboot your system:



                          sudo reboot


                          If your system is 64 bit:



                          1) Wget the following files



                          wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.4-wily/linux-headers-4.3.4-040304_4.3.4-040304.201601230132_all.deb
                          wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.4-wily/linux-headers-4.3.4-040304-generic_4.3.4-040304.201601230132_amd64.deb
                          wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.4-wily/linux-image-4.3.4-040304-generic_4.3.4-040304.201601230132_amd64.deb


                          2) Install the following packages by issuing:



                          sudo dpkg -i linux-headers-4.3.4*.deb linux-image-4.3.4*.deb


                          3) Reboot your system:



                          sudo reboot


                          If you wish to uninstall the header files issue the following:



                          sudo apt-get remove 'linux-headers-4.3.4*' 'linux-image-4.3.4*'






                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited 3 hours ago









                          Rui F Ribeiro

                          41.9k1483142




                          41.9k1483142










                          answered Apr 28 '16 at 20:52









                          NSPredatorNSPredator

                          261




                          261






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Unix & Linux Stack Exchange!


                              • 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%2funix.stackexchange.com%2fquestions%2f279828%2fhow-to-fix-vmware-header-error%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

                              CARDNET

                              Boot-repair Failure: Unable to locate package grub-common:i386

                              濃尾地震