Error june 2022 Virtualbox Kernel driver not installed (rc=1908)

The common error you get when installing virtualbox is
Kernel driver not installed (rc=-1908)

This is commonly resolved by installing virtualbox-host-dkm however the actual output is as follows.

sudo pacman -S virtualbox-host-dkms  :heavy_check_mark:  1m 12s   base 
[sudo] password for statick:
warning: virtualbox-host-dkms-6.1.34-4 is up to date – reinstalling
resolving dependencies…
looking for conflicting packages…

Packages (1) virtualbox-host-dkms-6.1.34-4

Total Installed Size: 10,06 MiB
Net Upgrade Size: 0,00 MiB

:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring [############################################################################] 100%
(1/1) checking package integrity [############################################################################] 100%
(1/1) loading package files [############################################################################] 100%
(1/1) checking for file conflicts [############################################################################] 100%
(1/1) checking available disk space [############################################################################] 100%
:: Running pre-transaction hooks…
(1/2) Creating Timeshift snapshot before upgrade…
==> skipping timeshift-autosnap due skipRsyncAutosnap in /etc/timeshift-autosnap.conf set to TRUE.
(2/2) Remove upgraded DKMS modules
:: Processing package changes…
(1/1) reinstalling virtualbox-host-dkms [############################################################################] 100%
:: Running post-transaction hooks…
(1/2) Arming ConditionNeedsUpdate…
(2/2) Install DKMS modules
==> ERROR: Missing tmp kernel headers for module vboxhost/6.1.34_OSE.
==> ERROR: Missing srv kernel headers for module vboxhost/6.1.34_OSE.
==> ERROR: Missing usr kernel headers for module vboxhost/6.1.34_OSE.
==> ERROR: Missing proc kernel headers for module vboxhost/6.1.34_OSE.
==> ERROR: Missing opt kernel headers for module vboxhost/6.1.34_OSE.
==> ERROR: Missing lib64 kernel headers for module vboxhost/6.1.34_OSE.
==> ERROR: Missing sys kernel headers for module vboxhost/6.1.34_OSE.
==> ERROR: Missing var kernel headers for module vboxhost/6.1.34_OSE.
==> ERROR: Missing lost+found kernel headers for module vboxhost/6.1.34_OSE.
==> ERROR: Missing root kernel headers for module vboxhost/6.1.34_OSE.
==> ERROR: Missing dev kernel headers for module vboxhost/6.1.34_OSE.
==> ERROR: Missing home kernel headers for module vboxhost/6.1.34_OSE.
==> ERROR: Missing mnt kernel headers for module vboxhost/6.1.34_OSE.
==> ERROR: Missing etc kernel headers for module vboxhost/6.1.34_OSE.
==> ERROR: Missing lib kernel headers for module vboxhost/6.1.34_OSE.
==> ERROR: Missing sbin kernel headers for module vboxhost/6.1.34_OSE.
==> ERROR: Missing boot kernel headers for module vboxhost/6.1.34_OSE.
==> ERROR: Missing run kernel headers for module vboxhost/6.1.34_OSE.
==> ERROR: Missing snap kernel headers for module vboxhost/6.1.34_OSE.
==> ERROR: Missing desktopfs-pkgs.txt kernel headers for module vboxhost/6.1.34_OSE.
==> ERROR: Missing rootfs-pkgs.txt kernel headers for module vboxhost/6.1.34_OSE.
==> ERROR: Missing bin kernel headers for module vboxhost/6.1.34_OSE.

The error was the installation of the linux5.8.0-rt kernel, it is solved by uninstalling it.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.