Calvin's Tech Space

          成于堅忍,毀于浮躁

             :: 首頁 :: 聯(lián)系 :: 聚合  :: 管理
          安裝openoffice后系統(tǒng)依賴異常,安裝新軟件時均報錯:
          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).

          執(zhí)行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)的循環(huán)錯誤 2012-05-20 21:36 心靈小屋
          ubuntu12.04中這個問題怎么解決呢  回復  更多評論
            

          主站蜘蛛池模板: 河曲县| 瑞丽市| 镇原县| 广元市| 金堂县| 江门市| 航空| 凯里市| 新化县| 惠水县| 宝坻区| 漳平市| 峨眉山市| 深泽县| 龙胜| 乌兰浩特市| 应城市| 东乡| 宁津县| 龙里县| 阳山县| 隆回县| 抚州市| 凉山| 郁南县| 界首市| 肥东县| 博客| 保靖县| 同江市| 石家庄市| 育儿| 永新县| 麻栗坡县| 获嘉县| 高碑店市| 维西| 施秉县| 元江| 农安县| 巴南区|