ubuntu14.04安装AndroidO编译环境之后系统启动不不到主界面

在ubuntu14.04桌面环境下安装AndroidO编译环境之后系统启动不不到主界面,主要的问题如下:

sudo apt-get install libglapi-mesa:i386  libgl1-mesa-glx:i386 mingw32 提示如下:

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  sudo apt-get install libglapi-mesa:i386 libgl1-mesa-glx:i386

之后ubuntu14.04系统重启,发现进不了主界面,主要的原因是在上面安装的过程中将启动桌面出现异常,解决的办法如下:

查看当前的ubuntu14.04使用的桌面系统
$ls /usr/share/xsessions
ubuntu.desktop
$sudo vi /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
[SeatDefaults]
user-session=ubuntu

重新安装ubuntu.desktop
sudo apt-get install ubuntu.desktop

之后断电重启即可
 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值