So I remove it completely:
Code: Select all
sudo dpkg --purge virtualbox-qt
sudo dpkg --purge virtualbox
sudo dpkg --purge virtualbox-dkms
sudo dpkg --purge dkms
sudo apt autoremove
sudo find / -name vbox # delete anything found by this command
sudo find / -name virtualbox # delete anything found by this command
Code: Select all
sudo apt install virtualbox
Code: Select all
Setting up virtualbox-dkms (5.2.10-dfsg-6ubuntu18.04.1) ...
Loading new virtualbox-5.2.10 DKMS files...
Building for 4.15.0-23-generic
Building initial module for 4.15.0-23-generic
- I kill the process
- of course then `dpkg` says to do `sudo dpkg --configure -a`, so I do that, then retry
- but it gets stuck in the same place
- so I remove everything again, retry, and it freezes there again, etc.
- When I originally installed vbox I signed its modules so I don't need to disable secure boot. I don't want to disable secure boot now either.
- Is there a way I can examine some log to tell me what is going wrong? I looked at `/var/log/syslog` but there is nothing interesting in there.