內核已經更新,版本,kernel-devel 還是原來的,而且 kernels 目錄沒有該文件, 解決方法

內核源代碼安裝在/usr/src/kernels/下。內核-devel是要安裝的包。

爲了提供問題的解決方案,出現問題的原因是安裝的內核很舊,而且內核-devel在存儲庫中有更新。因此,安裝ker內爾-devel將安裝新內核的源代碼,因此vmware tools配置腳本無法找到源代碼。有兩種可能的解決方案。

  1. Update the kernel so that both kernel and kernel-devel are new.

    sudo yum upgrade

Reboot so that new kernel is loaded and then run vmware tools config script.

  1. Updating kernel is not always feasible. If that is the case install kernel-devel version that is same as the installed kernel version.

    sudo yum install "kernel-devel-uname-r == $(uname -r)"
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章