Virtualbox, Ubuntu 14.10, 64-bit

Joined
Dec 7, 2010
Messages
78,906
Reaction score
506
Location
Next to the Braai
Hey guys,

I want to install a Windows VM with virtualbox. But can't even get virtual box installed properly. Here are the steps I followed, and the issues I got. Any advice will be appreciated.

1. Downloaded the following from virtualbox website:
- virtualbox-4.3_4.3.18-96516~Ubuntu~raring_amd54.deb
- Oracle_VM_VirtualBox_Extension_Pack-4.3.18-96516.vbox-extpack

2. Install virtualbox-4.3_4.3.18-96516~Ubuntu~raring_amd54.deb with Ubuntu Software Center

3. Install Oracle_VM_VirtualBox_Extension_Pack-4.3.18-96516.vbox-extpack

4. Create a virtual machine. Windows. Put the installation disk in my pc's dvd drive, and tell the VM to use that drive as it's optical disk.

All successful up to this point.

5. Try to start the VM, and this is the error I get:
2014-10-30 09_18_34-Fanie Dry Ubuntu (889 406 401) - TeamViewer - Free license (non-commercial u.jpg

6. So after googling the issue, this is what I'm told to do:
install virtualbox-dkms
Code:
Processing triggers for menu (2.1.47ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Setting up libgsoap5:amd64 (2.8.17-1) ...
Setting up virtualbox (4.3.18-dfsg-1) ...
insserv: script virtualbox: service vboxdrv already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package virtualbox (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of virtualbox-dkms:
 virtualbox-dkms depends on virtualbox (>= 4.3.18-dfsg-1); however:
  Package virtualbox is not configured yet.
  Package virtualbox-4.3 which provides virtualbox is not installed.

dpkg: error processing package virtualbox-dkms (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of virtualbox-qt:
 virtualbox-qt depends on virtualbox (= 4.3.18-dfsg-1); however:
  Package virtualbox is not configured yet.
  [B]Package virtualbox-4.3 which provides virtualbox is not installed.[/B]

dpkg: error processing package virtualbox-qt (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.19-10ubuntu2) ...
No apport report written because the error message indicates its a followup error from a previous failure.
                          No apport report written because the error message indicates its a followup error from a previous failure.
                                                    Errors were encountered while processing:
 virtualbox
 virtualbox-dkms
 virtualbox-qt
E: Sub-process /usr/bin/dpkg returned an error code (1)

7. So from here I'm thinking, sudo apt-get install virtualbox-4.3, right?
Code:
sudo apt-get install virtualbox-4.3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package virtualbox-4.3 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'virtualbox-4.3' has no installation candidate


I'll take any and all advice.
 
Code:
sudo aptitude install linux-generic

Reboot

Code:
sudo aptitude reinstall virtualbox-4.3
 
You should have just installed virtualbox from the Ubuntu repositories.

It is up to date:
https://launchpad.net/ubuntu/+source/virtualbox

I removed everything after doing the 'sudo apt-get install linux-generic'

tried to reinstall from the version that's in the software center (btw the new version wasn't there yesterday when I checked, but i might be wrong), failed with these errors:

Code:
installArchives() failed: Selecting previously unselected package libgsoap5:amd64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 269689 files and directories currently installed.)
Preparing to unpack .../libgsoap5_2.8.17-1_amd64.deb ...
Unpacking libgsoap5:amd64 (2.8.17-1) ...
Selecting previously unselected package virtualbox.
Preparing to unpack .../virtualbox_4.3.18-dfsg-1_amd64.deb ...
Unpacking virtualbox (4.3.18-dfsg-1) ...
Selecting previously unselected package virtualbox-dkms.
Preparing to unpack .../virtualbox-dkms_4.3.18-dfsg-1_all.deb ...
Unpacking virtualbox-dkms (4.3.18-dfsg-1) ...
Selecting previously unselected package virtualbox-qt.
Preparing to unpack .../virtualbox-qt_4.3.18-dfsg-1_amd64.deb ...
Unpacking virtualbox-qt (4.3.18-dfsg-1) ...
Processing triggers for man-db (2.7.0.2-2) ...
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
Processing triggers for bamfdaemon (0.5.1+14.10.20140925-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.22-1ubuntu2) ...
Processing triggers for mime-support (3.55ubuntu1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Processing triggers for menu (2.1.47ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Setting up libgsoap5:amd64 (2.8.17-1) ...
Setting up virtualbox (4.3.18-dfsg-1) ...
insserv: script virtualbox: service vboxdrv already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package virtualbox (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent configuration of virtualbox-dkms:
 virtualbox-dkms depends on virtualbox (>= 4.3.18-dfsg-1); however:
  Package virtualbox is not configured yet.
  Package virtualbox-4.3 which provides virtualbox is not installed.

dpkg: error processing package virtualbox-dkms (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of virtualbox-qt:
 virtualbox-qt depends on virtualbox (= 4.3.18-dfsg-1); however:
  Package virtualbox is not configured yet.
  Package virtualbox-4.3 which provides virtualbox is not installed.

dpkg: error processing package virtualbox-qt (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.19-10ubuntu2) ...
Errors were encountered while processing:
 virtualbox
 virtualbox-dkms
 virtualbox-qt
Setting up virtualbox (4.3.18-dfsg-1) ...
insserv: script virtualbox: service vboxdrv already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package virtualbox (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of virtualbox-dkms:
 virtualbox-dkms depends on virtualbox (>= 4.3.18-dfsg-1); however:
  Package virtualbox is not configured yet.
  Package virtualbox-4.3 which provides virtualbox is not installed.

dpkg: error processing package virtualbox-dkms (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of virtualbox-qt:
 virtualbox-qt depends on virtualbox (= 4.3.18-dfsg-1); however:
  Package virtualbox is not configured yet.
  Package virtualbox-4.3 which provides virtualbox is not installed.

dpkg: error processing package virtualbox-qt (--configure):
 dependency problems - leaving unconfigured
 
So read somewhere that I should run 'sudo /etc/init.d/vboxdrv setup' and this was the output:

Code:
topping 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)
 
Try this:

sudo apt-get purge virtualbox
sudo rm -r /etc/init.d/vboxdrv (Probably not needed as will be deleted after running apt-get purge)

sudo apt-get install dkms
sudo apt-get install virtualbox-4.3
 
Try this:

sudo apt-get purge virtualbox
sudo rm -r /etc/init.d/vboxdrv (Probably not needed as will be deleted after running apt-get purge)

sudo apt-get install dkms
sudo apt-get install virtualbox-4.3

Code:
sudo apt-get install dkms
Reading package lists... Done
Building dependency tree       
Reading state information... Done
dkms is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.



fanie@fanie-ubuntu:~$ sudo apt-get install virtualbox-4.3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package virtualbox-4.3 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'virtualbox-4.3' has no installation candidate
 
I think the Purge might have done the trick. Installed it again, and it seems my machine is working. Guess I had to many 'dead wood' drifting that i need to get rid of in order to get the freshie.

Thanks for the help guys.
 
I removed everything after doing the 'sudo apt-get install linux-generic'

tried to reinstall from the version that's in the software center (btw the new version wasn't there yesterday when I checked, but i might be wrong), failed with these errors:
Also check in 'software-properties-gtk' that you don't still have a download.virtualbox.org repository there.
 
Top
Sign up to the MyBroadband newsletter
X