[Resolved] Failed to install latest virtualbox 5.2.10 on ubuntu 18.04
Posted: 30. Jun 2018, 15:40
My Ubuntu 18.04 and all packages were updated and functional. I received an upgrade notice for virtualbox, so I let it update. It failed and left my OS unstable.
So I remove it completely:
Now I have a "clean" system. So I do:
And it always gets this far then freezes:
I can't even ctrl-c, so:
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 commandCode: Select all
sudo apt install virtualboxCode: 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.