当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 18 篇帖子 ]  前往页数 1, 2  下一页
作者 内容
1 楼 
 文章标题 : 关于Vi语法高亮显示的问题
帖子发表于 : 2008-06-11 21:01 

注册: 2008-06-08 20:55
帖子: 19
送出感谢: 0 次
接收感谢: 0 次
Vi语法高亮显示的问题,我是初学者,请教各位大虾,怎么在ubuntu中设置Vi为高亮显示啊???


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2008-06-11 21:07 
头像

注册: 2007-02-02 18:14
帖子: 30702
系统: debian sid
送出感谢: 1
接收感谢: 34
google 一下 .vimrc 。在那个文件添加syntax on 就可以了吧


_________________
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2008-06-11 21:12 

注册: 2008-06-08 20:55
帖子: 19
送出感谢: 0 次
接收感谢: 0 次
我搜了一下,是不是还要执行sudo apt-get install vim-full这个啊!!
但是我执行上面的命令的时候总是提示我has no installation candidate 为什么呢??


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2008-06-11 21:15 
头像

注册: 2007-02-02 18:14
帖子: 30702
系统: debian sid
送出感谢: 1
接收感谢: 34
Beyond2008 写道:
我搜了一下,是不是还要执行sudo apt-get install vim-full这个啊!!
但是我执行上面的命令的时候总是提示我has no installation candidate 为什么呢??


你的源有问题 or 没有更新?是要装那个vim-full才支持语法高亮的


_________________
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)


页首
 用户资料  
 
5 楼 
 文章标题 :
帖子发表于 : 2008-06-11 21:27 

注册: 2008-06-08 20:55
帖子: 19
送出感谢: 0 次
接收感谢: 0 次
我好像以前更新过的啊!!
下载了200多个更新,你说的更新得怎么更新啊??


页首
 用户资料  
 
6 楼 
 文章标题 :
帖子发表于 : 2008-06-11 21:29 
头像

注册: 2007-02-02 18:14
帖子: 30702
系统: debian sid
送出感谢: 1
接收感谢: 34
update upgrade 然后再装看看,不行就贴你的源文件看看


_________________
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)


页首
 用户资料  
 
7 楼 
 文章标题 :
帖子发表于 : 2008-06-11 21:34 

注册: 2008-06-08 20:55
帖子: 19
送出感谢: 0 次
接收感谢: 0 次
还是不行的啊~~能说得详细一点嘛,我刚接触不太熟练啊~~~~


页首
 用户资料  
 
8 楼 
 文章标题 :
帖子发表于 : 2008-06-11 21:39 
头像

注册: 2007-02-02 18:14
帖子: 30702
系统: debian sid
送出感谢: 1
接收感谢: 34
代码:
sudo apt-get update
sudo apt-get install vim-full

看看是什么样子


_________________
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)


页首
 用户资料  
 
9 楼 
 文章标题 :
帖子发表于 : 2008-06-11 21:44 

注册: 2008-06-08 20:55
帖子: 19
送出感谢: 0 次
接收感谢: 0 次
luo@luo-desktop:~$ sudo apt-get update
Ign cdrom://Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016) gutsy/main Translation-en_US
Ign cdrom://Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016) gutsy/restricted Translation-en_US
Get:1 http://archive.ubuntu.com gutsy-updates Release.gpg [191B]
Ign http://archive.ubuntu.com gutsy-updates/restricted Translation-en_US
Ign http://archive.ubuntu.com gutsy-updates/main Translation-en_US
Hit http://archive.ubuntu.com gutsy-updates Release
Hit http://archive.ubuntu.com gutsy-updates/restricted Packages
Get:2 http://security.ubuntu.com gutsy-security Release.gpg [191B]
Ign http://security.ubuntu.com gutsy-security/restricted Translation-en_US
Ign http://security.ubuntu.com gutsy-security/main Translation-en_US
Hit http://archive.ubuntu.com gutsy-updates/main Packages
Hit http://security.ubuntu.com gutsy-security Release
Hit http://security.ubuntu.com gutsy-security/restricted Packages
Hit http://security.ubuntu.com gutsy-security/main Packages
Fetched 2B in 4s (0B/s)
Reading package lists... Done
luo@luo-desktop:~$ sudo apt-get install vim-full
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package vim-full is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package vim-full has no installation candidate
luo@luo-desktop:~$



