VirtualBox 内核驱动程序未安装,密钥被拒绝

VirtualBox 内核驱动程序未安装,密钥被拒绝

sudo modprobe vboxdrv当密钥被拒绝时,我该如何加载 VirtualBox 内核模块?

自从今天更新 Ubuntu 23.10 以来,我无法再在 VirtualBox 上启动任何虚拟机。这样做会收到此错误:

Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver is either not loaded or not set up
correctly. Please reinstall virtualbox-dkms package and load the kernel
module by executing

'modprobe vboxdrv'

as root.

于是我安装了virtualbox-dkms,然后尝试运行sudo modprobe vboxdrv。这样做我得到了这个错误:

modprobe: ERROR: could not insert 'vboxdrv': Key was rejected by service

我的基本每日更新如下:

#!/bin/bash

sudo apt-get update
sudo apt-get -y dist-upgrade
sudo apt-get -y autoremove
sudo snap refresh

相关内容