apt-get 安装vim不成功

系统安装、升级讨论
回复
pan139com
帖子: 3
注册时间: 2009-04-05 1:41
送出感谢: 0
接收感谢: 0

apt-get 安装vim不成功

#1

帖子 pan139com » 2010-05-01 12:06

刚装 ubuntu 10.04发现 没有 vim 只有 vi ,于是

panyh@panyh-laptop:~$ sudo apt-get install vim
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
现在没有可用的软件包 vim,但是它被其它的软件包引用了。
这可能意味着这个缺失的软件包可能已被废弃,
或者只能在其他发布源中找到
E: 软件包 vim 还没有可供安装的候选者
panyh@panyh-laptop:~$


panyh@panyh-laptop:~$ sudo aptitude install vim
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
Reading extended state information
Initializing package states... 完成
No candidate version found for vim
No candidate version found for vim
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... 完成
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
Reading extended state information
Initializing package states... 完成

panyh@panyh-laptop:~$

都不成功,怎么 会 事?
头像
wowoto
帖子: 3049
注册时间: 2009-04-11 12:17
送出感谢: 0
接收感谢: 0

Re: apt-get 安装vim不成功

#2

帖子 wowoto » 2010-05-01 12:10

No candidate version found for vim
换源

该不是已经安装了吧@

代码: 全选

vim hello
wowoto>ubuntu8.04>ubuntu9.04>Archlinux>FreeBSD8.0>Archlinux & end here.
pan139com
帖子: 3
注册时间: 2009-04-05 1:41
送出感谢: 0
接收感谢: 0

Re: apt-get 安装vim不成功

#3

帖子 pan139com » 2010-05-01 12:13

panyh@panyh-laptop:~$ vim hello
The program 'vim' can be found in the following packages:
* vim
* vim-gnome
* vim-tiny
* vim-gtk
* vim-nox
Try: sudo apt-get install <selected package>
panyh@panyh-laptop:~$

没有 装 ,任何包都 转 不 上 .
pan139com
帖子: 3
注册时间: 2009-04-05 1:41
送出感谢: 0
接收感谢: 0

Re: apt-get 安装vim不成功

#4

帖子 pan139com » 2010-05-01 12:17

这 是 我 的 源,我 换 了 .

