相依性的問題

歡迎提問 debian desktop 相關問題,何謂 desktop ? 舉凡您日常生活會用到的部份,如上網 ( www 、 bbs ..) 、程式設計、繪圖...等等。 通常以 X Window 環境底下問題為主。

相依性的問題

文章yenjo » 週一 5月 22, 2006 8:04 pm

大家好:
  之前曾經安裝過 amule 然後失敗了,之後系統就一直會出現下面的錯誤訊息,就連要 upgrade 系統也不可以,請問該怎麼辦呢?

代碼: 選擇全部
debian:/usr/bin# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
  amule: Depends: libc6 (>= 2.3.5-1) but 2.3.2.ds1-22 is installed
         Depends: libcrypto++5.2c2a but it is not installable
         Depends: libgcc1 (>= 1:4.0.2) but 1:3.4.3-13 is installed
         Depends: libstdc++6 (>= 4.0.2-4) but it is not installed
         Depends: libwxgtk2.6-0 (>= 2.6.1.2) but it is not installable
  amule-common: Depends: libc6 (>= 2.3.5-1) but 2.3.2.ds1-22 is installed
                Depends: libgcc1 (>= 1:4.0.2) but 1:3.4.3-13 is installed
                Depends: libstdc++6 (>= 4.0.2-4) but it is not installed
  amule-daemon: Depends: libc6 (>= 2.3.5-1) but 2.3.2.ds1-22 is installed
                Depends: libcrypto++5.2c2a but it is not installable
                Depends: libgcc1 (>= 1:4.0.2) but 1:3.4.3-13 is installed
                Depends: libstdc++6 (>= 4.0.2-4) but it is not installed
                Depends: libwxgtk2.6-0 (>= 2.6.1.2) but it is not installable
E: Unmet dependencies. Try using -f.
debian:/usr/bin#


  我也曾試著過安裝它所說的那些相依性套件,可是它還是失敗。
代碼: 選擇全部
debian:/usr/bin# apt-get install libc6
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  amule: Depends: libc6 (>= 2.3.5-1) but 2.3.2.ds1-22sarge3 is to be installed
         Depends: libcrypto++5.2c2a but it is not installable
         Depends: libgcc1 (>= 1:4.0.2) but 1:3.4.3-13 is to be installed
         Depends: libstdc++6 (>= 4.0.2-4) but it is not going to be installed
         Depends: libwxgtk2.6-0 (>= 2.6.1.2) but it is not installable
  amule-common: Depends: libc6 (>= 2.3.5-1) but 2.3.2.ds1-22sarge3 is to be installed
                Depends: libgcc1 (>= 1:4.0.2) but 1:3.4.3-13 is to be installed
                Depends: libstdc++6 (>= 4.0.2-4) but it is not going to be installed
  amule-daemon: Depends: libc6 (>= 2.3.5-1) but 2.3.2.ds1-22sarge3 is to be installed
                Depends: libcrypto++5.2c2a but it is not installable
                Depends: libgcc1 (>= 1:4.0.2) but 1:3.4.3-13 is to be installed
                Depends: libstdc++6 (>= 4.0.2-4) but it is not going to be installed
                Depends: libwxgtk2.6-0 (>= 2.6.1.2) but it is not installable
  libc6-dev: Depends: libc6 (= 2.3.2.ds1-22) but 2.3.2.ds1-22sarge3 is to be installed
  locales: Depends: glibc-2.3.2.ds1-22
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
debian:/usr/bin#
yenjo
可愛的小學生
可愛的小學生
 
文章: 20
註冊時間: 週日 6月 06, 2004 6:53 pm

文章kanru » 週二 5月 23, 2006 6:52 am

可能你跑了 update 之後沒有 upgrade,所以套件資訊更新了但是主機上的沒有同步

先跑 apt-get dist-upgrade
然後跑 apt-get -f install 看看
圖檔
頭像
kanru
榮譽學長
榮譽學長
 
文章: 578
註冊時間: 週六 7月 12, 2003 12:09 pm


回到 debian desktop

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客