作者Reinhard (偽ABJ)
看板Linux
標題[問題] dependency 問題
時間Tue Feb 10 18:23:54 2009
我試著用 apt-get install 安裝某套件 libmlt-dev
但卻出現以下的錯誤訊息
Reading package lists... Done
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:
libgavl1: Depends: libc6 (>= 2.7-1) but 2.5-0ubuntu14 is to be installed
libmlt-dev: Depends: libmlt0.2.2 (= 0.2.2+cvs20070213-0ubuntu2) but it is
not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify
a solution).
看起來應該是 libc6 的版本太低的關係
那為什麼 apt-get 不能自動幫我升上去呢?
我的 ubuntu 是舊了一點 7.04
不過如果是因為這緣故升不上去
那就是說 ubuntu 一兩年就得 dist-upgrade 一次
好像有點麻煩 畢竟 dist-upgrade 通常會爛掉 那就得重裝
當然 手動找 deb 檔或是從 source 編也是可以
只是這樣會不會把這個 dependency 打亂掉
以後就常常得手動裝了…
麻煩各位板友解惑
我對這地方一直很不懂 感謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.160.32.109
→ Reinhard:BTW 我用 apt-get -f install 也是不行滴 02/10 18:24
推 zlw:應該是指libc6要新版(>= 2.7-1),但你已經有裝舊版 02/10 18:32
→ zlw:執行sudo aptitude,進去後找正確的lib6版本安裝,然後看錯誤 02/10 18:33
→ zlw:訊息是講什麼,如果是要移除舊版,那就移除看看,看錯誤訊息.. 02/10 18:33