這裏顯示兩個版本的差異處。
Both sides previous revision 前次修改 下次修改 | 前次修改 | ||
linux:debian [2009/07/30 17:26] wenpei |
linux:debian [2009/09/13 22:31] (目前版本) wenpei |
||
---|---|---|---|
行 94: | 行 94: | ||
完成後將會產生兩個 deb 檔案,利用 dpkg -i 將這兩個套件安裝即可。 | 完成後將會產生兩個 deb 檔案,利用 dpkg -i 將這兩個套件安裝即可。 | ||
+ | |||
+ | ====== 套件損毀 ====== | ||
+ | 如果不小心安裝到 ubuntu 的 .deb 套件,有可能安裝失敗,導致要重新安裝、移除都不行,出現下列資訊: | ||
+ | |||
+ | 中文: | ||
+ | <code> | ||
+ | dpkg:在處理 adobe-flashplugin (--remove) 時發生錯誤: | ||
+ | 該套件正處於極度混亂的狀態 - 您最好能在移除它之前先重新安裝一次。 | ||
+ | 在處理時有錯誤發生: | ||
+ | adobe-flashplugin | ||
+ | E: Sub-process /usr/bin/dpkg returned an error code (1) | ||
+ | 套件安裝失敗。正在試圖恢復: | ||
+ | </code> | ||
+ | |||
+ | 英文: | ||
+ | <code> | ||
+ | dpkg: error processing adobe-flashplugin (--remove): | ||
+ | Package is in a very bad inconsistent state - you should | ||
+ | reinstall it before attempting a removal. | ||
+ | Errors were encountered while processing: | ||
+ | adobe-flashplugin | ||
+ | E: Sub-process /usr/bin/dpkg returned an error code (1) | ||
+ | A package failed to install. Trying to recover: | ||
+ | </code> | ||
+ | |||
+ | 處理方式: | ||
+ | - 備份 /var/lib/dpkg/status 檔案 | ||
+ | - 編輯上述檔案,找到套件名稱,如本例的 adobe-flashplugin | ||
+ | - 將所有相關資訊(一整個區塊)刪除,存檔離開即可 | ||
+ | <code> | ||
+ | Package: adobe-flashplugin | ||
+ | Status: deinstall reinstreq half-configured | ||
+ | Priority: optional | ||
+ | Section: web | ||
+ | Installed-Size: 9976 | ||
+ | Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com> | ||
+ | Architecture: i386 | ||
+ | Version: 10.0.22.87-1 | ||
+ | Config-Version: 10.0.22.87-1 | ||
+ | Replaces: flashplugin (<< 6) | ||
+ | Provides: flashplugin-nonfree | ||
+ | Depends: debconf | debconf-2.0, fontconfig, libatk1.0-0 (>= 1.20.0), libc6 (>= 2.4), libcairo2 (>= 1.6.0), libcurl3, libfontconfig1 (>= 2.4.0), libfreetype6 (>= 2.3.5), libgcc1 (>= 1:4.1.1-21), libglib2.0-0 (>= 2.12.0), libgtk2.0-0 (>= 2.12.0), libnspr4-0d, libnss3-1d, libpango1.0-0 (>= 1.20.5), libstdc++6 (>= 4.1.1-21), libx11-6, libxext6, libxt6, wget | ||
+ | Suggests: firefox, konqueror-nsplugins, msttcorefonts, ttf-bitstream-vera | ttf-dejavu, ttf-xfree86-nonfree, x-ttcidfont-conf, xfs (>= 1:1.0.1-5) | ||
+ | Conflicts: flashplayer-mozilla, flashplugin (<< 6), xfs (<< 1:1.0.1-5) | ||
+ | Description: Adobe Flash Player plugin version 10 | ||
+ | This package will download the Flash Player from Adobe. It is a | ||
+ | Netscape/Mozilla type plugin. Any browser based on Netscape or Mozilla can use | ||
+ | the Flash plugin. This package officially supports the following browsers: | ||
+ | . | ||
+ | Firefox 2.x, Firefox 3.x, SeaMonkey 1.11 | ||
+ | Original-Maintainer: DL-Flash Player Ubuntu <FlashPlayerUbuntu@adobe.com> | ||
+ | </code> | ||
====== useful ubuntu links ====== | ====== useful ubuntu links ====== |