1.尝试 sudo apt-get install unity-control-center ubuntu-desktop,如果成功自然很好,高版本ubuntu可能不成功,出现下述错误
>The following packages have unmet dependencies:
unity-control-center : Depends: gkbd-capplet (>= 3.5.90) but it is not going to be installed
Depends: ibus
Recommends: gnome-session-bin but it is not going to be installed
Recommends: ubuntu-system-service but it is not going to be installed
Recommends: ibus (>= 1.5.0)
Recommends: mousetweaks but it is not going to be installed
Recommends: libcanberra-pulse but it is not going to be installed
Recommends: system-config-printer-gnome but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
这时候手动安装依赖包就行了
>sudo apt-get install gkbd-capplet
>sudo apt-get install ibus
这一步出现这个依赖项
>The following packages have unmet dependencies:
ibus : Depends: gir1.2-ibus-1.0 (= 1.5.11-1ubuntu2) but 1.5.11-1ubuntu3 is to be installed
这种版本问题造成无法安装,先卸载原包,再安装
>sudo apt-get remove gir1.2-ibus-1.0
>sudo apt-get install gir1.2-ibus-1.0
这时候再安装ibus\unity-control-center
>sudo apt-get install ibus
>sudo apt-get install unity-control-center
一般就没有问题了.