PDA

View Full Version : VirtualBox - Guest Additions 5.2.18 - Failing to install



Chaplin
2018-09-18, 11:42
Good day guys,

I have tried to install guest additions for the past week now with no luck.

I first inserted the disk and tried to run the image however I get:


Oops! There was a problem running this software

Than I did a bit of research and landed up on this page. The install stall now runs correctly however I get the following response during the guest additions tries to install:


This System is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
linux-headers-amd64 linux-headers-4.18.0-kali1-amd64

After receiving the above the installation fails. I then proceed to update the headers:


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

I receive the following:


Unable to locate package linux-4.18.0-kali-amd64
Couldn't find any package by glob 'linux-4.18.0-kali1-amd64'
Couldn't find any package by regex 'linux-4.18.0-kali1-amd64'

I have officially run out of places to research, can anyone assist or am I doing something wrong?

P.S I use Kali Linux for work purposes and coupled with the current update issue, Kali is quite unstable at the moment:

https://forums.kali.org/showthread.p...-updating-Kali

Mister_X
2018-09-18, 19:22
Is your system up to date? apt-get update && apt-get dist-upgrade

Chaplin
2018-09-19, 06:55
Hi Mister_X

Thank you for your response.

Perhaps that is the problem however I am unable to update at this point in time as the dist-upgrade breaks Kali.

If you see the link provided below of my original post it states the current issue. I did however suspect that this may be the issue, perhaps I should wait for the current issue to be resolved and I will post back in the even the dist-upgrade is fixed and I receive the same problem.