Quantcast
Channel: Active questions tagged kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 6334

About Updating linux-headers

$
0
0

I did dist-upgrade on kali 2.0, after update when i tried to reboot it waited too long i thought it locked or something.

I manually turn off pc.

After restart it was working normally but when i try to install something manually(with make) then i realize my mistake.

make[1]: *** /lib/modules/4.3.0-kali1-amd64/build: No such file or directory.  Stop.

That error showed up when i try to make,

After that i try to install linux-headers with that command,

apt-get install -y linux-headers-$(uname -r)

but i was getting another error. It was says like "There's no package". I dont remember exactly.

old uname -r

4.3.0-kali1-amd64

and i installed new headers,

4.4.0-kali1-amd64

Now there is 2 directory in /lib/modules/

4.3.0-kali1-amd64/ 4.4.0-kali1-amd64/

When i write uname -r it still show me old header(4.3.0-kali1-amd64)

I tried to update-initframs -u but didnt worked.When i try to make it still say same error

make[1]: *** /lib/modules/4.3.0-kali1-amd64/build: No such file or directory.  Stop.

How can i fix it ?

Thank in advance


Viewing all articles
Browse latest Browse all 6334

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>