My attempts to install VirtualBox have resulted in several mysterious disappearances of the just installed VirtualBox and in a current installation of it which fails to work.
I am on Linux Mint 17 Cinnamon, the Ubuntu-Version of Mint. The straightforward install as described in http://www.zdnet.com/how-to-install-ora ... 000028403/ certainly did not work. Software Manager and terminal have both failed me.
The non-free and free packages for VirtualBox were both release version 4.3. The qt version of VirtualBox is 4.3.10-dfsg-1. I don't know how to id my version of Linux Mint exactly. I made the live dvd a week ago (2014-07-24) and ran upgrades last night (2014-07-29) with the Update Manager which seems to have worked since it only lists the level 4 and 5 packages now.
Events and terminal feedback:
I installed virtualbox-nonfree from the Software Manager since I had read on the web this is the version of VirtualBox to go for.
It seemed to install and showed in the Start Menu. (no idea what else to call the menu that resembles a Windows Start Menu). All seemed fine.
Then I installed virtualbox-guest-additions-iso also in the Software Manager which was still open. I closed the Software Manager, believing I was done.
And then the grief:
In the Start Menu, Oracle VirtualBox was GONE!
So, I installed it again from the Software Manager, even ran it afterwards, but trying to run a preconfigured VM in it, was told some USB support was missing and I should install Oracle VM VirtualBox Extension Pack. So, I closed VirtualBox and went back into the Software Manager which listed no such package. And then: VirtualBox was gone from the Start Menu again! It even showed as not installed in the Software Manager at this point, if I recall correctly. My next recollections are a little fuzzy and possibly a little out of sequence since there was just too much confusion and too much to try.
I looked for something sounding like virtualbox in /bin and usr/bin but found only a vclient which I could not run...
I went into the terminal... (*gulp*) and typed virtualbox:
Code: Select all
adminuser@mydisk ~ $ virtualbox
The program 'virtualbox' is currently not installed. You can install it by typing: sudo apt-get install virtualbox-qt
During this fuzzily remembered intermission, I was able to run some version of VirtualBox by typing virtualbox in the terminal once...
Anyway, for reasons not well remembered, I decided to uninstall (see above) and try the virtualbox-qt installation, this time from the terminal since the Software Manager's installations never seemed to stick. It almost worked:
Code: Select all
adminuser@mydisk ~ $ virtualbox
bash: /usr/bin/virtualbox: No such file or directory
adminuser@mydisk ~ $ sudo apt-get install virtualbox-qt
[sudo] password for adminuser:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libgsoap4 libvncserver0 virtualbox
Suggested packages:
libvncserver0-dbg virtualbox-guest-additions-iso vde2
Recommended packages:
virtualbox-dkms virtualbox-source
The following NEW packages will be installed:
libgsoap4 libvncserver0 virtualbox virtualbox-qt
0 upgraded, 4 newly installed, 0 to remove and 36 not upgraded.
Need to get 20.7 MB of archives.
After this operation, 83.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] ^Cadminuser@mydisk ~ $ Y
Y: command not found
adminuser@mydisk ~ $ y
y: command not found
adminuser@mydisk ~ $
adminuser@mydisk ~ $ sudo apt-get install virtualbox-qt
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libgsoap4 libvncserver0 virtualbox
Suggested packages:
libvncserver0-dbg virtualbox-guest-additions-iso vde2
Recommended packages:
virtualbox-dkms virtualbox-source
The following NEW packages will be installed:
libgsoap4 libvncserver0 virtualbox virtualbox-qt
0 upgraded, 4 newly installed, 0 to remove and 36 not upgraded.
Need to get 20.7 MB of archives.
After this operation, 83.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/universe libgsoap4 i386 2.8.16-2 [522 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty/main libvncserver0 i386 0.9.9+dfsg-1ubuntu1 [164 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty/multiverse virtualbox i386 4.3.10-dfsg-1 [15.4 MB]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty/multiverse virtualbox-qt i386 4.3.10-dfsg-1 [4,586 kB]
Fetched 20.7 MB in 19s (1,037 kB/s)
Selecting previously unselected package libgsoap4:i386.
(Reading database ... 147583 files and directories currently installed.)
Preparing to unpack .../libgsoap4_2.8.16-2_i386.deb ...
Unpacking libgsoap4:i386 (2.8.16-2) ...
Selecting previously unselected package libvncserver0:i386.
Preparing to unpack .../libvncserver0_0.9.9+dfsg-1ubuntu1_i386.deb ...
Unpacking libvncserver0:i386 (0.9.9+dfsg-1ubuntu1) ...
Selecting previously unselected package virtualbox.
Preparing to unpack .../virtualbox_4.3.10-dfsg-1_i386.deb ...
Unpacking virtualbox (4.3.10-dfsg-1) ...
Selecting previously unselected package virtualbox-qt.
Preparing to unpack .../virtualbox-qt_4.3.10-dfsg-1_i386.deb ...
Unpacking virtualbox-qt (4.3.10-dfsg-1) ...
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1) ...
Setting up libgsoap4:i386 (2.8.16-2) ...
Setting up libvncserver0:i386 (0.9.9+dfsg-1ubuntu1) ...
Setting up virtualbox (4.3.10-dfsg-1) ...
* Stopping VirtualBox kernel modules [ OK ]
* Starting VirtualBox kernel modules * No suitable module for running kernel found
[fail]
invoke-rc.d: initscript virtualbox, action "restart" failed.
Processing triggers for ureadahead (0.100.0-16) ...
Setting up virtualbox-qt (4.3.10-dfsg-1) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...
adminuser@mydisk ~ $
I am now able to run VirtualBox which is now named "VirtualBox" and accessible through the "Accessories" portion of the Start Menu as opposed to being "Oracle VirtualBox" sitting in the "Administration" portion -- BUT when I try to run the VM (which ran fine in Robolinux's preinstalled VirtualBox), VirtualBox fails to run it giving me an error about a missing kernel:
The virtual machine ... has terminated unexpectedly during startup with exit code 1.
Well, so I tried that -- in vain:Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing
'/etc/init.d/vboxdrv setup'
as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
Code: Select all
adminuser@mydisk ~ $ sudo /etc/init.d/vboxdrv setup
[sudo] password for adminuser:
Stopping VirtualBox kernel modules ...done.
Uninstalling old VirtualBox DKMS kernel modules/etc/init.d/vboxdrv: 302: /etc/init.d/vboxdrv: /usr/share/virtualbox/src/vboxhost/do_dkms: not found
...done.
Trying to register the VirtualBox kernel modules using DKMS/etc/init.d/vboxdrv: 327: /etc/init.d/vboxdrv: /usr/share/virtualbox/src/vboxhost/do_dkms: not found
...failed!
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules ...failed!
(Look at /var/log/vbox-install.log to find out what went wrong)
BTW, just as the terminal no longer suggested to install the qt version, the Software Manager now flags virtual-nonfree as "Not available" telling me to "Please use apt-get to install this package." -- Geez! What a run-around I am getting.
According to the Software Manager the following are currently installed (most of which I did not select manually for install): virtalbox (base binaries), virtalbox-qt, virtalbox-quest-dkms, virtalbox-guest-utils, virtalbox-guest-x11
I am at my wit's end.
So:
1.) Is it normal for installations in Software Manager to simply evaporate like this or to have these kernel failures? Why is this happening?
2.) What gives? What am I doing wrong? How can I install VirtualBox successfully? What mess do I have to clean up?
I would be so grateful if someone could help me with this.