1 ### Ubuntu China Official Mirror, maintained by Shanghai Linux User Group
2
3 deb http://cn.archive.ubuntu.com/ubuntu gutsy main restricted universe multiverse
4 deb http://cn.archive.ubuntu.com/ubuntu gutsy-security main restricted universe multiverse
5 deb http://cn.archive.ubuntu.com/ubuntu gutsy-updates main restricted universe multiverse
6 deb http://cn.archive.ubuntu.com/ubuntu gutsy-backports main restricted universe multiverse
7 deb http://cn.archive.ubuntu.com/ubuntu gutsy-proposed main restricted universe multiverse
8 deb-src http://cn.archive.ubuntu.com/ubuntu gutsy main restricted universe multiverse
9 deb-src http://cn.archive.ubuntu.com/ubuntu gutsy-security main restricted universe multiverse
10 deb-src http://cn.archive.ubuntu.com/ubuntu gutsy-updates main restricted universe multiverse
11 deb-src http://cn.archive.ubuntu.com/ubuntu gutsy-backports main restricted universe multiverse
12 deb-src http://cn.archive.ubuntu.com/ubuntu gutsy-proposed main restricted universe multiverse
13
14 ### shanghai jiaotong university mirror
15
16 deb http://ftp.sjtu.edu.cn/ubuntu/ gutsy main multiverse restricted universe
17 deb http://ftp.sjtu.edu.cn/ubuntu/ gutsy-backports main multiverse restricted universe
18 deb http://ftp.sjtu.edu.cn/ubuntu/ gutsy-proposed main multiverse restricted universe
19 deb http://ftp.sjtu.edu.cn/ubuntu/ gutsy-security main multiverse restricted universe
20 deb http://ftp.sjtu.edu.cn/ubuntu/ gutsy-updates main multiverse restricted universe
21 deb-src http://ftp.sjtu.edu.cn/ubuntu/ gutsy main multiverse restricted universe
22 deb-src http://ftp.sjtu.edu.cn/ubuntu/ gutsy-backports main multiverse restricted universe
23 deb-src http://ftp.sjtu.edu.cn/ubuntu/ gutsy-proposed main multiverse restricted universe
24 deb-src http://ftp.sjtu.edu.cn/ubuntu/ gutsy-security main multiverse restricted universe
25 deb-src http://ftp.sjtu.edu.cn/ubuntu/ gutsy-updates main multiverse restricted universe
26
27 ### china telcom
28
29 deb http://mirror.vmmatrix.net/ubuntu/ gutsy main restricted universe multiverse
30 deb-src http://mirror.vmmatrix.net/ubuntu/ gutsy main restricted universe multiverse
31 deb http://mirror.vmmatrix.net/ubuntu/ gutsy-updates main restricted universe multiverse
32 deb-src http://mirror.vmmatrix.net/ubuntu/ gutsy-updates main restricted universe multiverse
33 deb http://mirror.vmmatrix.net/ubuntu/ gutsy-backports main restricted universe multiverse
34 deb-src http://mirror.vmmatrix.net/ubuntu/ gutsy-backports main restricted universe multiverse
35 deb http://mirror.vmmatrix.net/ubuntu/ gutsy-security main restricted universe multiverse
36 deb-src http://mirror.vmmatrix.net/ubuntu/ gutsy-security main restricted universe multiverse
37 deb http://mirror.vmmatrix.net/ubuntu/ gutsy-proposed main multiverse restricted universe
38 deb-src http://mirror.vmmatrix.net/ubuntu/ gutsy-proposed main restricted universe multiverse
39
40 ### taiwan official mirror
41
42 deb http://tw.archive.ubuntu.com/ubuntu gutsy main restricted universe multiverse
43 deb http://tw.archive.ubuntu.com/ubuntu gutsy-security main restricted universe multiverse
44 deb http://tw.archive.ubuntu.com/ubuntu gutsy-updates main restricted universe multiverse
45 deb http://tw.archive.ubuntu.com/ubuntu gutsy-backports main restricted universe multiverse
46 deb http://tw.archive.ubuntu.com/ubuntu gutsy-proposed main restricted universe multiverse
47 deb-src http://tw.archive.ubuntu.com/ubuntu gutsy main restricted universe multiverse
48 deb-src http://tw.archive.ubuntu.com/ubuntu gutsy-security main restricted universe multiverse
49 deb-src http://tw.archive.ubuntu.com/ubuntu gutsy-updates main restricted universe multiverse
50 deb-src http://tw.archive.ubuntu.com/ubuntu gutsy-backports main restricted universe multiverse
51 deb-src http://tw.archive.ubuntu.com/ubuntu gutsy-proposed main restricted universe multiverse
52
头像
yangsos123
帖子: 331
注册时间: 2010-01-11 20:15
送出感谢: 0
接收感谢: 0
联系:

Re: apt-get 安装vim不成功

#5

帖子 yangsos123 » 2010-05-01 12:26

为什么大家都要用Vim。。。
抛弃它把,用Kate。。。

代码: 全选

Art is always explosion~~
[/b][/u]
http://allenalan.wordpress.com/
====Allen Alan=====
头像
Mr.Dict
帖子: 109
注册时间: 2007-10-26 12:47
送出感谢: 0
接收感谢: 0

Re: apt-get 安装vim不成功

#6

帖子 Mr.Dict » 2010-05-16 18:02

我使用apt-get没法找到vim-full,但是找到了vim,但是安装后功能不全。
ltree
帖子: 8
注册时间: 2010-06-11 13:46
送出感谢: 0
接收感谢: 0

Re: apt-get 安装vim不成功

#7

帖子 ltree » 2010-06-11 13:48

安装 vim-gnome 试试看
头像
pocoyo
论坛版主
帖子: 25878
注册时间: 2008-03-25 15:49
来自: 谁知道?
送出感谢: 5 次
接收感谢: 9 次
联系:

Re: apt-get 安装vim不成功

#8

帖子 pocoyo » 2010-06-11 13:57

代码: 全选

pocoyo@debian:~$ dpkg -l| grep vim
ii  vim                                  2:7.2.330-1                    Vi IMproved - enhanced vi editor
ii  vim-common                           2:7.2.330-1                    Vi IMproved - Common files
ii  vim-runtime                          2:7.2.330-1                    Vi IMproved - Runtime files
ii  vim-tiny                             2:7.2.330-1                    Vi IMproved - enhanced vi editor - compact v
debian的有 :em06
ms99ster
帖子: 47
注册时间: 2008-11-19 14:48
送出感谢: 0
接收感谢: 0

Re: apt-get 安装vim不成功

#9

帖子 ms99ster » 2010-06-11 14:01

楼主用的7.10版本的源?
没看到lucid字样,倒是gutsy字样不断。

Ubuntu 7.10 代号:Gutsy Gibbon
Ubuntu 10.04 代号:Lucid Lynx
回复

回到 “系统安装和升级”