The following packages have unmet dependencies

时间:2022-09-03 02:48:01
安装FCITX时候出现问题,以前安装过一次,删除后再装就装不上了

$sudo apt-get install fcitx
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:
 fcitx : Depends: fcitx-bin but it is not installable
         Depends: fcitx-modules but it is not installable
         Depends: fcitx-module-x11 but it is not installable
         Depends: fcitx-ui-classic but it is not installable
         Recommends: fcitx-pinyin but it is not installable
         Recommends: fcitx-table-wubi but it is not going to be installed or
                     fcitx-table-wbpy but it is not going to be installed
         Recommends: fcitx-config-gtk but it is not going to be installed
         Recommends: fcitx-frontend-gtk2 but it is not installable
         Recommends: fcitx-frontend-gtk3 but it is not installable
         Recommends: fcitx-frontend-qt4 but it is not installable
         Recommends: im-config (>= 0.5) but it is not going to be installed or
                     im-switch
E: Unable to correct problems, you have held broken packages.

6 个解决方案

#1


我试了网上很多方法,都不好使,大家帮帮忙,谢谢了。

#2


升级最新版本的apt,自动解决包依赖。
要不然依赖什么包你先查询aptitude search  fcitx-bin*
然后在结果中找出具体版本然后apt-get install fcitx-bin-xxxx

#3


安装了所依赖的包之后,可以成功的安装fcitx,但是仍然无法运行

$ fcitx
[ERROR] /build/buildd-fcitx_4.2.1-2-amd64-EFoLpz/fcitx-4.2.1/src/lib/fcitx/ime.c:319-Load Config Description File inputmethod.desc Erorr, Please Check your install.

#4


试试

sudo aptitude update && sudo aptitude install build-essential

#5


yes,楼上的答案可以啊。

#6


按照他的提示用这个命令ok!ubuntu 14.04.
 apt-get -f install

#1


我试了网上很多方法,都不好使,大家帮帮忙,谢谢了。

#2


升级最新版本的apt,自动解决包依赖。
要不然依赖什么包你先查询aptitude search  fcitx-bin*
然后在结果中找出具体版本然后apt-get install fcitx-bin-xxxx

#3


安装了所依赖的包之后,可以成功的安装fcitx,但是仍然无法运行

$ fcitx
[ERROR] /build/buildd-fcitx_4.2.1-2-amd64-EFoLpz/fcitx-4.2.1/src/lib/fcitx/ime.c:319-Load Config Description File inputmethod.desc Erorr, Please Check your install.

#4


试试

sudo aptitude update && sudo aptitude install build-essential

#5


yes,楼上的答案可以啊。

#6


按照他的提示用这个命令ok!ubuntu 14.04.
 apt-get -f install