系統: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。然后我並不知道怎么在文字界面聯網,這就是我最后重裝系統的原因。
完結!