ubuntu-vbox rtr3init-error

I recently installed Virtualbox 5.1 on my new Ubuntu 16.04 server. I downloaded the .deb file from virtualbox website and installed via commandlineL: dpkg -i virtualbox-5.1_5.1.26-117224~Ubuntu~xenial_i386.deb

Everything went well until launching virtualbox and trying to install WinXP guest OS threw the error above.

Googling around, here is how it was resolved.

1) Uninstall virtualbox:

command: apt autoremove --purge virtualbox*

2) Check if there is any other virtualbox version installed:

command: dpkg -l virtualbox* | grep ^i

3) Update your sources

command: apt update

4) Depending on your installation, check which virtualbox version sare available for installations:

command: apt-cache madison virtualbox | grep -iv sources

My output looks like this:
.....virtualbox | 5.0.40-dfsg-0ubuntu1.16.04.1 | http://ng.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages
.....virtualbox | 5.0.18-dfsg-2build1 | http://ng.archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages

5) Install the first version mentioned in your own output

my command is: apt install virtualbox=5.0.40-dfsg-0ubuntu1.16.04.1

Add comment

Security code