我正在尝试在 Ubuntu Gnome 17.04 中安装 WPS office,通过软件应用程序的安装不起作用(至少我不知道原因),我可以安装其他软件但不能安装 WPS office,因此我尝试使用命令安装 .DEB 包,它输出下一个错误:
sudo dpkg -i wps-office_10.1.0.5672-a21_amd64.deb
(Reading database ... 216574 files and directories currently installed.)
Preparing to unpack wps-office_10.1.0.5672-a21_amd64.deb ...
Unpacking wps-office (10.1.0.5672~a21) ...
dpkg-deb (subprocess): cannot copy archive member from 'wps-office_10.1.0.5672-a21_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 wps-office_10.1.0.5672-a21_amd64.deb (--install):
cannot copy extracted data for './opt/kingsoft/wps-office/office6/libwppcore.so' to '/opt/kingsoft/wps-office/office6/libwppcore.so.dpkg-new': unexpected end of file or stream
Processing triggers for gnome-menus (3.13.3-6ubuntu5) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for shared-mime-info (1.8-1) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Errors were encountered while processing:
wps-office_10.1.0.5672-a21_amd64.deb
提前谢谢大家,如果有人已经解决了这个问题,我会很高兴知道如何解决,这也可以帮助其他人,谢谢。
答案1
答案2
使用gdebi
(而不是)作为手动包安装程序,它会给您缺少包dpkg
的错误。libpng12-0
该软件包应按照以下链接下载:
http://packages.ubuntu.com/xenial/i386/libpng12-0/download
http://packages.ubuntu.com/xenial/amd64/libpng12-0/download
(根据这 询问 Ubuntu线)
dpkg
然后使用(gdebi
引发错误...)安装此包。就我而言:
sudo dpkg -i libpng12-0_1.2.54-1ubuntu1_amd64.deb
最后安装 WPS:
sudo dpkg -i wps-office_10.1.0.5672~a21_amd64.deb
并且 WPS 正常安装并运行。