Page 1 of 1

VirtualBox on Debian Install

Posted: 4. Dec 2017, 14:04
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

Re: VirtualBox on Debian Install

Posted: 4. Dec 2017, 14:40
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...

Re: VirtualBox on Debian Install

Posted: 4. Dec 2017, 19:52
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.