还是提示一样的错误!!


页首
 用户资料  
 
10 楼 
 文章标题 :
帖子发表于 : 2008-06-11 21:47 
头像

注册: 2007-02-02 18:14
帖子: 30702
系统: debian sid
送出感谢: 1
接收感谢: 34
你装的是不是7.10的?你的源是7.10的,估计是源的问题吧?


_________________
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)


页首
 用户资料  
 
11 楼 
 文章标题 :
帖子发表于 : 2008-06-11 21:54 

注册: 2008-06-08 20:55
帖子: 19
送出感谢: 0 次
接收感谢: 0 次
对的,我装的是7.10的,就是在网上免费从南非邮送的,那问题得怎么解决呀??


页首
 用户资料  
 
12 楼 
 文章标题 :
帖子发表于 : 2008-06-11 21:54 

注册: 2008-06-08 20:55
帖子: 19
送出感谢: 0 次
接收感谢: 0 次
我装了好多包都提示的这个问题,可郁闷了呢!!


页首
 用户资料  
 
13 楼 
 文章标题 :
帖子发表于 : 2008-06-11 21:56 
头像

注册: 2007-02-02 18:14
帖子: 30702
系统: debian sid
送出感谢: 1
接收感谢: 34
Beyond2008 写道:
我装了好多包都提示的这个问题,可郁闷了呢!!


把你的sources.list贴出来看看,估计是你的源不全


_________________
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)


页首
 用户资料  
 
14 楼 
 文章标题 :
帖子发表于 : 2008-06-11 22:04 

注册: 2008-06-08 20:55
帖子: 19
送出感谢: 0 次
接收感谢: 0 次
deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

# Line commented out by installer because it failed to verify:
# deb http://cn.archive.ubuntu.com/ubuntu/ gutsy main restricted
# Line commented out by installer because it failed to verify:
# deb-src http://cn.archive.ubuntu.com/ubuntu/ gutsy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
# Line commented out by installer because it failed to verify:
# deb http://cn.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
# Line commented out by installer because it failed to verify:
# deb-src http://cn.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted

## 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
# Line commented out by installer because it failed to verify:
# deb http://cn.archive.ubuntu.com/ubuntu/ gutsy universe
# Line commented out by installer because it failed to verify:
# deb-src http://cn.archive.ubuntu.com/ubuntu/ gutsy universe
# Line commented out by installer because it failed to verify:
# deb http://cn.archive.ubuntu.com/ubuntu/ gutsy-updates universe
# Line commented out by installer because it failed to verify:
# deb-src http://cn.archive.ubuntu.com/ubuntu/ gutsy-updates 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.
# Line commented out by installer because it failed to verify:
# deb http://cn.archive.ubuntu.com/ubuntu/ gutsy multiverse
# Line commented out by installer because it failed to verify:
# deb-src http://cn.archive.ubuntu.com/ubuntu/ gutsy multiverse
# Line commented out by installer because it failed to verify:
# deb http://cn.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
# Line commented out by installer because it failed to verify:
# deb-src http://cn.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://cn.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb http://archive.canonical.com/ubuntu gutsy partner
# deb-src http://archive.canonical.com/ubuntu gutsy partner

# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu gutsy-security main restricted
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted
# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu gutsy-security universe
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu gutsy-security universe
# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu gutsy-security multiverse
# Line commented out by installer because it failed to verify:
deb http://archive.ubuntu.com/ubuntu/ gutsy-updates restricted main
deb http://security.ubuntu.com/ubuntu/ gutsy-security restricted main
# deb-src http://security.ubuntu.com/ubuntu gutsy-security multiverse


页首
 用户资料  
 
15 楼 
 文章标题 :
帖子发表于 : 2008-06-11 22:07 

注册: 2008-06-08 20:55
帖子: 19
送出感谢: 0 次
接收感谢: 0 次
http://wiki.ubuntu.org.cn/index.php?tit ... 7.E5.8D.97


我找到了这个网站,也是这个论坛的,不过我想问个问题,就是如果我在.list文件中贴了多个源的话(如果其中有重复的)那会有什么后果呢,因为我不知道缺的是那个源,所以我想在.list文件中多贴几个


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 18 篇帖子 ]  前往页数 1, 2  下一页

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译