ubuntu 下安装搜狗输入法报错
ubuntu 是16.04 LTS 64位
错误信息如下:
$sudo dpkg -i sogoupinyin_2.1.0.0082_amd64.deb
Preparing to unpack sogoupinyin_2.1.0.0082_amd64.deb ...
Unpacking sogoupinyin (2.1.0.0082) ...
dpkg-deb (subprocess): cannot copy archive member from 'sogoupinyin_2.1.0.0082_amd64.deb' to decompressor pipe: unexpected end of file or stream
dpkg-deb (subprocess): decompressing archive member: lzma error: unexpected end of input
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing archive sogoupinyin_2.1.0.0082_amd64.deb (--install):
cannot copy extracted data for './usr/bin/sogou-qimpanel-watchdog' to '/usr/bin/sogou-qimpanel-watchdog.dpkg-new': unexpected end of file or stream
Errors were encountered while processing:
sogoupinyin_2.1.0.0082_amd64.deb
错误原因是下载过程出错,重新下载并安装,参考这里
如果安装过程缺少依赖,使用 sudo apt-get -f install