kernel headers linux not found [duplicate]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












0















This question already has an answer here:



  • Can't install Linux Headers (Kali Linux)

    2 answers



  • Why is Kali Linux so hard to set up? Why won't people help me?

    5 answers



I can't get past the :



apt install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-4.18.0-kali2-amd64
E: Couldn't find any package by glob 'linux-headers-4.18.0-kali2-amd64'
E: Couldn't find any package by regex 'linux-headers-4.18.0-kali2-amd64'


I checked my sources.list which contains :



deb http://http.kali.org/kali kali-rolling main contrib non-free
deb-src http://http.kali.org/kali kali-rolling main contrib non-free



uname -r returns :



4.18.0-kali2-amd64



And when I run



apt-cache search linux-image



I get :




linux-headers-4.18.0-kali3-amd64 - Header files for Linux 4.18.0-kali3-amd64
linux-headers-4.18.0-kali3-cloud-amd64 - Header files for Linux 4.18.0-kali3-cloud-amd64
linux-headers-4.18.0-kali3-rt-amd64 - Header files for Linux 4.18.0-kali3-rt-amd64
linux-image-4.18.0-kali3-amd64 - Linux 4.18 for 64-bit PCs
linux-image-4.18.0-kali3-amd64-dbg - Debug symbols for linux-image-4.18.0-kali3-amd64
linux-image-4.18.0-kali3-cloud-amd64 - Linux 4.18 for x86-64 cloud
linux-image-4.18.0-kali3-cloud-amd64-dbg - Debug symbols for linux-image-4.18.0-kali3-cloud-amd64
linux-image-4.18.0-kali3-rt-amd64 - Linux 4.18 for 64-bit PCs, PREEMPT_RT
linux-image-4.18.0-kali3-rt-amd64-dbg - Debug symbols for linux-image-4.18.0-kali3-rt-amd64
linux-image-amd64 - Linux for 64-bit PCs (meta-package)
linux-image-amd64-dbg - Debugging symbols for Linux amd64 configuration (meta-package)
linux-image-cloud-amd64 - Linux for x86-64 cloud (meta-package)
linux-image-cloud-amd64-dbg - Debugging symbols for Linux cloud-amd64 configuration (meta-package)
linux-image-rt-amd64 - Linux for 64-bit PCs (meta-package), PREEMPT_RT
linux-image-rt-amd64-dbg - Debugging symbols for Linux rt-amd64 configuration (meta-package)
linux-image-4.18.0-kali2-amd64 - Linux 4.18 for 64-bit PCs



I'm running kali on an external SSD with live persistence.



I did update and upgrade.










share|improve this question















marked as duplicate by GAD3R, Rui F Ribeiro, A.B, Stephen Harris, Thomas Dec 25 '18 at 15:49


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.










  • 1




    No, I already tried the solutions offered there...
    – C. Auth
    Dec 24 '18 at 11:29










  • You should reread it. The values have changed but the problem is the same. You have to upgrade your kernel to -kali3, for which headers are available.
    – A.B
    Dec 24 '18 at 16:25















0















This question already has an answer here:



  • Can't install Linux Headers (Kali Linux)

    2 answers



  • Why is Kali Linux so hard to set up? Why won't people help me?

    5 answers



I can't get past the :



apt install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-4.18.0-kali2-amd64
E: Couldn't find any package by glob 'linux-headers-4.18.0-kali2-amd64'
E: Couldn't find any package by regex 'linux-headers-4.18.0-kali2-amd64'


I checked my sources.list which contains :



deb http://http.kali.org/kali kali-rolling main contrib non-free
deb-src http://http.kali.org/kali kali-rolling main contrib non-free



uname -r returns :



4.18.0-kali2-amd64



And when I run



apt-cache search linux-image



I get :




