分页: 1 / 1

ubuntu22.04安装增强功能失败

发表于 : 2024-09-08 22:38
sin000
在安装增强功能时遇到点问题网上查不到解决方案,问kimi的回答:
"virtualBox Guest Additions 的安装过程遇到了一些问题,因此不能确定安装是否完全成功。以下是一些关键点:

安装开始:安装过程开始,并且正在验证压缩包的完整性,MD5 校验和是正确的。

移除旧版本:正在移除已安装的 VirtualBox Guest Additions 版本 7.0.14。

更新 initramfs:正在生成新的 initrd 镜像文件,这是 Linux 启动过程中的一个步骤。

安装模块:正在安装额外的模块。

构建内核模块:正在为内核版本 6.8.0-40-generic 构建 VirtualBox Guest Additions 的内核模块。这个过程可能需要一些时间。

构建模块失败:提示“Look at /var/log/vboxadd-setup.log to find out what went wrong”,意味着构建过程中出现了错误,建议查看日志文件 /var/log/vboxadd-setup.log 来了解具体的错误信息。

模块未重新加载:提示“kernel modules and services were not reloaded”,意味着内核模块和服务没有被重新加载。

错误信息:最后提示“went wrong is still in use”,这表明某个资源或服务可能正在被使用,导致无法完成操作。"
根据错误提示查看日志有没有解决方案

Re: ubuntu22.04安装增强功能失败

发表于 : 2024-09-09 8:30
onlylove
你用最新版virtualbox试下吧,这个应该是内核的改动导致的,如果最新版的也不行,那只能等,或者你自己改下vbox的代码

https://git.kernel.org/pub/scm/linux/ke ... 3dea71e762
Merge tag 'strlcpy-removal-v6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
Pull strlcpy removal from Kees Cook:
"As promised, this is 'part 2' of the hardening tree, late in -rc1 now
that all the other trees with strlcpy() removals have landed. One new
user appeared (in bcachefs) but was a trivial refactor. The kernel is
now free of the strlcpy() API!

- Remove of the final (very recent) user of strlcpy() (in bcachefs)

- Remove the strlcpy() API. Long live strscpy()"

* tag 'strlcpy-removal-v6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
string: Remove strlcpy()
bcachefs: Replace strlcpy() with strscpy()