VirtualBox: Instalasi dari sumber Oracle

From OnnoWiki
Jump to navigation Jump to search

Tambahkan di /etc/apt/sources.list

deb http://download.virtualbox.org/virtualbox/debian yakkety contrib



Download

https://www.virtualbox.org/download/oracle_vbox_2016.asc

Tambahkan

sudo apt-key add Downloads/oracle_vbox_2016.asc

Atau pakai perintah

wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -


Error saat instalasi

apt install virtualbox-5.1
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.1 : Depends: libqt5core5a (>= 5.6.0~beta) but 5.5.1+dfsg-16ubuntu7 is to be installed
                  Depends: libqt5widgets5 (>= 5.6.0~beta) but 5.5.1+dfsg-16ubuntu7 is to be installed
                  Depends: libqt5x11extras5 (>= 5.6.0) but it is not going to be installed
                  Recommends: libsdl-ttf2.0-0 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.