gpt4 book ai didi

linux - 无法下载4.14.11-300.fc27.x86_64内核

转载 作者:太空宇宙 更新时间:2023-11-04 05:35:04 25 4
gpt4 key购买 nike

我尝试使用 VirtualBox,但收到错误

The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (4.14.11-300.fc27.x86_64) or it failed to
load. Please recompile the kernel module and install it by

sudo /sbin/vboxconfig

运行建议的命令时,我得到:

This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.

但是,当我运行 sudo yum install kernel-devel gcc 时,它安装版本 4.15.3-300.fc27 ,与我实际的内核版本不同,即 4.14.11-300.fc27.x86_64 .

此外,运行 sudo yum install "kernel-devel-uname-r == $(uname -r)" 时,我明白

No match for argument: kernel-devel-uname-r == 4.14.11-300.fc27.x86_64
Error: Unable to find a match

我应该怎样做才能让 VirtualBox 运行?

最佳答案

However, when I run sudo yum install kernel-devel gcc, it installs the version 4.15.3-300.fc27, which differs from my actual kernel version, that is 4.14.11-300.fc27.x86_64.

这是因为,在撰写本文时,4.15.3 是 Fedora 27 的当前内核更新。您可以下载旧内核的 devel 软件包,但最好的选择是更新内核(我建议对所有内容进行常规 dnf 更新),然后然后安装内核 devel 软件包,最后重新启动到该内核并完成 VirtualBox 安装。

关于linux - 无法下载4.14.11-300.fc27.x86_64内核,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48912435/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com