我意外地从 14.04 升级的 ubuntu 16 上删除了 ibus,然后突然出现了未满足的依赖项、损坏的软件包等。我设法使用 live-cd-usb chroot 进入系统,并使用 aptitude install 手动修复了许多依赖项。但仍然有一些依赖项我无法手动解决,有人知道下一步该怎么做吗?
root@ubuntu:/# apt install ubuntu-desktop
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 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: nautilus but it is not going to be installed
Depends: nautilus-sendto but it is not going to be installed
Depends: software-center but it is not going to be installed
Depends: unity but it is not going to be installed
Depends: unity-control-center but it is not going to be installed
Recommends: bluez-alsa but it is not going to be installed
Recommends: brasero but it is not going to be installed
Recommends: cheese but it is not going to be installed
Recommends: empathy but it is not going to be installed
Recommends: firefox but it is not going to be installed
Recommends: gnome-orca but it is not going to be installed
Recommends: libreoffice-calc but it is not going to be installed
Recommends: nautilus-share but it is not going to be installed
Recommends: network-manager-gnome but it is not going to be installed
Recommends: network-manager-pptp-gnome but it is not going to be installed
Recommends: onboard but it is not going to be installed
Recommends: remmina but it is not going to be installed
Recommends: rhythmbox but it is not going to be installed
Recommends: rhythmbox-plugin-magnatune but it is not going to be installed
Recommends: shotwell but it is not going to be installed
Recommends: totem but it is not going to be installed
Recommends: totem-mozilla but it is not going to be installed
Recommends: transmission-gtk but it is not going to be installed
Recommends: unity-webapps-common but it is not going to be installed
Recommends: usb-creator-gtk but it is not going to be installed
Recommends: xul-ext-unity but it is not going to be installed
Recommends: xul-ext-webaccounts but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
信息
root@ubuntu:/# uname -a
Linux ubuntu 4.8.0-36-generic #36~16.04.1-Ubuntu SMP Sun Feb 5 09:39:57 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux