在树莓派2上安装xbmc

sudo apt-get install xbmc安装会得到如下报错:

pi@raspberrypi ~ $ sudo apt-get install xbmc
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:
xbmc : Depends: xbmc-bin (>= 2:11.0~git20120510.82388d5-1) but it is not installable
Depends: xbmc-bin (< 2:11.0~git20120510.82388d5-1.1~) but it is not installable
Recommends: python-qt3 but it is not installable
E: Unable to correct problems, you have held broken packages.

据说这是到2012-9-4时依然是一个没有解决的bug,不过除了等官方修复或者直接改用openelec、XBian之类的专用发行版之外还可以用下面的方法(其实就是改源和添加公钥):

1. 向 /etc/apt/sources.list里添加  deb ftp://ftp.deb-multimedia.org wheezy main non-free
2. 执行 sudo apt-get update, 这时候会返回一些因为没有公钥无法验证的错误,可以直接跳到最后一步直接安装xbmc

3. sudo apt-get install deb-multimedia-keyring
4. sudo apt-get update

5. 现在可以通过sudo apt-get install xbmc 来安装XBMC了

其中3和4可选择安装。

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值