安装,卸载WPS-office报错,如何解决?
来源:互联网 发布:二叉树的前序遍历java 编辑:程序博客网 时间:2024/04/26 08:34
问题一:
xdg-mime: file '/usr/share//mime/packages/wps-office-wps.xml' does not exist
dpkg: error processing package wps-office:i386 (--purge):
subprocess installed pre-removal script returned error exit status 2
Errors were encountered while processing:
wps-office:i386
问题二:
Removing wps-office (9.1.0.4953~a18) ...
xdg-mime: file '/usr/share//mime/packages/wps-office-et.xml' does not exist
dpkg: error processing package wps-office (--remove):
子进程 已安装 pre-removal 脚本 返回了错误号 2
在处理时有错误发生:
wps-office
E: Sub-process /usr/bin/dpkg returned an error code (1)
已经解决,在 /usr/share/mime/packages 目录下创建3个空文件,再卸载,安装就可以了。
-rw-r--r-- 1 root root 0 9月 23 01:18 wps-office-et.xml-rw-r--r-- 1 root root 0 9月 23 01:18 wps-office-wpp.xml
-rw-r--r-- 1 root root 0 9月 23 01:18 wps-office-wps.xml
root@ai62685:/usr/share/mime/packages# apt-get remove wps-office:i386
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列软件包是自动安装的并且现在不需要了:
cabextract python-debian ttf-mscorefonts-installer update-notifier-common
Use 'apt-get autoremove' to remove them.
下列软件包将被【卸载】:
wps-office:i386
升级了 0 个软件包,新安装了 0 个软件包,要卸载 1 个软件包,有 0 个软件包未被升级。
解压缩后将会空出 309 MB 的空间。
您希望继续执行吗? [Y/n] y
(正在读取数据库 ... 系统当前共安装有 440770 个文件和目录。)
Removing wps-office (9.1.0.4953~a18) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for dde-daemon (0.0.1+20150415132138~b7120bedfa) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Processing triggers for deepin-software-center (3.0.1+20150521160615) ...
com.deepin.store.Api is running...
Processing triggers for dde-meta-misc-hooks (0.2.49~trusty) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
root@ai62685:/usr/share/mime/packages#
0 0
- 安装,卸载WPS-office报错,如何解决?
- 卸载libre office 安装wps
- 卸载wps后,安装office,图标关联失败
- Ubuntu 安装wps-office
- Ubuntu 安装wps-office
- Ubuntu安装wps office
- Kali linux下解决wps office 安装以及依赖问题
- freemarker导出excel时office报错而wps不会
- freemarker导出excel时office报错而wps不会
- Ubuntu 安装WPS office 2016
- Ubuntu下安装WPS-office
- 如何完美卸载office
- 如何有效地卸载office
- Office 2007无法卸载也无法安装的解决
- 如何手工卸载和安装NTKO OFFICE文档控件
- 安装wps导致 application/kset 上传文件类型报错解决办法
- LibreOffice的卸载与WPS的安装
- 如何彻底卸载Microsoft Office
- 【Codeforces】-629B-.Far Relative’s Problem(贪心.时间区间)
- Cow Contest(Floyd)
- codeforces #300 E. Demiurges Play Again(tree DP)
- 【源码】LinkedHashMap源码剖析
- (一)Spring框架——概览
- 安装,卸载WPS-office报错,如何解决?
- java根据后台查询结果合并list
- UIWebView的简单使用
- 经验分享之搭建SVN服务器问题集锦
- 【杭电1070】milk (sort+结构体)
- Python3 使用bs4按标签提取贴吧楼主发表内容
- Anroid之HttpClient异步请求数据
- Eclipse中文字体太小的解决办法
- caffe学习(2):安装完caffe后,配置python接口