Ubuntu16.04安装搜狗输入法报错:dkpg:处理归档sogoupinyin.deb(--install)时出错,安装sogoupinyin将破坏fcitx-ui-qimpanel

系统:ubuntu16.04

事件:安装搜狗拼音时报错

报错信息(ubuntu语言是英文的报错信息):

dpkg: regarding sogoupinyin_2.3.2.07_amd64-831.deb containing sogoupinyin: 

  sogoupinyin breaks fcitx-ui-qimpanel

          fcitx-ui-qimpanel(version 2.1.2-1) is present and installed.

dpkg: error processing archive sogoupinyin_2.3.2.07_amd64-831.deb (--install):

  installing sogoupinyin would break fcitx-ui-qimanle, and

  deconfiguration is not permitted (--auto-deconfigure might help)

Errors were encountered while processing:

  sogoupinyin_2.3.2.07_amd64-831.deb

中文的报错信息:处理归档 sogoupinyin_2.3.2.07_amd64-831.deb (–install)时出错:安装 sogoupinyin 将破坏 fcitx-ui-qimpanel

问题解读:这个问题说白了就是搜狗拼音安装包中含有fcitx-ui-qimpanel,与系统已有的fcitx-ui-qimpanel产生了冲突,所以只需要将fcitx-ui-qimpanel卸载即可。

解决方案

终端执行命令:sudo apt-get remove fcitx-ui-qimpanel

总结:这个问题困扰了我很久,甚至因为这个问题重装了系统。主要是因为参考了博客:https://blog.51cto.com/7071976/1243471,参照该博客之后是能装上搜狗,但是重启系统之后就无法进入桌面,出现了“桌面图标消失,只有鼠标和墙纸的情况”。如果出现了“桌面图标消失,只有鼠标和墙纸的情况”,可以参照官方解决方案:(具体连接找不到了,这里给出官方步骤吧)

PS:如果能进入终端,则可以直接打开终端;如果不能进入终端,则按"ctrl+alt+F1"

(用户登录之后)执行以下命令:

sudo apt-get update
sudo apt-get install --reinstall ubuntu-desktop
sudo apt-get install unity
sudo shutdown -r now

提示:这是在能连接互联网的情况下才有效;如果无法联网,则会出现很多error。然后我并不知道怎么在文字界面联网,这就是我最后重装系统的原因。

完结!
原文地址:https://www.cnblogs.com/elitphil/p/14034616.html