I am trying to remove Virtualbox, and when I do, the terminal freezes and won't continue processing. These are the last lines before the freezing:
-------- Uninstall Beginning --------
Module: virtualbox
Version: 5.2.10 Kernel: 4.15.0-23-generic (x86_64)
-------------------------------------
Status: This module version was INACTIVE for this kernel.
depmod........
DKMS: uninstall completed.
------------------------------
Deleting module version: 5.2.10
completely from the DKMS tree.
------------------------------
Done.
Loading new virtualbox-5.2.10 DKMS files...
Building for 4.15.0-23-generic
Building initial module for 4.15.0-23-generic
And when I press Ctrl + Z, the process is stopped, but I am forced to run:
sudo dpkg --configure -a
And when I do, the problem returns to the same original point. Any guess on how to resolve it? Thanks in advance