Ubuntu 14.04 installing VirtualBox using the command line
#sudo sh-c ' echo ' deb Http://download.virtualbox.org/virtualbox/debian trusty contrib ' >>/etc/apt/sources.list '
Wget-q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc-o-| sudo apt-key adv--keyserver keyserver.ubuntu.com--recv-keys 54422a4b98ab5139
#sudo apt-get Update
#sudo Apt-get Install virtualbox-4.3
Encounter Error:
[Email protected]:~/vbox$ sudo apt-get install virtualbox-4.3
Reading Package Lists ... Done
Building Dependency Tree
Reading state information ... Done
virtualbox-4.3 is already the newest version.
You might want-to-run ' apt-get-f install ' to correct these:
The following packages has unmet dependencies:
VIRTUALBOX-4.3:DEPENDS:LIBGL1-MESA-GLX or
Libgl1
Depends:libqt4-network (>= 4:4.5.3) but it isn't going to be installed
Depends:libqt4-opengl (>= 4:4.7.2) but it isn't going to be installed
Depends:libqtcore4 (>= 4:4.8.0) but it isn't going to be installed
DEPENDS:LIBQTGUI4 (>= 4:4.8.0) but it isn't going to be installed
Depends:libsdl1.2debian (>= 1.2.11) but it isn't going to be installed
DEPENDS:LIBVPX1 (>= 1.0.0) but it isn't going to be installed
Depends:libxcursor1 (> 1.1.2) But it isn't going to be installed
DEPENDS:LIBXINERAMA1 but it isn't going to being installed
Depends:libxmu6 but it isn't going to being installed
Depends:libxt6 but it isn't going to being installed
Recommends:libasound2
Recommends:libpulse0 but it isn't going to being installed
recommends:libsdl-ttf2.0-0 but it isn't going to being installed
recommends:dkms but it isn't going to being installed
RECOMMENDS:GCC but it isn't going to being installed
Recommends:make
Recommends:binutils but it isn't going to being installed
Recommends:pdf-viewer
Recommends:libgl1
E:unmet dependencies. Try ' apt-get-f install ' with no packages (or specify a solution).
Workaround:
sudo apt-get purge virtualbox-4.3
Problem cause Analysis:
The suspicion is the problem caused by the incomplete installation of the VirtualBox.
Machine-->add--> Selecting a virtual machine image file
Vboxmanage Internalcommands Sethduuid/home/work/vbox/disk_win2008_sql.vdi
File->preference...->extensions--> Select the extension pack to add
This article is from the "cultural Rogue dba Life" blog, please be sure to keep this source http://suntongle.blog.51cto.com/1129224/1652693
Ubuntu 14.04 installing VirtualBox using the command line