错误记录(1)--windows 子系统ubuntu桌面安装

问题记录

在win10安装完成ubuntu子系统后想要使用X-Windows做桌面的时候碰到在安装desktop时输入命令

sudo apt-get install ubuntu-desktop unity compizconfig-settings-manager

或者

apt-get install ubuntu-desktop

都会返回

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:
 ubuntu-desktop : Depends: baobab but it is not going to be installed
                  Depends: checkbox-gui but it is not going to be installed
                  Depends: doc-base but it is not going to be installed
                  Depends: eog but it is not going to be installed
                  Depends: evince but it is not going to be installed
                  Depends: file-roller but it is not going to be installed
                  Depends: gedit but it is not going to be installed
                  Depends: gnome-calculator but it is not going to be installed
                  Depends: gnome-font-viewer but it is not going to be installed
                  Depends: gnome-power-manager but it is not going to be installed
                  Depends: gnome-screenshot but it is not going to be installed
                  Depends: gnome-session-canberra but it is not going to be installed
                  Depends: gnome-system-log but it is not going to be installed
                  Depends: gnome-system-monitor but it is not going to be installed
                  Depends: gucharmap but it is not going to be installed
                  Depends: language-selector-gnome but it is not going to be installed
                  Depends: lightdm but it is not going to be installed
                  Depends: nautilus but it is not going to be installed
                  Depends: nautilus-sendto but it is not going to be installed
                  ...

推测是子系统有些依赖没装上
使用update和upgrade命令也不行
最后使用命令

sudo apt-get install aptitude

sudo aptitude install ubuntu-desktop unity compizconfig-settings-manager

解决

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值