[Ubuntu] Ubunt 8.04 的地雷 (2008/03/02)
| Posted at 三月 03, 2008 | 沒有迴響 | 沒有引用 | 1574 reads. | Size: L, M, S | Edit: P, C || Under Ubuntu, and Tags: ubuntu. |
昨天升級的時候,遇到了 openoffice.org-hyphenation-en-us 與 deskbar-applet 地雷,搜尋了一下,已經有解決的辦法。
openoffice.org-hyphenation-en-us,可能會出現例如:
dpkg:處理 /var/cache/apt/archives/openoffice.org-hyphenation-en-us_2.3.1-1_all.deb (--unpack)時出錯:
正試圖覆蓋“/usr/share/myspell/dicts/hyph_en_US.dic”,它屬於套件 openoffice.org-hyphenation
在處理時有錯誤發生:
/var/cache/apt/archives/openoffice.org-hyphenation-en-us_2.3.1-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
之類的。官方建議的修正方法如下:
# wget http://debian.mirror.inra.fr/debian/pool/main/h/hyphen/openoffice.org-hyphenation-en-us_2.3-5_all.deb
# sudo dpkg --force-all -i openoffice.org-hyphenation-en-us_2.3-5_all.deb
deskbar-applet,應該會出現這堆:
正在設定 deskbar-applet (2.21.92-0ubuntu1) ...
file does not exist: /usr/lib/python2.5/site-packages/deskbar/__init__.py
file does not exist: /usr/lib/python2.5/site-packages/deskbar/core/BrowserMatch.py
.....
pycentral: pycentral bccompile: error byte-compiling package `deskbar-applet'
pycentral bccompile: error byte-compiling package `deskbar-applet'
dpkg:處理 deskbar-applet (--configure)時出錯:
子程序·post-installation script·返回了錯誤號·1
解決辦法是先移除再安裝一次:
# sudo apt-get remove deskbar-applet python-pyatspi
# sudo apt-get install deskbar-applet python-pyatspi
搞定收工。
隨機文章:
» [Ubuntu] 以網路芳鄰(Samba)分享印表機
» [Ubuntu] 裝回 Dapper 和 wine 的執行問題
» [Ubuntu] locale 加上 Big5 & Dapper 之後 locale.gen 的位置
» [Ubuntu] LaTeX on Ubuntu
» [Ubuntu] 使用內建的 radeon 驅動開啟 3D 支援

