[N900]給更新後出現原軟體無法使用的處理命令

剛剛看到多篇更新後出狀況的文

小弟提供一個命令可以協助解決部份問題

像更新完mscim後無法使用中文的問題

相信大家應該都已經知道重新安裝應該可以解決

但如果重新安裝後仍然無法使用,可以試試下面的重裝方式

1. 打開X Terminal,並打 入root以取得root得權限

2. dpkg -l | grep mscim | awk '{print $2}' | xargs apt-get install -y --reinstall

3. reboot

第二步主要是找出有mscim字眼得套件,並一起重新安裝,讓apt來處理相依性的問題

相依性會決定套件安裝的順序

類似的問題都可以這樣解決





2010-11-03 22:09 發佈

好想按個讚!
但是這裡是01...呵!

colorbottle wrote:
2. dpkg -l | grep mscim | awk '{print $2}' | xargs apt-get install -y --reinstall


順便請教,如果用在別的程式,就是更改其中的mscim嗎?
是的

以mscim來說,下列是小弟的環境所取出來的套件資訊

1040:ii mscim 1.4.7-1maemo15 Maemo smart common input method platform
1041:ii mscim-chewing 0.3.3-1maemo6 Chewing IM engine module for MSCIM
1042:ii mscim-modules-table 0.5.9-1maemo7 generic tables IM engine module for SCIM platform
1043:ii mscim-n900-ppinputmethod 1.0.0-2010072302 Penpower Input Method for N900
1044:ii mscim-tables-symbol 0.5.9-1maemo7 Symbol table for SCIM platform

第二個步驟就是取出第二個欄位的套件名稱

很多套件都是附屬在主套件下的 plug-in,所以這類套件通常會以主套件名當前綴名稱。

例如:

961:ii mbarcode 0.2.4-0 mBarcode is a 1D & 2D barcode scanning app for the Maemo platform.
962:ii mbarcode-plugin-ii 0.0.6-3 This plugin connects mbarcode to the Informed Individual review database.
963:ii mbarcode-plugin-qrcode 0.0.4-3 With the QR Code plugin you may open vCards and URLs.
964:ii mbarcode-plugin-webrequest 0.1.15-2 The webrequest plugin lets the user look up any result from mbarcode on the w
965:ii mbarcode-plugin-wifi 0.1.0-3 The wifi plugin connects to the barcode's wifi network.
966:ii mbarcode-plugins-all 0.0.2-1 This package provides all the plugins considered main plugins for mbarcode.

利用第二步驟的前段就可以列出如上的資料

dpkg -l | grep mbarcode

由於套件有附屬相依的關係,所以單單更新主套件有時會出現衝突或是無法使用,這時就需要將相關套件一併作升級或是重安裝,讓apt由套件所帶的相依關係來作對應的安裝。

但相依資訊也不是萬能有時也會出錯,這時要嘛自己人工處理要嘛等套件維護人員修復。
Bottle

好樣的! 給你加油拍手鼔勵一下!

15151515151515
內文搜尋
X
評分
評分
複製連結
Mobile01提醒您
您目前瀏覽的是行動版網頁
是否切換到電腦版網頁呢?