Comment 2 for bug 1654456

Revision history for this message
Confidential (jimmyappleseed) wrote :

UPDATE to given issue.

In order to solve this given issue with the error prompts that I received at the terminal and when I ran a VM, the issue didn't relate to a bug, but rather a few configuration problems I had. After scurrying the Internet I discovered that Secure Boot in my bios was stopping VirtualBox from completely downloading. This is due to Secure Boot not allowing third-party programs from completely executing. In order to turn this off I accessed my bios settings upon boot and disabled Secure Boot. To do this it varies from system to system but there's a plethora of information to do this on the Web.

However after this I found that Virtual Box was still not working properly. By looking on the Internet some more I discovered that two versions of VirtualBox were on my host (specifically VirtualBox 5.0 and 5.1). In order to discover this I typed the following script at the command line:

dpkg --list | grep virtualbox

From here I typed that following lines to uninstall multiple versions:

sudo apt-get remove virtualbox-\*
sudo apt-get purge virtualbox-\*

Then I followed these scripts to reinstall VirtualBox:

[Add Virtualbox Repository]
$ sudo sh -c "echo 'deb http://download.virtualbox.org/virtualbox/debian '$(lsb_release -cs)' contrib non-free' > /etc/apt/sources.list.d/virtualbox.list"

[Import Oracle Public Key]
$ wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -

[Install dependency packages]
$ sudo apt-get install dkms

[Update Repository Index]
$ sudo apt-get update

[Install VirtualBox]
$ sudo apt-get install virtualbox-5.1

I hope this helps as it took me days of troubleshooting to discovery what I needed to do.