PDA

View Full Version : Worng version of linux-headers in rolling distribution



iorenton
2016-03-04, 13:38
hi all,
I am trying to install virtual box guest additions into a newly installed Kali Linux guest which means I have to perform a kernel build. The build fails, I have managed to track the problem down to differences between the current kernel version and the linux-headers version:-



>uname -r
4.3.0-kali-amd64

>apt list linux-headers*
Listing... Done
linux-headers-4.4.0-kali1-all/kali-rolling 4.4.2-3kali1 amd64
linux-headers-4.4.0-kali1-all-amd64/kali-rolling 4.4.2-3kali1 amd64
linux-headers-4.4.0-kali1-amd64/kali-rolling,now 4.4.2-3kali1 amd64 [installed,automatic]
linux-headers-4.4.0-kali1-common/kali-rolling,now 4.4.2-3kali1 amd64 [installed,automatic]
linux-headers-4.4.0--amd64/kali-rolling,now 4.7+71+kali1 amd64 [installed,automatic]


I am using the standard sources-list for the rolling distribution. I have run apt-get update & apt-get upgrade with no problems.
Checking though the forum it appears that other users are having similar problems. So I think this is a problem with the rolling distribution.
Is there a work around?

Thanks in advance
Iain Renton

lyakov
2016-03-10, 07:00
In order to upgrade to the new kernel you have to run
apt-get dist-upgrade