AndroidO的ubuntu14.04依赖安装有些包安装不了的问题

google给出的依赖安装如下:

$sudo apt-get install libglapi-mesa:i386 libgl1-mesa-glx:i386 git gnupg  mesa-utils flex bison gperf build-essential zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386  libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386 
$sudo apt-get install openjdk-8-jdk 
$sudo apt-get install libgl1-mesa-swx11 
$sudo apt-get install  libncurses5 libncurses5-dev m4 libxpm4* realpath
sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
$sudo apt-get install ninja gawk

在安装的过程中会发现,如果之前在AndroidM版本安装了编译环境,在安装libglapi-mesa:i386 libgl1-mesa-glx:i386这两个依赖包的时候会提示:
zhaojr@zhaojingrong-S2600CP:~$ sudo apt-get install libglapi-mesa:i386 libgl1-mesa-glx:i386
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 theunstable
distribution that some required packages have not yetbeen created
or been moved out of Incoming. 
The following information may help to resolve thesituation: 
The following packages have unmet dependencies:  
unity-control-center : Depends:  
 libcheese-gtk23 (>= 3.4.0) but it is not going to be installed                       
    Depends: libcheese7 (>= 3.0.1) but it is not going to be installed

E: Error, pkgProblemResolver::Resolve generated breaks,this may be caused by held packages.

解决办法:出现这个问题是,你之前已经安装了libcheese-gtk23和libcheese7所使用的源可能不一样导致现在更新源会报错,
把之前的卸载了
sudo apt-get autoremove  libcheese-gtk23 libcheese7
最后在:sudo apt-get install libglapi-mesa:i386 libgl1-mesa-glx:i386 即可。

 

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值