I'm having issues installing VirtualBox 5.2 on my 64-bit Linux Mint (4.13.0-32-generic (result from uname -r command)). I've read about this issue on a few different sites but none of their solutions resolved my problem.
The only solution I haven't tried yet is manually removing all of the original VirtualBox files and folders that are left behind after an uninstall (I have not done this as I'm unsure of which files/folders to remove). I've run the remove -purge VirtualBox -all command or something similar to that. All to no avail.
The last issue I'm encountering is the following error:
sudo apt-get install -f virtualbox-5.2 Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: virtualbox-5.2 : Depends: libqt5core5a (>= 5.7.0) but 5.5.1+dfsg-16ubuntu7.5 is to be installed Depends: libqt5widgets5 (>= 5.7.0) but 5.5.1+dfsg-16ubuntu7.5 is to be installed Depends: libqt5x11extras5 (>= 5.6.0) but 5.5.1-3build1 is to be installed Depends: libvpx4 (>= 1.6.0) but it is not installable I receive the same error with or without the -f switch in the command. Additionally, for some background information... I had successfully installed and used VirtualBox 5.0 from the package manager for about a week or so. All of the sudden I started having WiFi issues which I eventually was able to resolve - corrupt files in resolve.conf or something like that that had to be updated.
After resolving that, VirtualBox would start freezing on me every time I booted a VM. The solutions that I found suggested removing 5.0 and installing 5.2. I did that and eventually I'm here.
apt-cache madison virtualboxonly shows 5.0.40 and 5.0.18 available...resolve.conffile contains the following two lines.. the second of which VirtualBox's install instructions told me to add... 1:#deb cdrom:[Linux Mint 18.3 _Sylvia_ - Release amd64 20171124]/ xenial contrib main non-free2:deb http://download.virtualbox.org/virtualbox/debian zesty contrib$ apt-cache madison virtualbox virtualbox | 5.0.40-dfsg-0ubuntu1.16.04.2 | http://cosmos.cites.illinois.edu/pub/ubuntu xenial-updates/multiverse amd64 Packages virtualbox | 5.0.18-dfsg-2build1 | http://cosmos.cites.illinois.edu/pub/ubuntu xenial/multiverse amd64 Packagesxenialbut you are trying to use sources from 2 releases later. You are heading for a world of hurt if you continue down this path. If you must have a newer-than-5.0.40 version of VB, then either upgrade your distro or use an alternative install (not the package manager!)