Calvin's Tech Space

          成于堅忍,毀于浮躁

             :: 首頁 :: 聯系 :: 聚合  :: 管理
          安裝openoffice后系統依賴異常,安裝新軟件時均報錯:
          Building dependency tree       
          Reading state information... Done
          You might want to run `apt-get -f install' to correct these:
          The following packages have unmet dependencies:
            openoffice.org-core: Depends: openoffice.org-common (> 1:3.1.1) but it is not going to be installed
          E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

          執行apt-get -f install
          Reading package lists... Done
          Building dependency tree       
          Reading state information... Done
          Correcting dependencies... Done
          The following extra packages will be installed:
            openoffice.org-common
          Suggested packages:
            openoffice.org-style-industrial openoffice.org-style-hicontrast openoffice.org-style-tango openoffice.org-style-crystal
            openoffice.org-style-oxygen
          The following NEW packages will be installed:
            openoffice.org-common
          0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
          2 not fully installed or removed.
          Need to get 0B/17.1MB of archives.
          After this operation, 45.9MB of additional disk space will be used.
          Do you want to continue [Y/n]? y
          (Reading database ... 233700 files and directories currently installed.)
          Unpacking openoffice.org-common (from .../openoffice.org-common_1%3a3.1.1-5ubuntu1.1_all.deb) ...
          dpkg: error processing /var/cache/apt/archives/openoffice.org-common_1%3a3.1.1-5ubuntu1.1_all.deb (--unpack):
           trying to overwrite '/usr/share/icons/hicolor/16x16/mimetypes/openofficeorg3-text.png', which is also in package openoffice.org3.2-freedesktop-menus 0:3.2-9472
          Processing triggers for man-db ...
          Processing triggers for hicolor-icon-theme ...
          Errors were encountered while processing:
           /var/cache/apt/archives/openoffice.org-common_1%3a3.1.1-5ubuntu1.1_all.deb
          E: Sub-process /usr/bin/dpkg returned an error code (1)

          解決:
          dpkg -i --force-overwrite   /var/cache/apt/archives/openoffice.org-common_1%3a3.1.1-5ubuntu1.1_all.deb

          參考:
          http://www.linuxquestions.org/questions/debian-26/unmet-dependencies-582174/
          http://ubuntuforums.org/showthread.php?t=1229506
          http://hostechs.com/tag/usrbindpkg-returned-an-error-code-1/
          posted on 2010-04-02 19:25 calvin 閱讀(5743) 評論(1)  編輯  收藏 所屬分類: Linux

          Feedback

          # re: unmet dependencies和E: Sub-process /usr/bin/dpkg returned an error code (1)的循環錯誤 2012-05-20 21:36 心靈小屋
          ubuntu12.04中這個問題怎么解決呢  回復  更多評論
            

          主站蜘蛛池模板: 汉寿县| 饶平县| 龙州县| 呼伦贝尔市| 林州市| 张家港市| 宣威市| 鄂托克旗| 普兰店市| 汨罗市| 西充县| 城固县| 三亚市| 盐亭县| 遂宁市| 巫山县| 江山市| 拜泉县| 敖汉旗| 宜良县| 邵东县| 正蓝旗| 柳州市| 抚松县| 类乌齐县| 邹城市| 嫩江县| 金沙县| 武乡县| 云梦县| 台东市| 上蔡县| 江油市| 沈丘县| 马尔康县| 桑日县| 彭阳县| 台东县| 玉门市| 大城县| 台南市|