我正在尝试安装 Oracle 的 VirtualBox。
我用了sudo dpkg -i virtualbox-4.2_4.2.4-81684\~Ubuntu\~quantal_i386.deb
出现以下错误
(Reading database ... 226237 files and directories currently installed.)
Preparing to replace virtualbox-4.2 4.2.4-81684~Ubuntu~quantal (using virtualbox-4.2_4.2.4-81684~Ubuntu~quantal_i386.deb) ...
Unpacking replacement virtualbox-4.2 ...
dpkg: dependency problems prevent configuration of virtualbox-4.2:
virtualbox-4.2 depends on libc6 (>= 2.15); however:
Version of libc6 on system is 2.13-20ubuntu5.
virtualbox-4.2 depends on libqtcore4 (>= 4:4.8.0); however:
Version of libqtcore4 on system is 4:4.7.4-0ubuntu8.1.
virtualbox-4.2 depends on libqtgui4 (>= 4:4.8.0); however:
Version of libqtgui4 on system is 4:4.7.4-0ubuntu8.1.
dpkg: error processing virtualbox-4.2 (--install):
dependency problems - leaving unconfigured
Processing triggers for ureadahead ...
Processing triggers for shared-mime-info ...
如何解决?
答案1
libc6、libqtcore4、libqtgui4 这三个软件包的版本低于所需版本。使用 synaptic 软件包管理器找到这些软件包的最新版本并安装它,或者您也可以使用“sudo apt-get install package_name”