2

I downloaded the 64-bit package for the Sogou input method from here https://pinyin.sogou.com/linux/

When I try to install it there are dependency errors on Ubuntu 20.04

Note, selecting 'sogoupinyin' instead of './sogoupinyin_2.3.1.0112_amd64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies: sogoupinyin : Depends: fcitx-frontend-qt4 but it is not installable Depends: libqtwebkit4 but it is not installable E: Unable to correct problems, you have held broken packages.

What solution is there to get Sogou input up and running on Ubuntu 20.04?

Thanks

zeitue
  • 2,226

2 Answers2

5

I modified the .deb file, i.e. dropped those two dependencies. The result can be downloaded here:

https://people.ubuntu.com/~gunnarhj/sogoupinyin_2.3.1.0112+noQt4Deps_amd64.deb

Then navigate to the Downloads folder and do:

sudo apt install ./sogoupinyin_2.3.1.0112+noQt4Deps_amd64.deb

But this should really not be needed. The sogoupinyin maintainers should port that package to Qt5 or at least drop the Qt4 runtime dependencies.

Edit:

This has been fixed in the latest version; see answer posted by handsome_feng.

4

The new version of sogou ( v2.3.2.07) already fixed the dependency issue, see: https://pinyin.sogou.com/linux/changelog.php