I want to install Oracle Virtualbox 5.0.12 on Debian 8 "jessie", mainly to get a feel of Oracle Solaris 11.
So I followed the instructions in the Virtualbox Linux_Downloads webpage to add the repository in /etc/apt/sources.list and the public key.
The first time I installed it, I encountered the following two errors:
(1) /usr/lib/virtualbox/vboxdrv.sh: line 85: /etc/init.d/functions: No such file or directory
(2) ln: target ‘setup’ is not a directory
To fix error (1), I renamed /etc/redhat-release to /etc/redhat-release.fake
Then I purged the package "virtualbox-5.0" and installed it again. This time, I still see error (2).
The installation run is as follows:
Code: Select all
root# apt-get install virtualbox-5.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
Recommended packages:
linux-headers
The following NEW packages will be installed:
virtualbox-5.0
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/63.8 MB of archives.
After this operation, 155 MB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package virtualbox-5.0.
(Reading database ... 217108 files and directories currently installed.)
Preparing to unpack .../virtualbox-5.0_5.0.12-104815~Debian~jessie_amd64.deb ...
Unpacking virtualbox-5.0 (5.0.12-104815~Debian~jessie) ...
Processing triggers for systemd (215-17+deb8u2) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for shared-mime-info (1.3-1) ...
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for mime-support (3.58) ...
Setting up virtualbox-5.0 (5.0.12-104815~Debian~jessie) ...
addgroup: The group `vboxusers' already exists as a system group. Exiting.
Stopping VirtualBox kernel modules ...done.
Uninstalling old VirtualBox DKMS kernel modules ...done.
Trying to register the VirtualBox kernel modules using DKMS ...done.
Starting VirtualBox kernel modules ...done.
ln: target ‘setup’ is not a directory
root#
My questions:
(1) Has anyone encountered the error in the last line? Any idea what causes it or how to fix it?
(2) I can see the "Oracle VM Virtualbox" menu item and the empty initial screen. Can I ignore the error message and go ahead an install Oracle Solaris 11?
I have some experience with Fedora Linux and have only started dabbling with Debian 8 since the past few weeks.
I have no prior experience with Oracle Virtualbox.
Thank you for any assistance.