linux-headers-4.18.0-kali3-amd64 - Header files for Linux 4.18.0-kali3-amd64
linux-headers-4.18.0-kali3-cloud-amd64 - Header files for Linux 4.18.0-kali3-cloud-amd64
linux-headers-4.18.0-kali3-rt-amd64 - Header files for Linux 4.18.0-kali3-rt-amd64
linux-image-4.18.0-kali3-amd64 - Linux 4.18 for 64-bit PCs
linux-image-4.18.0-kali3-amd64-dbg - Debug symbols for linux-image-4.18.0-kali3-amd64
linux-image-4.18.0-kali3-cloud-amd64 - Linux 4.18 for x86-64 cloud
linux-image-4.18.0-kali3-cloud-amd64-dbg - Debug symbols for linux-image-4.18.0-kali3-cloud-amd64
linux-image-4.18.0-kali3-rt-amd64 - Linux 4.18 for 64-bit PCs, PREEMPT_RT
linux-image-4.18.0-kali3-rt-amd64-dbg - Debug symbols for linux-image-4.18.0-kali3-rt-amd64
linux-image-amd64 - Linux for 64-bit PCs (meta-package)
linux-image-amd64-dbg - Debugging symbols for Linux amd64 configuration (meta-package)
linux-image-cloud-amd64 - Linux for x86-64 cloud (meta-package)
linux-image-cloud-amd64-dbg - Debugging symbols for Linux cloud-amd64 configuration (meta-package)
linux-image-rt-amd64 - Linux for 64-bit PCs (meta-package), PREEMPT_RT
linux-image-rt-amd64-dbg - Debugging symbols for Linux rt-amd64 configuration (meta-package)
linux-image-4.18.0-kali2-amd64 - Linux 4.18 for 64-bit PCs



I'm running kali on an external SSD with live persistence.



I did update and upgrade.










share|improve this question















marked as duplicate by GAD3R, Rui F Ribeiro, A.B, Stephen Harris, Thomas Dec 25 '18 at 15:49


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.










  • 1




    No, I already tried the solutions offered there...
    – C. Auth
    Dec 24 '18 at 11:29










  • You should reread it. The values have changed but the problem is the same. You have to upgrade your kernel to -kali3, for which headers are available.
    – A.B
    Dec 24 '18 at 16:25













0












0








0








This question already has an answer here:



  • Can't install Linux Headers (Kali Linux)

    2 answers



  • Why is Kali Linux so hard to set up? Why won't people help me?

    5 answers



I can't get past the :



apt install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-4.18.0-kali2-amd64
E: Couldn't find any package by glob 'linux-headers-4.18.0-kali2-amd64'
E: Couldn't find any package by regex 'linux-headers-4.18.0-kali2-amd64'


I checked my sources.list which contains :



deb http://http.kali.org/kali kali-rolling main contrib non-free
deb-src http://http.kali.org/kali kali-rolling main contrib non-free



uname -r returns :



4.18.0-kali2-amd64



And when I run



apt-cache search linux-image



I get :




linux-headers-4.18.0-kali3-amd64 - Header files for Linux 4.18.0-kali3-amd64
linux-headers-4.18.0-kali3-cloud-amd64 - Header files for Linux 4.18.0-kali3-cloud-amd64
linux-headers-4.18.0-kali3-rt-amd64 - Header files for Linux 4.18.0-kali3-rt-amd64
linux-image-4.18.0-kali3-amd64 - Linux 4.18 for 64-bit PCs
linux-image-4.18.0-kali3-amd64-dbg - Debug symbols for linux-image-4.18.0-kali3-amd64
linux-image-4.18.0-kali3-cloud-amd64 - Linux 4.18 for x86-64 cloud
linux-image-4.18.0-kali3-cloud-amd64-dbg - Debug symbols for linux-image-4.18.0-kali3-cloud-amd64
linux-image-4.18.0-kali3-rt-amd64 - Linux 4.18 for 64-bit PCs, PREEMPT_RT
linux-image-4.18.0-kali3-rt-amd64-dbg - Debug symbols for linux-image-4.18.0-kali3-rt-amd64
linux-image-amd64 - Linux for 64-bit PCs (meta-package)
linux-image-amd64-dbg - Debugging symbols for Linux amd64 configuration (meta-package)
linux-image-cloud-amd64 - Linux for x86-64 cloud (meta-package)
linux-image-cloud-amd64-dbg - Debugging symbols for Linux cloud-amd64 configuration (meta-package)
linux-image-rt-amd64 - Linux for 64-bit PCs (meta-package), PREEMPT_RT
linux-image-rt-amd64-dbg - Debugging symbols for Linux rt-amd64 configuration (meta-package)
linux-image-4.18.0-kali2-amd64 - Linux 4.18 for 64-bit PCs



