Why does installing Okular trigger a VirtualBox DKMS error on Linux Mint?

0
7
Asked By MellowPine42 On

I'm trying to install Okular on Linux Mint XFCE, but my apt command ends with an error while building a kernel module. The output says that the VirtualBox 7.0.16 DKMS module failed to build for kernel 7.0.0-30-generic, which then prevents several kernel packages from being configured. Is this actually related to Okular, and what's the best way to fix the package installation?

3 Answers

Answered By CedarFox88 On

The failure isn’t coming from Okular itself. A kernel update is trying to rebuild the VirtualBox DKMS modules, and that rebuild is failing. If you don’t need VirtualBox, remove it and then repair the interrupted package configuration. If you do need it, install a current version from Oracle’s repository, since older VirtualBox builds can break with newer kernels.

MellowPine42 -

That makes sense. I may try QEMU/KVM with virt-manager instead if it avoids these kernel-module issues.

Answered By QuietHarbor7 On

You probably don’t need to build Okular manually. Install the package supplied by your distribution with `sudo apt install okular`. The package manager error may still need to be repaired first because the failed VirtualBox module is blocking kernel configuration.

Answered By AmberLynx31 On

You can also install Okular through Flatpak with `flatpak install flathub org.kde.okular`. However, that won’t fix the underlying DKMS problem; VirtualBox is still the component that failed during the kernel update.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.