VirtualBox on Debian Install

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Data007
Posts: 5
Joined: 4. Dec 2017, 13:59

VirtualBox on Debian Install

Post by Data007 »

Hi I hope this is in the right place.
I have little knowlege yet of depackage command on Linux(debian)
I have used stretch and KDE.

I have download the debian package X64 and am trying to install it, I get the following output.

Code: Select all

 sudo dpkg -i virtualbox-5.2_5.2.2-119230~Debian~stretch_amd64.deb 
Selecting previously unselected package virtualbox-5.2.
(Reading database ... 266367 files and directories currently installed.)
Preparing to unpack virtualbox-5.2_5.2.2-119230~Debian~stretch_amd64.deb ...
Unpacking virtualbox-5.2 (5.2.2-119230~Debian~stretch) ...
Setting up virtualbox-5.2 (5.2.2-119230~Debian~stretch) ...
Adding group `vboxusers' (GID 131) ...
Done.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxdrv.service → /lib/systemd/system/vboxdrv.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxballoonctrl-service.service → /lib/systemd/system/vboxballoonctrl-service.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxautostart-service.service → /lib/systemd/system/vboxautostart-service.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxweb-service.service → /lib/systemd/system/vboxweb-service.service.
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.9.0-4-amd64
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.9.0-4-amd64

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.
Processing triggers for systemd (232-25+deb9u1) ...
Processing triggers for desktop-file-utils (0.23-1) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Processing triggers for shared-mime-info (1.8-1) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
as indicating above when I try running virtualbos in sbin it does not work(resulting in a loop asking for root password)

Hope you can help.

--
Data
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: VirtualBox on Debian Install

Post by socratis »

Data007 wrote: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.9.0-4-amd64
Read carefully and follow the instructions of the error message. It's all there...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Data007
Posts: 5
Joined: 4. Dec 2017, 13:59

Re: VirtualBox on Debian Install

Post by Data007 »

Hio
Iam but a novice the thought of toying with the kernel fills me with dread iam only staring out.
How does one even find out what the kernel version is and as far as compiling drivers for it.
oooowwwwwww I will find out I guess, Nevermind thats what the windows partitioin is for running virtual machines.
If one could be helpfull in a constructive way that would be nice.
--
A Puzzeled Steve.
Post Reply