Wednesday, 11 March 2020

Toubleshoot Sogou Pinying Installing


sudo dpkg -i sogoupinyin_2.2.0.0108_amd64.deb

And got the following problem:

boris@boris-desktop:~$ sudo dpkg -i ~/Downloads/sogoupinyin_2.3.1.0112_amd64.deb
(Reading database ... 129112 files and directories currently installed.)
Preparing to unpack .../sogoupinyin_2.3.1.0112_amd64.deb ...
Unpacking sogoupinyin (2.3.1.0112) over (2.3.1.0112) ...
dpkg: dependency problems prevent configuration of sogoupinyin:
 sogoupinyin depends on libqtwebkit4; however:
  Package libqtwebkit4 is not installed.
 sogoupinyin depends on libopencc2 | libopencc1; however:
  Package libopencc2 is not installed.
  Package libopencc1 is not installed.
 sogoupinyin depends on fcitx-libs | libfcitx-qt0; however:
  Package fcitx-libs is not installed.
  Package libfcitx-qt0 is not installed.

dpkg: error processing package sogoupinyin (--install):
 dependency problems - leaving unconfigured
Processing triggers for libglib2.0-0:amd64 (2.56.4-0ubuntu0.18.04.4) ...
No such key 'Gtk/IMModule' in schema 'org.gnome.settings-daemon.plugins.xsettings' as specified in override file '/usr/share/glib-2.0/schemas/50_sogoupinyin.gschema.override'; ignoring override for this key.
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for shared-mime-info (1.9-2) ...
Processing triggers for fontconfig (2.12.6-0ubuntu2) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
 sogoupinyin

Solution:
sudo apt --fix-broken install



ref:

No comments:

Post a Comment