PDA

View Full Version : kernel header



askobasko
2016-06-08, 14:30
Hello I am using kali linux 2 64 on dual boot.Now I want to install VMware player.I installed it but it needs to spesific the kernel headers.I did this:
root@kali:~# apt-get install build-essential linux-header-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-header-4.3.0-kali1-amd64
E: Couldn't find any package by glob 'linux-header-4.3.0-kali1-amd64'
E: Couldn't find any package by regex 'linux-header-4.3.0-kali1-amd64'
My source list is
deb http://http.kali.org/kali kali-rolling main contrib non-free
# For source package access, uncomment the following line
deb-src http://http.kali.org/kali kali-rolling main contrib non-

zimmaro
2016-06-08, 15:06
Hello I am using kali linux 2 64 on dual boot.Now I want to install VMware player.I installed it but it needs to spesific the kernel headers.I did this:
root@kali:~# apt-get install build-essential linux-header-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-header-4.3.0-kali1-amd64
E: Couldn't find any package by glob 'linux-header-4.3.0-kali1-amd64'
E: Couldn't find any package by regex 'linux-header-4.3.0-kali1-amd64'
My source list is
deb http://http.kali.org/kali kali-rolling main contrib non-free
# For source package access, uncomment the following line
deb-src http://http.kali.org/kali kali-rolling main contrib non-


try apt-get update && apt-get dist-upgrade -y
the new kernel & new headers are 4.5.x

http://postimg.org/image/o392gq6sr/

askobasko
2016-06-08, 15:33
I just updated it
root@kali:~# sudo apt-get install 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'

P373
2016-06-09, 09:27
Weird your using the old kernels. What does this say?

cat /etc/apt/sources.list

askobasko
2016-06-09, 09:49
Weird your using the old kernels. What does this say?

cat /etc/apt/sources.list
deb http://http.kali.org/kali kali-rolling main contrib non-free
# For source package access, uncomment the following line
deb-src http://http.kali.org/kali kali-rolling main contrib non-free
root@kalilinux:~# uname -r
^[[6~4.3.0-kali1-amd64

P373
2016-06-09, 10:56
Weird. What does this say:


ls /boot

askobasko
2016-06-09, 16:59
config-4.3.0-kali1-amd64 System.map-4.3.0-kali1-amd64
grub vmlinuz-4.3.0-kali1-amd64
initrd.img-4.3.0-kali1-amd64

P373
2016-06-09, 18:23
I don't know why it's not downloading the new kernel?

askobasko
2016-06-09, 19:10
Fetched 217 MB in 2min 3s (1,754 kB/s)
E: Failed to fetch http://mirrors.netix.net/kali/pool/main/l/linux/linux-image-4.5.0-kali1-amd64_4.5.5-1kali1_amd64.deb Hash Sum mismatch

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
This is what it says.Any way I have updated kernel linux on dual boot.This one can't update.Idk why I do it same way .Anyway on the updated from where to get the kernel headers to instal the VM?

bmanc42
2016-06-09, 22:15
in terminal

update-grub
reboot
after reboot

apt-get update
apt-get dist-upgrade
update-grub

until you are up to date