无法安装适用于 Linux 的 VirtualBox 4.2.4 Guest Additions

无法安装适用于 Linux 的 VirtualBox 4.2.4 Guest Additions

尝试安装 Guest Additions 时我看到:

sh ./VBoxLinuxAdditions.run 

The headers for the current running kernel were not found. If the following module compilation fails then this could be the reason. The missing package can be probably installed with yum install kernel-devel-2.6.18-194.el5

Building the main Guest Additions module [FAILED]

尝试安装 kernel-devel-2.6.18-194.el5 我看到:

yum install kernel-devel-2.6.18-194.el5

Setting up Install Process No package kernel-devel-2.6.18-194.el5 available. Nothing to do

那该怎么办呢?

主机操作系统是Windows 7 64位,客户机操作系统是RedHat 5.5 64位。

答案1

尝试kernel-headers-2.6.18-194.el5

在 Debian 上它对我有用

通常yum install kernel-headers会自行选择正确的版本

相关内容