1. 程式人生 > >安裝,解除安裝WPS-office報錯,如何解決?

安裝,解除安裝WPS-office報錯,如何解決?

問題一:

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
[email protected]:/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) ...
[email protected]
:/usr/share/mime/packages#

相關推薦

安裝解除安裝WPS-office如何解決

問題一: xdg-mime: file '/usr/share//mime/packages/wps-office-wps.xml' does not exist dpkg: error processing package wps-office:i386 (--purge

【Python求助】在eclipse和pycharm中通過adb install安裝中文名字APK時老是如何解決

style com all auto RoCE mod python lin sage 1 # -*- coding: utf-8 -*- 2 import os 3 import sys 4 import subprocess 5 import time 6 from

STS下Spring boot 可以正常啟動但是debug啟動下面jdk重新已經安裝在非中文無空格目錄下了

Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled. 2018-05-16 11:27:33.324

史上最全最詳細——Mac安裝MySQL步驟(內含E325command not found等問題)

MySQL Mac 安裝步驟 Mac 電腦就是指蘋果電腦,很多人安裝MySQL不夠順利(小編安了好久,深知安裝不易,特寫此文)。所以提供一個Mac版本的MySQL資料庫的安裝步驟。 MySQL是資料庫伺服器軟體,相對於應用軟體來說安裝步驟比較繁瑣,包含如下步驟: 1. 下載MySQL資源

Homebrew安裝軟體出現無寫入許可權解決方案

系統版本 macOS 10.14 情景 使用 brew install wget 指令 報錯 Error: The following directories are not writable by your user: /usr/local/sbin /usr/lo

docker沒有關閉重啟服務器解決方案

docker● docker.service - Docker Application Container Engine Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)

visual studio 2017裡發現的問題為什麼C檔案不CPP檔案

在visual studio 2017裡寫這個程式碼。如果寫的是C檔案,編譯不報錯也能執行。如果寫的是CPP檔案,編譯報錯且不能執行 嚴重性    程式碼    說明    專案    檔案    行    禁止顯示狀態 錯誤    C2440    “初始化”: 無法

解析json的時候如果有時間屬性需要注意的地方。

1.在解析傳過來的json串時,如果帶有時間引數,需要先將傳入的時間引數先編譯然後再傳入。 注意:請求連線的屬性要加入結束json型別的屬性,加入接受時間註解@JsonFormat 保證解析時型別一致。  建立一個解析json 的工具類JsonUtils 轉換的型別

Linux ext4 rm 誤刪用extundelete恢復失敗/無數血淚教訓!!!附:ext4誤刪後的正確處理步驟

目錄 典型使用者故事 Ext4誤刪恢復原理 恢復失敗的主要原因 正確的資料恢復步驟 恢復例項教學 工作室部分恢復案例 技術支援 典型使用者故事 阿里雲WEB伺服器主機,安裝CentOS系統,建立ext4檔案系統。使用者誤刪除MySQL資料庫整個目錄,導

使用IDEA等IDE在Windows環境進行shell編寫之後在Linux環境執行解決辦法

使用IDEA等IDE在Windows環境進行shell編寫之後, 在Linux環境執行通常會報錯 常用解決辦法有兩種 1.每行都使用分號結尾; 2.更改換行符 通常的換行符,及預設編輯器換行符: 更改為: 然後修改一些無關緊要的內容,提交到Linux環境

Navicat連線MySQL8.0賬號密碼正確依舊問題解決

下載了MySQL8.0且能夠執行之後,但是在用Navicat連線MySQL時出現了問題,如若是這種情況,按照以下教程能夠順利解決。 出現的問題: 解決方案:(前提是你已經進入了mysql)

eclipse匯入新的maven專案時pom.xml第一行解決辦法

eclipse匯入新的maven專案時,pom.xml第一行報錯: org.apache.maven.archiver.MavenArchiver.getManifest(org.apache.maven.project.MavenProject, org.apache.maven.archiver.Mav

ARM開發板執行執行檔案找不到庫解決方法

平臺:smart210 coretex A8 、Redhat6 這裡舉我的列子,其實不管你執行什麼可執行檔案遇到這種問題都是一樣的方法去解決的。 1、錯誤提示 問題所在:這種問題是掛載開發板的根檔案系統中缺少相應的庫,路徑(看自己的根檔案系統掛載到哪裡)如:

anaconda安裝或者解除安裝工具包時:OSError: [WinError 17] 系統無法將檔案移到不同的磁碟驅動器

  例如,報錯如下: OSError: [WinError 17] 系統無法將檔案移到不同的磁碟驅動器。: 'd:\\anaconda3\\scr ipts\\pip.exe' -> 'C

安裝visio提示無法安裝64位版本的Office找到了以下32位程式怎麼辦

今天安裝Visio準備用來寫系統詳細說明書上面畫圖的結果發現居然報錯,實在是我也沒有裝過office. 試過了幾個方案什麼office修復助手啊,什麼什麼的發現卵用沒有  最後解決方案: win+r開啟執行。輸入regedit,依次到HKEY_CLASSES_ROO

epel安裝第三方擴展源後運行yum解決方案

https ora repos all tle meta num mir ins yum安裝報錯:Cannot retrieve metalink for repository: epel. Please verify its path and try again

ruby鏡像compass安裝

rubygems spa sas 保留 add 工作 ecs date 12px 在這幾天在電腦上安裝compass一直報錯,很無語。因為安裝的ruby和sass都沒有問題,雖然是很久之前安裝的。 sass # 更新sass gem update sass # 檢

win10安裝nodejs之後查看版本號在終端輸入node -v成功輸出版本號輸入npm -v 之後......

img 版本 查看版本 data mage win use node 題解 反復安裝卸載之後,有點奔潰,最後的解決方案是:手動刪除“C:\Users\Admin”下的這兩個文件,然後刪除“C:\Users\Admin\AppData\Roaming”下的“npm”文件夾,卸

編譯安裝nginx出現以及啟動nginx服務時80端口被占用怎麽解決

c-c name 成功 端口被占用 httpd 命令 ref 怎麽 path 1.準備基礎環境[root@localhost ~]# yum -y install gcc gcc-c++ make wget 2.解壓源碼包,進入目錄[root@localhost ~]#

python2python3同時安裝python3可以安裝並升級pip庫python2解決辦法

用戶目錄 python3 error: nbsp python http customize nta tro 最近在使用pip安裝包的的時候出現下面錯誤 UnicodeEncodeError: ‘ascii‘ codec can‘t encode characte