I'm running kali on an external SSD with live persistence.



I did update and upgrade.










share|improve this question
















This question already has an answer here:



  • Can't install Linux Headers (Kali Linux)

    2 answers



  • Why is Kali Linux so hard to set up? Why won't people help me?

    5 answers



I can't get past the :



apt install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-4.18.0-kali2-amd64
E: Couldn't find any package by glob 'linux-headers-4.18.0-kali2-amd64'
E: Couldn't find any package by regex 'linux-headers-4.18.0-kali2-amd64'


I checked my sources.list which contains :



deb http://http.kali.org/kali kali-rolling main contrib non-free
deb-src http://http.kali.org/kali kali-rolling main contrib non-free



uname -r returns :



4.18.0-kali2-amd64



And when I run



apt-cache search linux-image



I get :




linux-headers-4.18.0-kali3-amd64 - Header files for Linux 4.18.0-kali3-amd64
linux-headers-4.18.0-kali3-cloud-amd64 - Header files for Linux 4.18.0-kali3-cloud-amd64
linux-headers-4.18.0-kali3-rt-amd64 - Header files for Linux 4.18.0-kali3-rt-amd64
linux-image-4.18.0-kali3-amd64 - Linux 4.18 for 64-bit PCs
linux-image-4.18.0-kali3-amd64-dbg - Debug symbols for linux-image-4.18.0-kali3-amd64
linux-image-4.18.0-kali3-cloud-amd64 - Linux 4.18 for x86-64 cloud
linux-image-4.18.0-kali3-cloud-amd64-dbg - Debug symbols for linux-image-4.18.0-kali3-cloud-amd64
linux-image-4.18.0-kali3-rt-amd64 - Linux 4.18 for 64-bit PCs, PREEMPT_RT
linux-image-4.18.0-kali3-rt-amd64-dbg - Debug symbols for linux-image-4.18.0-kali3-rt-amd64
linux-image-amd64 - Linux for 64-bit PCs (meta-package)
linux-image-amd64-dbg - Debugging symbols for Linux amd64 configuration (meta-package)
linux-image-cloud-amd64 - Linux for x86-64 cloud (meta-package)
linux-image-cloud-amd64-dbg - Debugging symbols for Linux cloud-amd64 configuration (meta-package)
linux-image-rt-amd64 - Linux for 64-bit PCs (meta-package), PREEMPT_RT
linux-image-rt-amd64-dbg - Debugging symbols for Linux rt-amd64 configuration (meta-package)
linux-image-4.18.0-kali2-amd64 - Linux 4.18 for 64-bit PCs



I'm running kali on an external SSD with live persistence.



I did update and upgrade.





This question already has an answer here:



  • Can't install Linux Headers (Kali Linux)

    2 answers



  • Why is Kali Linux so hard to set up? Why won't people help me?

    5 answers







kali-linux linux-headers






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 24 '18 at 12:05









Rui F Ribeiro

39.2k1479130




39.2k1479130










asked Dec 24 '18 at 10:36









C. Auth

6




6




marked as duplicate by GAD3R, Rui F Ribeiro, A.B, Stephen Harris, Thomas Dec 25 '18 at 15:49


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






