View Issue Details

IDProjectCategoryView StatusLast Update
0003123Kali LinuxKali Package Bugpublic2016-03-07 08:44
Reporterimifos Assigned Torhertzog  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version2016.1 
Summary0003123: uname, VirtualBox GuestAdditions
Description

Installing virtualbox guestadditions fails with the error message that the kernel headers cannot be found.

This has been reported in this bug already: https://bugs.kali.org/view.php?id=2044

I create a new issue because I'm not sure that 2044 corrects the origin of the problem.

The VB installation script determines the header directory like this:
:
KERN_VER=uname -r
KERN_DIR="/lib/modules/$KERN_VER/build"
:

Test:

root@MEDUSA:/> uname -r
4.3.0-kali1-amd64

Check the place used as base directory by the script: /lib/modules

root@MEDUSA:/lib/modules> ls
4.3.0-kali1-amd64 4.4.0-kali1-amd64

root@MEDUSA:/lib/modules/4.3.0-kali1-amd64> ls
kernel modules.builtin modules.dep.bin modules.softdep
modules.alias modules.builtin.bin modules.devname modules.symbols
modules.alias.bin modules.dep modules.order modules.symbols.bin

root@MEDUSA:/lib/modules/4.4.0-kali1-amd64> ls
build modules.builtin modules.devname modules.symbols.bin
kernel modules.builtin.bin modules.order source
modules.alias modules.dep modules.softdep
modules.alias.bin modules.dep.bin modules.symbols

The build scripts are actually located in 4.4 whereas uname points to 4.3.

This mismatch in uname/directory might indicate a packaging bug.

Best regards.

Steps To Reproduce

Install the VB GuestAdditions using the classic procedure (having headers installed)

Activities

rhertzog

rhertzog

2016-03-07 08:44

administrator   ~0004818

This just means that you should use the 4.4 kernel (reboot into it). There's no issue to be fixed here.

Issue History

Date Modified Username Field Change
2016-03-05 15:04 imifos New Issue
2016-03-07 08:44 rhertzog Note Added: 0004818
2016-03-07 08:44 rhertzog Status new => closed
2016-03-07 08:44 rhertzog Assigned To => rhertzog
2016-03-07 08:44 rhertzog Resolution open => no change required