Page 1 of 1

Problems installing Vbox 6.1 in Centos 7.7

Posted: 28. Feb 2020, 18:39
by Jose Cabrera Z
Hi
I tried to install Virtual box 6.1 on Centos 7 but I got:
-----------------------------------------------------------------------------------
sudo yum install VirtualBox-6.1
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: repo1.dal.innoscale.net
* epel: mirror.compevo.com
* extras: mirrors.unifiedlayer.com
* updates: mirror.keystealth.org
Resolving Dependencies
--> Running transaction check
---> Package VirtualBox-6.1.x86_64 0:6.1.4_136177_el7-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================================================================================================
Package Arch Version Repository Size
==================================================================================================================================================
Installing:
VirtualBox-6.1 x86_64 6.1.4_136177_el7-1 virtualbox 101 M

Transaction Summary
==================================================================================================================================================
Install 1 Package

Total download size: 101 M
Installed size: 221 M
Is this ok [y/d/N]: y
Downloading packages:
VirtualBox-6.1-6.1.4_136177_el7-1.x86_64.rpm | 101 MB 00:00:15
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : VirtualBox-6.1-6.1.4_136177_el7-1.x86_64 1/1

Creating group 'vboxusers'. VM users must be member of that group!

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:
kernel-devel kernel-devel-3.10.0-957.27.2.el7.x86_64
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:
kernel-devel kernel-devel-3.10.0-957.27.2.el7.x86_64


There were problems setting up VirtualBox. To re-start the set-up process, run
/sbin/vboxconfig
as root. If your system is using EFI Secure Boot you may need to sign the
kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load
them. Please see your Linux system's documentation for more information.
Verifying : VirtualBox-6.1-6.1.4_136177_el7-1.x86_64 1/1

Installed:
VirtualBox-6.1.x86_64 0:6.1.4_136177_el7-1

Complete!

--------------------------------------------------------------------------------------------

What can I do to correct this problem? Is there a VBox update to cover this situation?

Thanks

Re: Problems installing Vbox 6.1 in Centos 7.7

Posted: 29. Feb 2020, 00:07
by birdie

Code: Select all

# yum update -y
# yum install kernel-devel -y
(reboot just in case).