0

Since today morning, I am trying to remove VirtualBox from my machine but I am getting following errors. I tried disabling virtualization as well but still getting the same error.

enter image description here enter image description here

Kindly help me remove this.

  • 4
    Find the installed virtualbox package using: `sudo dpkg -l | grep virtualbox` Then remove it using: `sudo dpkg --purge ` – singrium May 29 '19 at 10:22
  • Already tried this but getting the same error. It seems that the VBoxSVC or any Virtual Machine as stuck in between which does not go away even after a reboot. – Shahzad Fateh Ali May 29 '19 at 10:25
  • Did you try to remove the virtual machines and virtual hard drives using: `sudo rm ~/"VirtualBox VMs" -Rf` and `sudo rm ~/.config/VirtualBox/ -Rf`? You also kill all processes related to VBox using `sudo pkill VBox*`, then try to remove it again – singrium May 29 '19 at 10:27
  • what is the result of this `sudo dpkg -l | grep virtualbox` command? – George Udosen May 29 '19 at 10:27
  • pi virtualbox-6.0 6.0.4-128413~Ubuntu~bionic amd64 Oracle VM VirtualBox – Shahzad Fateh Ali May 29 '19 at 10:29
  • 1
    Possible duplicate of [How to start and stop VirtualBox guests via command line](https://askubuntu.com/questions/805662/how-to-start-and-stop-virtualbox-guests-via-command-line). Includes complete instruction on how to determine which VM the system *thinks* is running, and how to easily correct that. – user535733 May 29 '19 at 15:55
  • I have tried all above points. Restarted system several times, removed all the virtualbox and vbox references. No services is running with virtualbox or vbox references but apt says virtualbox is still installed and also gives vbox service running message which is a bit strange and annoying. – Shahzad Fateh Ali May 29 '19 at 16:15
  • also try sudo apt-get remove virtualbox-dkms – M.Hefny Jan 14 '21 at 03:50

0 Answers0