尝试在15.10上安装VirtualBox 5.0时的依赖性错误
我正在使用GNOME 3.18运行Ubuntu GNOME 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:
您使用存储库进行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
我很确定它会起作用。
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安装,请从此链接下载安装文件
这应该不再是一个问题,我只有在添加自定义ppa时遇到此问题,但是常规的ubuntu版本(5.0.14)安装完全没有其他ppa的
“sudo apt-get install virtualbox”
- 重启后的Ubuntu 15.10 Wi-Fi,usb端口,局域网,不能正常工作! 请帮忙
- 在Ubuntu 15.10上安装nvidia驱动程序后如何解决黑屏问题?
- KDE5中的Dolphin缺少一些上下文菜单操作(未找到serviceType“KonqPopupMenu / Plugin”)
- 如何在Ubuntu 15.10中的Haswell iGPU上运行英特尔驱动程序的DRI3?
- 在64位ubuntu 15.10上运行32位程序
- 双显示器环境中的右侧显示器 – Ubuntu 15.10(Wily Werewolf))
- Ubuntu Gnome 15.10在启动画面挂起,加载图标冻结
- 在Ubuntu 15.10上安装CUDA 7.5工具包
- 15.10 Nvidia图形问题