Sougou IME not compatible with fcitx under 4.13.* kernel Debian

System: Kali GNU/Linux Rolling
Kernel: 4.13.0-kali1-amd64 #1 SMP Debian 4.13.4-1kali1 (2017-10-03) x86_64 GNU/Linux
Error in dpkg:

dpkg: 依赖关系问题使得 sogoupinyin 的配置工作不能继续:
 sogoupinyin 依赖于 libopencc2 | libopencc1;然而:
  未安装软件包 libopencc2。
  未安装软件包 libopencc1。
 sogoupinyin 依赖于 fcitx-libs (>= 4.2.7);然而:
  未安装软件包 fcitx-libs。
 sogoupinyin 依赖于 fcitx-libs-qt (>= 4.2.7);然而:
  未安装软件包 fcitx-libs-qt。

dpkg: 处理软件包 sogoupinyin (--install)时出错:
 依赖关系问题 - 仍未被配置

-----

没有可用的软件包 fcitx-libs,但是它被其它的软件包引用了。
这可能意味着这个缺失的软件包可能已被废弃,
或者只能在其他发布源中找到
然而下列软件包会取代它:
  libfcitx-utils0 libfcitx-core0 libfcitx-config4

没有可用的软件包 fcitx-libs-qt,但是它被其它的软件包引用了。
这可能意味着这个缺失的软件包可能已被废弃,
或者只能在其他发布源中找到
然而下列软件包会取代它:
  libfcitx-qt0

E: 软件包 fcitx-libs 没有可安装候选
E: 软件包 fcitx-libs-qt 没有可安装候选


** My Kali was configured long time ago with Chinese support and Sougou Pinyin. However, it has been automatically removed during the latest distribution upgrade. The apt says the “fcitx-libs” was replaced by libfcitx-qt0.

Please fix this problem, thank you.

Update: I fixed the dependencies error for newer version of fcitx:

mkdir tmp
dpkg-deb -R sogoupinyin_2.1.0.0086_amd64.deb tmp
vi tmp/DEBIAN/control

and replace Depends with :

fcitx (>= 1:4.2.8.3-3~), fcitx-frontend-gtk2, fcitx-frontend-gtk3, fcitx-frontend-qt4, fcitx-module-kimpanel, im-config, libopencc2 | libopencc1, lsb-release, unzip, x11-utils, libfcitx-utils0 (>= 4.2.7), libfcitx-core0 (>= 4.2.7), libfcitx-config4 (>= 4.2.7), libfcitx-qt0 (>= 4.2.7), libc6 (>= 2.8), libgcc1 (>= 1:4.1.1), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.16.0), libidn11 (>= 1.13), libnotify4 (>= 0.7.0), libqt4-dbus (>= 4:4.8.0), libqt4-declarative (>= 4:4.8.0), libqt4-network (>= 4:4.8.0), libqtcore4 (>= 4:4.8.0), libqtgui4 (>= 4:4.8.0), libstdc++6 (>= 4.6), libx11-6, zlib1g (>= 1:1.2.0)

Note that the libs from fcitx has been fixed.
Save the file and then

dpkg-deb -b tmp/ sogoupinyin-fixed.deb
dpkg -i

and complete the install, then reboot.

妈的智障fcitx,终于修好了……

:L 英语可以的!

:L我以为来了个老外呢。

很强势