求教:debian如何彻底删除WPS?
debian吧
全部回复
仅看楼主
level 3
Scepow 楼主
Selecting previously unselected package wps-office.
(Reading database ... 89112 files and directories currently installed.)
Preparing to unpack wps-office_10.1.0.5444-a20_amd64.deb ...
xdg-mime: file '/usr/share//mime/packages/wps-office-et.xml' does not exist
dpkg: warning: su
bp
rocess old pre-removal script returned error exit status 2
dpkg: trying script from the new package instead ...
dpkg: ... it looks like that went OK
Unpacking wps-office (10.1.0.5444~a20) over (10.1.0.5444~a20) ...
Setting up wps-office (10.1.0.5444~a20) ...
xdg-desktop-menu: No writable system menu directory found.
dpkg: error processing package wps-office (--install):
subprocess installed post-installation script returned error exit status 3
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for mime-support (3.58) ...
Processing triggers for shared-mime-info (1.3-1) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Errors were encountered while processing:
wps-office
准备试用一下wps,感觉不喜欢,没想卸载也出现问题,
然后卸载:
Show as follows:
apt-get purge wps-office?
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'wps-office' for regex 'wps-office?'
The following packages will be REMOVED:
wps-office*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 370 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 89112 files and directories currently installed.)
Removing wps-office (10.1.0.5444~a20) ...
xdg-desktop-menu: No writable system menu directory found.
dpkg: error processing package wps-office (--purge):
subprocess installed pre-removal script returned error exit status 3
Errors were encountered while processing:
wps-office
E: Sub-process /usr/bin/dpkg returned an error code (1)
显示应用程序 也有WPS的快捷方式,不能忍受!
求教:如何解决WPS彻底卸载的问题?
2016年05月20日 21点05分 1
level 5
我记得有个目录下是存放应用程序菜单里的快捷方式的,那个目录下的文件都是以*.desktop,不过我忘了是哪个目录了,[委屈],不然的话你可以 sudo find / -name wps* 命令找出来删,不过我感觉用新立得删[点头]更加的方便和干净
2016年05月21日 01点05分 2
好像是这个目录:/usr/share/applications,在这个目录下找到wps[点头]的删掉试试
2016年05月21日 01点05分
@追梦的自学者 ~/applications,只是放快捷方式的地。WPS—office在/usr/share竟然不是放在这个文件夹。删除快捷方式解决不了问题。每次只要运行程序都会在WPS-office哪里出现问题。我重装了。下次不安装这个软件了。我就纳闷了。安装WPS出现这个问题。上次安装YOZO安装不上去了事儿了。晦气![泪]
2016年05月21日 05点05分
@Scepow [捏脸]额,那还是用新立得删吧
2016年05月21日 07点05分
level 11
sudo apt-get -f instal看看
---贴吧极速版 For UWP
2016年05月24日 15点05分 3
少了个l,最后应该是install ---贴吧极速版 For UWP
2016年05月24日 15点05分
@DH1051852056 这个试过的,fix broken没有作用。谢谢解答。[吐舌]
2016年05月24日 16点05分
level 1
先建立文件夹:sudo mkdir /usr/share/desktop-directories
再建立空文件:sodo touch /usr/share/mime/packages/wps-office-et.xml
然后执行删除:sudo apt-get purge wps-office
2017年03月25日 06点03分 4
level 9
找到你下载的Deb 安装文件,再点击打开,会有卸载的选项
2017年03月25日 22点03分 5
谢谢解答。
2017年03月29日 01点03分
level 1
dpkg --get-selections | grep gnome-menus #查看是否存在gnome-menus
sudo apt-get install gnome-menus
sudo apt-get purge wps-office gnome-menus
完成 :)
2018年01月25日 13点01分 8
1