Lv.的博客

Ubuntu安装virtualbox

 

1、下载virtualbox

地址:https://www.virtualbox.org/wiki/Downloads

2、安装

sudo dpkg -i virtualbox-4.3_4.3.28-100309~Ubuntu~raring_i386.deb

 

安装过程中问题记录

Selecting previously unselected package virtualbox-4.3.
(Reading database ... 170499 files and directories currently installed.)
Preparing to unpack virtualbox-4.3_4.3.28-100309~Ubuntu~raring_i386.deb ...
Unpacking virtualbox-4.3 (4.3.28-100309~Ubuntu~raring) ...
dpkg: dependency problems prevent configuration of virtualbox-4.3:
 virtualbox-4.3 depends on libsdl1.2debian (>= 1.2.11); however:
  Package libsdl1.2debian is not installed.


dpkg: error processing package virtualbox-4.3 (--install):
 dependency problems - leaving unconfigured
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 mime-support (3.54ubuntu1.1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Errors were encountered while processing:
 virtualbox-4.3

 

解决:sudo apt-get install libsdl1.2debian ,再重新执行安装命令

posted @ 2018-08-29 23:22  Avatarx  阅读(518)  评论(0编辑  收藏  举报