安装virtualbox-5.0出错 以及安装virtualbox-5.0

咸星波
2023-12-01

 

问题:

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

解决:

1、确认 /etc/apt/sources.list里面有这命令

deb http://download.virtualbox.org/virtualbox/debian vivid contrib

2、运行下列命令:

   sudo sed -i 's/vivid/wily/' /etc/apt/sources.list

   sudo apt-get update

   sudo apt-get install virtualbox-5.0

原因:

You use the repository for Vivid and the VirtualBox package in this repository depends on libvpx1 which is available for Vivid but not for Wily.

如何安装virtualBox-5.0

1、添加 一下命令到 /etc/apt/sources.list

   deb http://download.virtualbox.org/virtualbox/debian vivid contrib

2、

 wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -

3、

sudo apt-get update
sudo apt-get install virtualbox-5.0
 

 

 

 

转载于:https://www.cnblogs.com/chenzhenzhen/p/5419247.html

 类似资料: