8 apt virtualbox dependencies software-installation 15.10
我正在运行带有 GNOME 3.18 的 Ubuntu GNOME 15.10 并且我试图在我的系统上安装 VirtualBox 5.0,我已经按照此处Debian-based Linux distributions安装部分中的所有说明进行操作,但是当我现在尝试实际安装它时:
sudo apt-get install virtualbox-5.0
Run Code Online (Sandbox Code Playgroud)
我得到这个输出:
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.
Run Code Online (Sandbox Code Playgroud)
我试过运行:
sudo apt-get install -f
Run Code Online (Sandbox Code Playgroud)
但它说没有什么可以升级或安装的。
那我该怎么办?我真的需要安装 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:
Run Code Online (Sandbox Code Playgroud)
A.B*_*.B. 11
您使用 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
Run Code Online (Sandbox Code Playgroud)
我很确定它会起作用。
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
Run Code Online (Sandbox Code Playgroud)
如果sudo apt-get install virtualbox-5.0说没有安装 VirtualBox 5,请从此链接下载安装文件
| 归档时间: |
|
| 查看次数: |
26799 次 |
| 最近记录: |