ubuntu安装fcitx失败Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution)

ubuntu安装fcitx失败Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution)的解决办法。

折腾wps半天,不能在wps里用ibus,后来要装fcitx,按照http://www.linuxidc.com/Linux/2013-07/87062.htm给的2个方法安装sougou或者fcitx都失败,提示

E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
后来为自己在终端下输入fcitx,提示
The program 'fcitx' is currently not installed.  You can install it by typing:
sudo apt-get install fcitx-bin
按它说的键入
sudo apt-get install fcitx-bin
又提示
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:

照做,提示:
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

再照做,提示:
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

原来是没有root啊,马上sudo -i 之后再执行就可以了。还没有安装成功fcitx。。。未完待续。。。

好吧,现在搞成这个样子了:系统自带的软件,如firefox和liberoffice只能用ibus输入,但是wps只能用fcitx输入,所以为现在是同时开两个输入法换着用,现在没时间搞这个,有时间一定要弄明白。


   

你可能感兴趣的:(ubuntu安装fcitx失败Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution))