问题记录
在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
解决