当我尝试通过 Ubuntu 软件中心安装某些应用程序时出现错误:
cannot install libfreetype6:i386
因此我尝试通过终端安装它,并得到了以下结果:
bfalcon@lappy:~$ sudo apt-get install libfreetype6: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 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:
gnome-keyring : Depends: gcr (>= 3.4) but it is not going to be installed
indicator-bluetooth : Depends: unity-control-center but it is not going to be installed or
gnome-control-center but it is not going to be installed or
ubuntu-system-settings but it is not going to be installed
Depends: gnome-bluetooth but it is not going to be installed or
ubuntu-system-settings but it is not going to be installed
indicator-network : Depends: unity8 (>= 8.00+14.10.20140806) but it is not going to be installed
libfreetype6:i386 : Depends: libpng12-0:i386 (>= 1.2.13-4) but it is not going to be installed
qtcontact5-galera : Depends: address-book-service (= 0.1.1+14.10.20140930-0ubuntu1) but it is not going to be installed
signon-ui : Depends: signon-ui-x11 but it is not going to be installed or
ubuntu-system-settings-online-accounts (>= 0.4) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
我尝试进行一些搜索,但没有找到任何解决方案。
答案1
尝试运行此命令来安装所有依赖项。
sudo apt-get install unity-control-center gnome-control-center ubuntu-system-settings gnome-bluetooth unity8 ubuntu-system-settings-online-accounts libpng12-0:i386 address-book-service