r/linux4noobs • u/nirwanda001 • 6d ago
Installing Virtualbox through software manager
I keep getting the error "error while installing package: installed vitualbox-dkms package post-installation script subprocess returned error exit status 10"
I've tried googling it but i haven't seen people runing into this.
Any help please?
EDIT: this is for linux mint
EDIT 2 : I wonder if this custom install of clip studio paint i tried once messed up with some base files or something... https://www.youtube.com/watch?v=iYhEm32Lr4Y
It didn't even work!
2
Upvotes
3
u/Leather-Security8097 6d ago edited 6d ago
Don't install VirtualBox from the Ubuntu repos. The DKMS module isn't tested against newer kernels. Install the VirtualBox package from the official website, or add their repo (use "noble" as the codename).
An existing bug report discussing this issue can be found here.
2
u/DannoXYZ 6d ago edited 5d ago
Download VB directly from https://www.virtualbox.org/wiki/Linux_Downloads
Get Extensions Pack that matches version of VB.
https://www.virtualbox.org/wiki/Downloads
Also download User Guide as well.
Install background pre-requisites:
sudo apt updatesudo apt install -y dkms build-essential linux-headers-$(uname -r)Then install .deb file you downloaded.
Finally add your user to vb group
sudo usermod -aG vboxusers $USERLog off and back on.
2
u/CosmicFieldDrift_ 5d ago
Can you enter this command line:
0
u/[deleted] 5d ago
[deleted] — view deleted comment