关于装vim

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
wingfy01
帖子: 85
注册时间: 2008-11-16 17:00

关于装vim

#1

帖子 wingfy01 » 2008-11-25 16:10

liangyi@ubuntu:~$ sudo apt-get install vim
[sudo] password for liangyi:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
vim: Depends: vim-common (= 1:7.0-164+1ubuntu7.2) but 1:7.1.314-3ubuntu3 is to be installed
Depends: vim-runtime (= 1:7.0-164+1ubuntu7.2) but it is not going to be installed
E: Broken packages


这个问题怎么解决
ASUS F8 Slackware+Win7 嘿嘿
西贝土方木点
帖子: 243
注册时间: 2008-09-13 16:34

Re: 关于装vim

#2

帖子 西贝土方木点 » 2008-11-25 18:51

这个vim在终端里面输入可以直接打开的
还要安装吗
头像
ebok
帖子: 852
注册时间: 2008-02-15 0:09

Re: 关于装vim

#3

帖子 ebok » 2008-11-25 19:06

请注意最后一段英文。
Somebody think they are full of niubility, so they play a zhuangbility, but only reflect their shability.
poet
帖子: 2841
注册时间: 2006-09-11 22:47

Re: 关于装vim

#4

帖子 poet » 2008-11-25 19:12

楼主的源有问题,还是先把源设置好再 sudo apt-get update 一下吧。

至于楼上,ubuntu缺省安装的那个极度阉割版的vim完全可以无视,如果真要使用vim必须使用完整版的。估计ubuntu根本没打算让人使用vim。主流发行版 openSUSE, Fedora 都提供完整版的 vim,ubuntu这种做法非常令人寒心。如果真的为了省空间干脆不提供vim,结果提供个极度阉割版本的vim在那里做摆设。
头像
ws_105
帖子: 313
注册时间: 2008-10-24 8:02

Re: 关于装vim

#5

帖子 ws_105 » 2008-11-25 21:59

源修改好后,可以使用

代码: 全选

sudo apt-get instlal -f
解决broken package问题
建议安装vim-gnome
Ubuntu 8.04 @ Intel Pentium D 925 + Intel 945G Chipset + DDR2 1.0G + SATA 160G
http://hi.baidu.com/ws_105
wingfy01
帖子: 85
注册时间: 2008-11-16 17:00

Re: 关于装vim

#6

帖子 wingfy01 » 2008-11-26 15:41

thanks
ASUS F8 Slackware+Win7 嘿嘿
回复