發新話題
打印

Ubuntu更新到11.04,卻無法安裝vim

Ubuntu更新到11.04,卻無法安裝vim

請教~
我將server由10.04升級到11.04
升級過程一切順利
重新開機完 要安裝vim卻無法升級,並出先底下訊息:
--------------------------------------------------------------
~$ sudo apt-get install vim
正在讀取套件清單... 完成
正在重建相依關係
正在讀取狀態資料... 完成
有些套件無法安裝。這可能意謂著您的要求難以解決,或是若您使用的是
unstable 發行版,可能有些必要的套件尚未建立,或是被移出 Incoming 了。
以下的資訊或許有助於解決當前的情況:

下列的套件有未滿足的相依關係:
vim : 相依關係: vim-common (= 2:7.2.330-1ubuntu3) 但 2:7.3.035+hg~8fdc12103333-1ubuntu7 卻將被安裝
       相依關係: libpython2.6 (>= 2.6) 但它卻將不會被安裝
E: 損毀的套件
--------------------------------------------------------------
我該如何安裝vim呢?謝謝!

TOP

當初Server版會用10.04是因為
它的套件維護為五年
而11.04也不過維護二年
所以沒升級必要
呵....
不要把自己的快樂,建築在別人的痛苦上
世間最珍貴的不是‘得不到’和‘已失去’,而是現在能把握的幸福
取之於網路,回饋於網路

TOP

引用:
原帖由 jls 於 2011-7-28 09:44 發表
當初Server版會用10.04是因為
它的套件維護為五年
而11.04也不過維護二年
所以沒升級必要
呵....
報告~是的
真的是沒升級沒事
升級完一堆事
白忙一場啦...
請問可以"降級"回來嗎?

TOP

呵...
有請村老回答
村老請了....
不要把自己的快樂,建築在別人的痛苦上
世間最珍貴的不是‘得不到’和‘已失去’,而是現在能把握的幸福
取之於網路,回饋於網路

TOP

重灌花不到10分鐘..這樣最快了..
還能怎麼回答
  華府低等下人
不要叫我教Windows,因為我的薪水不是比爾蓋兹付的。

TOP

引用:
原帖由 chiming 於 2011-7-29 11:19 發表
重灌花不到10分鐘..這樣最快了..
還能怎麼回答
是喔....慘!

TOP

相依關係: libpython2.6 (>= 2.6) 但它卻將不會被安裝
11.04應該是  libpython2.7

是否套件庫有問題或不正確
查一下/etc/apt 內的檔案看看
例如 /etc/apt/sources.list 這個檔
不要把自己的快樂,建築在別人的痛苦上
世間最珍貴的不是‘得不到’和‘已失去’,而是現在能把握的幸福
取之於網路,回饋於網路

TOP

引用:
原帖由 jls 於 2011-7-29 17:14 發表
相依關係: libpython2.6 (>= 2.6) 但它卻將不會被安裝
11.04應該是  libpython2.7

是否套件庫有問題或不正確
查一下/etc/apt 內的檔案看看
例如 /etc/apt/sources.list 這個檔 ...
感謝亮哥~
這部份是真的是 /etc/apt/sources.list的問題
因為那時我的sources.list還是使用10.04版的
於是到 Ubuntu 正體中文站找到11.04的sources.list套用就OK了
至於為什麼版本不同,sources.list的設定也不一樣
這部分我並不是很清楚!
底下列出11.04的sources.list,提供有需要的夥伴:
---------------------------------------------------------------------------------------
deb cdrom:[Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427)]/ natty main restricted
deb http://archive.ubuntu.com/ubuntu natty main restricted
deb-src http://archive.ubuntu.com/ubuntu natty restricted main multiverse universe #Added by software-properties

deb http://security.ubuntu.com/ubuntu natty-security main restricted
deb-src http://security.ubuntu.com/ubuntu natty-security restricted main multiverse universe #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu natty-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu natty-updates restricted main multiverse universe #Added by software-properties

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu natty universe
deb http://archive.ubuntu.com/ubuntu natty-updates universe
deb http://security.ubuntu.com/ubuntu natty-security universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu natty multiverse
deb http://archive.ubuntu.com/ubuntu natty-updates multiverse
deb http://security.ubuntu.com/ubuntu natty-security multiverse
deb http://archive.ubuntu.com/ubuntu natty-proposed restricted main multiverse universe
deb-src http://archive.ubuntu.com/ubuntu natty-proposed restricted main multiverse universe
deb http://archive.ubuntu.com/ubuntu natty-backports restricted main multiverse universe
deb-src http://archive.ubuntu.com/ubuntu natty-backports restricted main multiverse universe
# added by poloshiao
deb http://archive.canonical.com/ubuntu natty partner
deb-src http://archive.canonical.com/ubuntu natty partner
---------------------------------------------------------------------------------------

[ 本帖最後由 simu 於 2011-7-31 22:05 編輯 ]

TOP

發新話題