Estou tendo erros ao utilizar VMs no meu Debian 12, eu consigo instalar as VMs porém na hora de escolher a imagem ISO ele retorna a seguinte mensagem:
The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it up again by executing
‘/sbin/vboxconfig’
as root.
If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system’s documentation for more information.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.
Já tentei rodar alguns comandos para resolver isso porém todos eles sempre me voltam ao mesmo erro, que é:
Os pacotes a seguir têm dependências desencontradas:
g++ : Depende: cpp (= 4:10.2.1-1) mas 4:12.2.0-3 está para ser instalado
gcc : Depende: cpp (= 4:10.2.1-1) mas 4:12.2.0-3 está para ser instalado
libc6-dev : Depende: libc6 (= 2.31-13+deb11u6) mas 2.36-9+deb12u3 está para ser instalado
Depende: libc-dev-bin (= 2.31-13+deb11u6) mas não será instalado
Depende: libcrypt-dev mas não será instalado
Depende: libnsl-dev mas não será instalado
E: Impossível corrigir problemas, você manteve (hold) pacotes quebrados.
Já tentei diversos comandos recomendados pelo chatGPT e também não resolveu. Se alguém souber a solução agradeço.