Chinaunix

标题: Vbox上的centos6.2 安装不了kernel-devel-2.6.32-220.el6.i686 [打印本页]

作者: bellszhu    时间: 2013-01-08 00:21
标题: Vbox上的centos6.2 安装不了kernel-devel-2.6.32-220.el6.i686
  1. [bells@bellszhu-CentOS VBOXADDITIONS_4.2.4_81684]$ sudo sh VBoxLinuxAdditions.run
  2. [sudo] password for bells:
  3. Verifying archive integrity... All good.
  4. Uncompressing VirtualBox 4.2.4 Guest Additions for Linux..........
  5. VirtualBox Guest Additions installer
  6. Removing installed version 4.2.4 of VirtualBox Guest Additions...
  7. Removing existing VirtualBox non-DKMS kernel modules       [  OK  ]
  8. Building the VirtualBox Guest Additions kernel modules
  9. The gcc utility was not found. If the following module compilation fails then
  10. this could be the reason and you should try installing it.

  11. The headers for the current running kernel were not found. If the following
  12. module compilation fails then this could be the reason.
  13. [color=Red]The missing package can be probably installed with
  14. yum install kernel-devel-2.6.32-220.el6.i686[/color]

  15. Building the main Guest Additions module                   [FAILED]
  16. (Look at /var/log/vboxadd-install.log to find out what went wrong)
  17. Doing non-kernel setup of the Guest Additions              [  OK  ]
  18. Installing the Window System drivers
  19. Installing X.Org Server 1.10 modules                       [  OK  ]
  20. Setting up the Window System to use the Guest Additions    [  OK  ]
  21. You may need to restart the hal service and the Window System (or just restart
  22. the guest system) to enable the Guest Additions.

  23. Installing graphics libraries and desktop services componen[  OK  ]
  24. [color=Red][bells@bellszhu-CentOS VBOXADDITIONS_4.2.4_81684]$ sudo yum install kernel-devel-2.6.32-220.el6.i686
  25. Loaded plugins: fastestmirror, refresh-packagekit, security
  26. Loading mirror speeds from cached hostfile
  27. * base: mirrors.163.com
  28. * extras: mirrors.163.com
  29. * updates: mirrors.163.com
  30. Setting up Install Process
  31. No package kernel-devel-2.6.32-220.el6.i686 available.
  32. Error: Nothing to do
  33. [bells@bellszhu-CentOS VBOXADDITIONS_4.2.4_81684]$[/color]
复制代码

作者: chenyx    时间: 2013-01-08 07:54
sudo yum install kernel-devel
这样安装下看看
作者: q1208c    时间: 2013-01-08 15:18
应该是时间太长了, 这个版本的包被清理掉了.


作者: bellszhu    时间: 2013-01-08 22:46
回复 3# q1208c


是的。。
不过还好,我在iso文件中找到了相应的版本..

   




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2