Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unable to Compile Virtual Box Fedora 25

I followed the guide and got all the way to the compiling phase when I got the following error:

sudo /sbin/vboxconfig

Returns:

Created symlink /etc/systemd/system/multi-user.target.wants/vboxdrv.service → /usr/lib/systemd/system/vboxdrv.service. Created symlink /etc/systemd/system/multi-user.target.wants/vboxballoonctrl-service.service → /usr/lib/systemd/system/vboxballoonctrl-service.service. Created symlink /etc/systemd/system/multi-user.target.wants/vboxautostart-service.service → /usr/lib/systemd/system/vboxautostart-service.service. Created symlink /etc/systemd/system/multi-user.target.wants/vboxweb-service.service → /usr/lib/systemd/system/vboxweb-service.service. vboxdrv.sh: Stopping VirtualBox services. vboxdrv.sh: Building VirtualBox kernel modules. This system is not currently set up to build kernel modules (system extensions). Running the following commands should set the system up correctly:

yum install kernel-core-devel-4.10.10-200.fc25.x86_64 (The last command may fail if your system is not fully updated.) yum install kernel-core-devel vboxdrv.sh: failed: Look at /var/log/vbox-install.log to find out what went wrong. This system is not currently set up to build kernel modules (system extensions). Running the following commands should set the system up correctly:

yum install kernel-core-devel-4.10.10-200.fc25.x86_64 (The last command may fail if your system is not fully updated.) yum install kernel-core-devel

There were problems setting up VirtualBox. To re-start the set-up process, run /sbin/vboxconfig as root.

I tried:

sudo /sbin/vboxconfig

No package kernel-core-devel-4.10.10-200.fc25.x86_64 available.

And:

sudo yum install kernel-core-devel

No package kernel-core-devel available.