按照提示执行了 * $ /usr/sbin/vboxconfig
Sources for building host modules are not present,
Use ‘sudo zypper install virtualbox-host-source kernel-devel kernel-default-devel’ to install them. Quitting …
Build of VirtualBox host kernel modules failed.
Look at /var/log/virtualbox.log to find reasons.
切换 root 执行显示:
bash: /var/log/virtualbox.log: 权限不够
然而此时依然无法启动新建的虚拟机,弹出来的提示和最上面的那个一样 (内容都一样,这里放个文本版)
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it up again by executing
‘/usr/sbin/vboxconfig’
as root.
If your system has EFI Secure Boot enabled you may also 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.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.
Retrieving repository 'Update repository with updates from SUSE Linux Enterpr[|] Retrieving repository 'Update repository with updates from SUSE Linux Enterpr[/] Retrieving repository 'Update repository with updates from SUSE Linux Ent[error]
Repository ‘Update repository with updates from SUSE Linux Enterprise 15’ is invalid.
[repo-sle-update|/update/leap/15.5/sle - openSUSE Download] Valid metadata not found at specified URL
History:
Can’t provide ./repodata/7f9246005c0035f76702358f42dfd76433c8014b457cba68ef7264bcabbb23cd-deltainfo.xml.gz
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Skipping repository ‘Update repository with updates from SUSE Linux Enterprise 15’ because of the above error.
Some of the repositories have not been refreshed because of an error.
Loading repository data…
Reading installed packages…
S | Name | Summary | Type
—±-------------------------------±------------------------------±----------
| python3-VirtualBox | Python bindings for virtual-> | package
i+ | VirtualBox | VirtualBox is an Emulator | package
略…
Retrieving repository 'Update repository with updates from SUSE Linux Ent[error]
Repository ‘Update repository with updates from SUSE Linux Enterprise 15’ is invalid.
[repo-sle-update|/update/leap/15.5/sle - openSUSE Download] Valid metadata not found at specified URL
History:
Can’t provide ./repodata/ba66cdac543adae26b9f80ec6e6ab9c4bd1d669cf11e17998d5fb6c8a6abbbff-primary.xml.gz
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Skipping repository ‘Update repository with updates from SUSE Linux Enterprise 15’ because of the above error.
Some of the repositories have not been refreshed because of an error.
Loading repository data…
Reading installed packages…
‘virtualbox-guest-desktop-icons’ is already installed.
No update candidate for ‘virtualbox-guest-desktop-icons-7.0.18-lp155.2.24.1.noarch’. The highest available version is already installed.
‘virtualbox-guest-source’ is already installed.
No update candidate for ‘virtualbox-guest-source-7.0.18-lp155.2.24.1.noarch’. The highest available version is already installed.
‘virtualbox-guest-tools’ is already installed.
No update candidate for ‘virtualbox-guest-tools-7.0.18-lp155.2.24.1.x86_64’. The highest available version is already installed.
‘virtualbox-host-source’ is already installed.
No update candidate for ‘virtualbox-host-source-7.0.18-lp155.2.24.1.noarch’. The highest available version is already installed.
‘virtualbox-kmp-default’ is already installed.
No update candidate for ‘virtualbox-kmp-default-7.0.18_k5.14.21_150500.55.59-lp155.2.24.1.x86_64’. The highest available version is already installed.
‘virtualbox-vnc’ is already installed.
No update candidate for ‘virtualbox-vnc-7.0.18-lp155.2.24.1.x86_64’. The highest available version is already installed.
‘VirtualBox’ not found in package names. Trying capabilities.
No provider of ‘VirtualBox’ found.
Did you mean virtualbox?
Resolving package dependencies…
Nothing to do.