我使用GNOME 3.18运行Ubuntu 15.10,并试图在我的系统上安装VirtualBox 5.0,我遵循了Debian-based Linux distributions安装部分这里中的所有说明,但是,当我现在尝试使用以下方法实际安装它时:
sudo apt-get install virtualbox-5.0我得到了这个输出:
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.0 : Depends: libvpx1 (>= 1.0.0) but it is not installable
Recommends: libsdl-ttf2.0-0 but it is not going to be installed
Recommends: dkms but it is not going to be installed
E: Unable to correct problems, you have held broken packages.我试过跑步:
sudo apt-get install -f但是它说没有什么可升级或安装的。
那我该怎么办?我确实需要安装VirtualBox 5.0,但我似乎无法安装。
apt-cache policy virtualbox-5.0 libvpx1输出:
virtualbox-5.0:
Installed: (none)
Candidate: 5.0.10-104061~Ubuntu~trusty
Version table:
5.0.10-104061~Ubuntu~trusty 0
500 http://download.virtualbox.org/virtualbox/debian/ vivid/contrib amd64 Packages
libvpx1:
Installed: (none)
Candidate: (none)
Version table:发布于 2015-11-11 20:54:05
您使用Vivid的存储库,而这个存储库中的VirtualBox包依赖于libvpx1,这对于Vivid是可用的,但对于Wily却没有。
在使用Wily时,更改存储库:
sudo sed -i 's/vivid/wily/' /etc/apt/sources.list
sudo apt-get update
sudo apt-get install virtualbox-5.0发布于 2017-03-30 08:34:46
我很肯定它会成功的。
wget http://ftp.us.debian.org/debian/pool/main/libv/libvpx/libvpx1_1.1.0-1_amd64.deb
sudo dpkg -i libvpx1_1.1.0-1_amd64.deb
wget http://ftp.cn.debian.org/debian/pool/main/libp/libpng/libpng12-0_1.2.49-1+deb7u2_amd64.deb
sudo dpkg -i libpng12-0_1.2.49-1+deb7u2_amd64.deb如果sudo apt-get install virtualbox-5.0说VirtualBox 5没有安装,请从此链接下载安装文件
发布于 2016-02-23 20:15:39
这不再是一个问题,我只有在添加自定义ppa时才有这个问题,但是普通的ubuntu版本(5.0.14)安装得很好,没有其他ppa的
"sudo apt-获取安装虚拟盒“
https://askubuntu.com/questions/696870
复制相似问题