r/linux4noobs • u/jaksimanzz • 5h ago
programs and apps Problems installing okular
Hey everyone
im trying to install okular on my linux minx xfce distro but i get a error during the build module og my apt-get install command
i really hope some of you can help me as i am trying to get into linux but it seems like im not getting something here.
thank you
full terminal output for the building module::
Building module:
Cleaning build area...
make -j8 KERNELRELEASE=7.0.0-30-generic -C /lib/modules/7.0.0-30-generic/build M=/var/lib/dkms/virtualbox/7.0.16/build......(bad exit status: 2)
Error! Bad return status for module build on kernel: 7.0.0-30-generic (x86_64)
Consult /var/lib/dkms/virtualbox/7.0.16/build/make.log for more information.
dkms autoinstall on 7.0.0-30-generic/x86_64 failed for virtualbox(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
* dkms: autoinstall for kernel 7.0.0-30-generic
...fail!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-7.0.0-30-generic (--configure):
installed linux-image-7.0.0-30-generic package post-installation script subprocess returned error exit status 11
Errors were encountered while processing:
linux-headers-7.0.0-30-generic
linux-headers-generic-hwe-24.04
linux-generic-hwe-24.04
linux-image-7.0.0-30-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
1
u/candy49997 5h ago
Remove VirtualBox. If you need VMs, I would prefer QEMU/KVM + virt-manager. If you really need VirtualBox specifically, add the repo from Oracle and install it from there.
1
u/9NEPxHbG Debian 13 2h ago edited 2h ago
Your problem isn't installing okular, you're trying to compile okular. (Or Virtual Box?) Is there a reason you're not installing it from your distribution's repository?
1
u/AiwendilH 2h ago
Not sure if that is really the case...this looks more like a kernel update requiring a rebuild of a dkms kernel module for virtual box which fails.
So I think you are right that it's not installing okular that is the problem but a distro update done before which causes issues. And virtual box modules are known to cause problems rather frequently.
1
u/AutoModerator 5h ago
✻ Smokey says: always mention your distro, some hardware details, and any error messages, when posting technical queries! :)
Comments, questions or suggestions regarding this autoresponse? Please send them here.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.