This system is currently not set up to build kernel modules
Posted: 12. Nov 2020, 15:00
Hello.
I removed VirtualBox 6.0 to install 6.1 but now I'm getting the following error:
I think I have everything needed for installation:
I have LinuxMint 19.3 (based on Ubuntu bionic):
But nothing is solving the issue. Can someone help?
Many thanks
I removed VirtualBox 6.0 to install 6.1 but now I'm getting the following error:
Code: Select all
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
This system is currently not set up to build kernel modules.
Please install the gcc make perl packages from your distribution.
This system is currently not set up to build kernel modules.
Please install the gcc make perl packages from your distribution.
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.
sudo apt-get install build-essential gcc make perl dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.4ubuntu1).
make is already the newest version (4.1-9.1ubuntu1).
dkms is already the newest version (2.3-3ubuntu9.7).
gcc is already the newest version (4:7.4.0-1ubuntu2.3).
perl is already the newest version (5.26.1-6ubuntu0.5).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Code: Select all
apt install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-5.4.0-53-generic is already the newest version (5.4.0-53.59~18.04.1).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Code: Select all
dpkg -l *virtualbox*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=====================================================-===============================-===============================-================================================================================================================
un virtualbox <none> <none> (no description available)
ii virtualbox-6.1 6.1.16-140961~Ubuntu~bionic amd64 Oracle VM VirtualBox
un virtualbox-guest-additions-iso <none> <none> (no description available)
un virtualbox-guest-dkms <none> <none> (no description available)
un virtualbox-guest-modules <none> <none> (no description available)
un virtualbox-ose <none> <none> (no description available)
un virtualbox-qt <none> <none> (no description available)
Many thanks