I want to use virtualbox on my EnOS system. Here is terminal output.
$ yay -S virtualbox
resolving dependencies...
:: There are 2 providers available for VIRTUALBOX-HOST-MODULES:
:: Repository community
1) virtualbox-host-dkms 2) virtualbox-host-modules-arch
Enter a number (default=1): 1
looking for conflicting packages...
Package (3) New Version Net Change
extra/sdl 1.2.15-14 1.02 MiB
community/virtualbox-host-dkms 6.1.18-1 10.01 MiB
community/virtualbox 6.1.18-1 160.99 MiB
Total Installed Size: 172.01 MiB
:: Proceed with installation? [Y/n] y
(3/3) checking keys in keyring [--------------------------------] 100%
(3/3) checking package integrity [--------------------------------] 100%
(3/3) loading package files [--------------------------------] 100%
(3/3) checking for file conflicts [--------------------------------] 100%
:: Processing package changes...
(1/3) installing sdl [--------------------------------] 100%
Optional dependencies for sdl
alsa-lib: ALSA audio driver [installed]
libpulse: PulseAudio audio driver [installed]
(2/3) installing virtualbox-host-dkms [--------------------------------] 100%
(3/3) installing virtualbox [--------------------------------] 100%
Optional dependencies for virtualbox
vde2: Virtual Distributed Ethernet support [installed]
virtualbox-guest-iso: Guest Additions CD image
virtualbox-ext-vnc: VNC server support
virtualbox-sdk: Developer kit
:: Running post-transaction hooks...
(1/8) Creating system user accounts...
(2/8) Reloading system manager configuration...
(3/8) Reloading device manager configuration...
(4/8) Arming ConditionNeedsUpdate...
(5/8) Install DKMS modules
==> dkms install --no-depmod -m vboxhost -v 6.1.18_OSE -k 5.4.95-1-lts
Error! Bad return status for module build on kernel: 5.4.95-1-lts (x86_64)
Consult /var/lib/dkms/vboxhost/6.1.18_OSE/build/make.log for more information.
==> Warning, `dkms install --no-depmod -m vboxhost -v 6.1.18_OSE -k 5.4.95-1-lts' returned 10
==> dkms install --no-depmod -m vboxhost -v 6.1.18_OSE -k 5.10.13-arch1-1
==> depmod 5.4.95-1-lts
==> depmod 5.10.13-arch1-1
(6/8) Updating icon theme caches...
(7/8) Updating the desktop file MIME type cache...
(8/8) Updating the MIME type database...
lts kernel is my primary boot option.
There is no file at the more information file suggested
$ cat /var/lib/dkms/vboxhost/6.1.18_OSE/build/make.log
cat: /var/lib/dkms/vboxhost/6.1.18_OSE/build/make.log: No such file or directory
Please help with installing virtualbox.
I have no idea what all logs are required for this kind of error. Please ask for whatever logs are needed.
Thanks