我从这里下载了搜狗输入法的64位包https://pinyin.sogou.com/linux/
当我尝试安装它时,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.
有什么解决方案可以让搜狗输入在 Ubuntu 20.04 上运行?
谢谢
我修改了 .deb 文件,即删除了这两个依赖项。结果可以在这里下载:
https://people.ubuntu.com/~gunnarhj/sogoupinyin_2.3.1.0112+noQt4Deps_amd64.deb
然后导航到下载文件夹并执行以下操作:
但这真的不需要。sogoupinyin 维护者应该将该包移植到 Qt5 或至少删除 Qt4 运行时依赖项。
编辑:
这已在最新版本中修复;见英俊风发布的答案。
新版搜狗(v2.3.2.07)已经修复了依赖问题,见:https ://pinyin.sogou.com/linux/changelog.php