My guess is that since GeckoLinux is a cut down version of openSUSE with many things left out maybe the VirtualBox guest package may have been left on the cutting room floor.
IMO you should try “solution 3” if the first option doesn’t work…
For the HostOS, although the kernel Guest modules might not be required, I don’t know that leaving them installed should cause any issue. The important thing is to get the host modules installed. Another possible issue is that you should verify you have the default and not desktop kernel flavor installed. You can see what kernel is installed and used by running the following command in an elevated console
I tried a different Geckolinux version and uninstalling virtualbox-guest-kmp-default took a while, the progress bar stayed at 5%, the system seemed frozen but eventually it triggered dracut to rebuild the initrd and the job completed successfully.
Maybe you have to just wait a bit longer?
linux@linux:~> sudo zypper install virtualbox
Loading repository data...
Reading installed packages...
Resolving package dependencies...
Problem: virtualbox-5.1.8-3.3.x86_64 requires virtualbox-host-kmp = 5.1.8, but this requirement cannot be provided
uninstallable providers: virtualbox-host-kmp-default-5.1.8_k4.4.27_2-3.3.x86_64[openSUSE-Leap-42.2_OSS-updates]
Solution 1: deinstallation of virtualbox-guest-kmp-default-5.1.8_k4.4.27_2-3.3.x86_64
Solution 2: do not install virtualbox-5.1.8-3.3.x86_64
Solution 3: break virtualbox-5.1.8-3.3.x86_64 by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/3/c] (c): 3
Resolving dependencies...
Resolving package dependencies...
The following NEW package is going to be installed:
virtualbox
1 new package to install.
Overall download size: 11.4 MiB. Already cached: 0 B. After the operation,
additional 33.9 MiB will be used.
Continue? [y/n/? shows all options] (y): y
Retrieving package virtualbox-5.1.8-3.3.x86_64
(1/1), 11.4 MiB ( 33.9 MiB unpacked)
Retrieving: virtualbox-5.1.8-3.3.x86_64.rpm .................[done (95.5 KiB/s)]
Checking for file conflicts: .............................................[done]
(1/1) Installing: virtualbox-5.1.8-3.3.x86_64 ............................[done]
Additional rpm output:
setting /usr/lib/virtualbox/VBoxNetDHCP to root:vboxusers 4750. (wrong permissions 0750)
setting /usr/lib/virtualbox/VBoxNetAdpCtl to root:vboxusers 4750. (wrong permissions 0750)
setting /usr/lib/virtualbox/VBoxHeadless to root:vboxusers 4750. (wrong permissions 0750)
setting /usr/lib/virtualbox/VBoxSDL to root:vboxusers 4750. (wrong permissions 0750)
here’s the result from
uname -a
Linux linux.suse 4.4.36-8-default #1 SMP Fri Dec 9 16:18:38 UTC 2016 (3ec5648) x86_64 x86_64 x86_64 GNU/Linux
Congratulations, that looks like you have successfully installed Virtualbox: does it launch and work properly?
PS: remember to add your normal user to the “vboxusers” group.