marked as duplicate by GAD3R, Rui F Ribeiro, A.B, Stephen Harris, Thomas Dec 25 '18 at 15:49


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









  • 1




    No, I already tried the solutions offered there...
    – C. Auth
    Dec 24 '18 at 11:29










  • You should reread it. The values have changed but the problem is the same. You have to upgrade your kernel to -kali3, for which headers are available.
    – A.B
    Dec 24 '18 at 16:25












  • 1




    No, I already tried the solutions offered there...
    – C. Auth
    Dec 24 '18 at 11:29










  • You should reread it. The values have changed but the problem is the same. You have to upgrade your kernel to -kali3, for which headers are available.
    – A.B
    Dec 24 '18 at 16:25







1




1




No, I already tried the solutions offered there...
– C. Auth
Dec 24 '18 at 11:29




No, I already tried the solutions offered there...
– C. Auth
Dec 24 '18 at 11:29












You should reread it. The values have changed but the problem is the same. You have to upgrade your kernel to -kali3, for which headers are available.
– A.B
Dec 24 '18 at 16:25




You should reread it. The values have changed but the problem is the same. You have to upgrade your kernel to -kali3, for which headers are available.
– A.B
Dec 24 '18 at 16:25










1 Answer
1






active

oldest

votes


















0














You need to upgrade your kernel package first, as you seem to have 4.18.0-kali2 installed but only 4.18.0-kali3 is available in the package repository at this time.



At the time you installed the kernel, the current version was 4.18.0-kali2. This is the risk of running a distribution that doesn't guarantee that versions remain available for a long period of time.



Note that even after installing the new kernel version, until you reboot into that kernel, $(uname -r) will still return the old version number.






share|improve this answer




















  • Then you need to get an updated live image on your USB.
    – wurtel
    Dec 24 '18 at 14:39

















1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














You need to upgrade your kernel package first, as you seem to have 4.18.0-kali2 installed but only 4.18.0-kali3 is available in the package repository at this time.



At the time you installed the kernel, the current version was 4.18.0-kali2. This is the risk of running a distribution that doesn't guarantee that versions remain available for a long period of time.



Note that even after installing the new kernel version, until you reboot into that kernel, $(uname -r) will still return the old version number.






share|improve this answer




















  • Then you need to get an updated live image on your USB.
    – wurtel
    Dec 24 '18 at 14:39















0














You need to upgrade your kernel package first, as you seem to have 4.18.0-kali2 installed but only 4.18.0-kali3 is available in the package repository at this time.



At the time you installed the kernel, the current version was 4.18.0-kali2. This is the risk of running a distribution that doesn't guarantee that versions remain available for a long period of time.



Note that even after installing the new kernel version, until you reboot into that kernel, $(uname -r) will still return the old version number.






share|improve this answer




















  • Then you need to get an updated live image on your USB.
    – wurtel
    Dec 24 '18 at 14:39













0












0








0






You need to upgrade your kernel package first, as you seem to have 4.18.0-kali2 installed but only 4.18.0-kali3 is available in the package repository at this time.



At the time you installed the kernel, the current version was 4.18.0-kali2. This is the risk of running a distribution that doesn't guarantee that versions remain available for a long period of time.



Note that even after installing the new kernel version, until you reboot into that kernel, $(uname -r) will still return the old version number.






share|improve this answer












You need to upgrade your kernel package first, as you seem to have 4.18.0-kali2 installed but only 4.18.0-kali3 is available in the package repository at this time.



At the time you installed the kernel, the current version was 4.18.0-kali2. This is the risk of running a distribution that doesn't guarantee that versions remain available for a long period of time.



Note that even after installing the new kernel version, until you reboot into that kernel, $(uname -r) will still return the old version number.







share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 24 '18 at 13:44









wurtel

9,86511325




9,86511325











  • Then you need to get an updated live image on your USB.
    – wurtel
    Dec 24 '18 at 14:39
















  • Then you need to get an updated live image on your USB.
    – wurtel
    Dec 24 '18 at 14:39















Then you need to get an updated live image on your USB.
– wurtel
Dec 24 '18 at 14:39




Then you need to get an updated live image on your USB.
– wurtel
Dec 24 '18 at 14:39


Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?