reinstall virtualbox

I read some articels for solving my problem:

helps a bit:

does not help:

My problem is:

VirtualBox (last version BTW its Version 6.0.14 r133895 Qt5.6.1) suddenly not working any more. it says:

The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing

'/sbin/vboxconfig'

may correct this. Make sure that you are not mixing builds of VirtualBox from different sources.

where: supR3HardenedMainInitRuntime what: 4 VERR_VM_DRIVER_VERSION_MISMATCH (-1912) - The installed support driver doesn't match the version of the user. 

So i may should find a way to uninstall it and then reinstall it, then try to start my machine again. thank. i am relatively new in majaro. thanks

inxi -Fx:

  Host: Kernel: 5.3.18-1-MANJARO x86_64 bits: 64 compiler: gcc 
  v: 9.2.0 Desktop: Xfce 4.14.1 Distro: Manjaro Linux 
Machine:
  Type: Desktop Mobo: Micro-Star model: MPG X570 GAMING PLUS (MS-7C37) 

#reinstall virtualbox #virtualbox

What version of VB are you using ? Your kernel is v5.3 so you should probably install "linux53-virtualbox-host-modules"...

1 Like

Kernel 5.3 is EOL, you should consider switching to 5.4 and installing the corresponding host modules.

sudo vboxreload

There are a variety of things you should check.

  1. Try reloading
sudo vboxreload
  1. Make sure you are not in a partial update situation.
sudo pacman-mirrors -f 5 && sudo pacman -Syyu
reboot
  1. Install a current kernel
sudo mhwd-kernel -i linux54
reboot

Version 6.0.14 r133895 (Qt5.6.1)

# vboxreload
bash: vboxreload: command not found

Try number #2 on my list. rebooting should reload everything.

Also, can we see the output of

pacman -Qs virtualbox
1 Like
pacman -Qs virtualbox

pacman -Qs virtualbox

local/linux53-virtualbox-host-modules 6.1.0-4 (linux53-extramodules)
Host kernel modules for VirtualBox
local/linux54-virtualbox-host-modules 6.1.0-6 (linux54-extramodules)
Host kernel modules for VirtualBox

How did you install virtualbox? You don't seem to have the package installed.

oh good question. not sure. the first SoftwareS i installed i used bau, then often pacman, sometimes by using "Add/Remove Software"
i thing maybe for VB i used pacman.

it works with many boxes. sudenliy, for now visible reason it got this message.

i got problems with hardware acceleration, very much days, and installed some software alternatively. today pluged in new graficCard and now probs with hardware acceleration (PC freeced > hardRebout deendet).
i have also a VB installed in my root account, but i never use it. i cant remember way.

this time i started VB as admin, imported my last Box and got the same error:

 inxi -Fx
System:    Host: seeh-pc Kernel: 5.4.6-2-MANJARO x86_64 bits: 64 compiler: gcc v: 9.2.0 
           Desktop: Xfce 4.14.1 Distro: Manjaro Linux 
Machine:   Type: Desktop Mobo: Micro-Star model: MPG X570 GAMING PLUS (MS-7C37) v: 2.0 
           serial: J716444330 UEFI [Legacy]: American Megatrends v: A.40 date: 09/10/2019 
CPU:       Topology: 8-Core model: AMD Ryzen 7 3700X bits: 64 type: MT MCP arch: Zen 
           L2 cache: 4096 KiB 

You need to uninstall virtualbox via whatever method you installed it from and then re-install it through the package manager. That is why the modules have mis-matched versions. Yo may have installed a version from AUR instead of the one of the repos. May sure you select the one from the repos.

1 Like

image

 pacman -R virtualbox-ose
error: target not found: virtualbox-ose
pacman -R virtualbox
error: target not found: virtualbox
VirtualBox.run uninstall
bash: VirtualBox.run: command not found
./VirtualBox.run uninstall
./VirtualBox.run: No such file or directory
cd /opt/VirtualBox/

 VirtualBox.run uninstall
bash: VirtualBox.run: command not found
 pacman -R virtualbox
error: target not found: virtualbox
 VirtualBox uninstall

Hmmm. Any other idea?

It isn't in pacman....so I guess it wasn't installed from AUR. Did you maybe install directly from the virtualbox site? If so, you need to find the downloaded files and uninstall it from there.

Where is it installed to? What does which virtualbox return?

Command in Edit Launcher is "VirtualBox %U"
image

i found this folder, but i think i nearly emptied it by using 'Add/Remove Software':

# pwd
/usr/lib/virtualbox
# ls
ExtensionPacks

i started searching by using CatFishFileSearch
image
using CatFishFileSearch as admin:
image

type the command:

which virtualbox
# which virtualbox
/usr/bin/virtualbox
# cd /usr/bin/virtualbox
bash: cd: /usr/bin/virtualbox: Not a directory

It looks like you may have manually installed virtualbox into your system which causes a bit of a mess.

If you don't still have the install files, I am not sure how easy it is to remove.

Before you do anything else I would backup your system.

Also, just be sure can you return the results on this command:

pacman -Qo /usr/bin/virtualbox
# pacman -Qo /usr/bin/virtualbox
error: No package owns /usr/bin/virtualbox

Forum kindly sponsored by