我已阅读过这些问题: 为什么我无法从 Virtualbox 机器内部访问共享文件夹? 和 错误:未找到内核头文件。(但它们已就位)
第二个问题和我的一样,但是那里的解决方案不起作用。
我有一台 Kubuntu 主机,其中装有 Lubuntu 客户系统。当我安装 vbox 客户附加组件时,日志文件显示(与其他问题一样):
Uninstalling modules from DKMS
Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxguest/4.3.10/source ->
/usr/src/vboxguest-4.3.10
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=3.16.0-30-generic -C /lib/modules/3.16.0-30-generic/build M=/var/lib/dkms/vboxguest/4.3.10/build..........(bad exit status: 2)
ERROR (dkms apport): binary package for vboxguest: 4.3.10 not found
Error! Bad return status for module build on kernel: 3.16.0-30-generic (x86_64)
Consult /var/lib/dkms/vboxguest/4.3.10/build/make.log for more information.
Failed to install using DKMS, attempting to install without
grep: /lib/modules/3.16.0-30-generic/build/include/linux/version.h: Datei oder Verzeichnis nicht gefunden
make KBUILD_VERBOSE=1 CONFIG_MODULE_SIG= -C /lib/modules/3.16.0-30-generic/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
/var/log/vboxadd-install.log
我有 4.3.10_Ubuntu 版本的 virtualbox(这是我在 Kubuntus 存储库中找到的唯一版本)