i can't edit /etc/apt/sources.list

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

i can't edit /etc/apt/sources.list

#1

帖子 jcoco » 2009-10-23 22:31

i can't edit /etc/apt/sources.list

I want to add some new chinas sources .to make more fast to update.
i type "sudo gedit /etc/apt/sources.list"
but display: "gedit:7755 GTK-WARNING **: cannot open display:"

now i update so slowly ! i will crazy!

help me !

please回复in chinese!
头像
HuntXu
帖子: 5776
注册时间: 2007-09-29 3:09

Re: i can't edit /etc/apt/sources.list

#2

帖子 HuntXu » 2009-10-23 22:32

还没启动x吧?
用vim/nano...
HUNT Unfortunately No Talent...
头像
tenzu
论坛版主
帖子: 36924
注册时间: 2008-11-21 20:26

Re: i can't edit /etc/apt/sources.list

#3

帖子 tenzu » 2009-10-23 22:42

代码: 全选

sudo nano /etc/apt/sources.list
头像
jcoco
帖子: 41
注册时间: 2008-04-29 17:53

Re: i can't edit /etc/apt/sources.list

#4

帖子 jcoco » 2009-10-23 22:48

tenzu 写了:

代码: 全选

sudo nano /etc/apt/sources.list

i want to add sources to /etc/apt/sources.list
can "sudo nano /etc/apt/sources.list" add in it ??
头像
lainme
论坛版主
帖子: 7805
注册时间: 2008-09-13 19:17
系统: Arch Linux (x86_64)
联系:

Re: i can't edit /etc/apt/sources.list

#5

帖子 lainme » 2009-10-23 22:49

nano是一个文本编辑器,可以
tomshue
帖子: 22
注册时间: 2008-10-19 19:14

Re: i can't edit /etc/apt/sources.list

#6

帖子 tomshue » 2009-10-23 22:50

VIM 王道
Ubuntu 9.10
Acer Aspire One Netbook
Atom N270 /1GB RAM /160GB HDD
头像
tenzu
论坛版主
帖子: 36924
注册时间: 2008-11-21 20:26

Re: i can't edit /etc/apt/sources.list

#7

帖子 tenzu » 2009-10-23 22:50

you can use 'nano' to edit your source list by the above code.
头像
jcoco
帖子: 41
注册时间: 2008-04-29 17:53

Re: i can't edit /etc/apt/sources.list

#8

帖子 jcoco » 2009-10-24 0:17

tenzu 写了:you can use 'nano' to edit your source list by the above code.
thank u!,U R a hotheart girl
but i have install nano
i type "nano" it can't display a gragh windows . display in consol all the same!
头像
aoki的梦想
帖子: 267
注册时间: 2009-02-16 16:05
联系:

Re: i can't edit /etc/apt/sources.list

#9

帖子 aoki的梦想 » 2009-10-24 0:24

:em04 hothearted girl。。。哈哈哈
i will spread my wings and i will learn how to fly.
i will do what it takes till i touch the sky.
make a wish, take a chance, make a change, and break away
thecoolsummer
帖子: 185
注册时间: 2008-04-27 2:35

Re: i can't edit /etc/apt/sources.list

#10

帖子 thecoolsummer » 2009-10-24 0:25

jcoco 写了:
tenzu 写了:you can use 'nano' to edit your source list by the above code.
thank u!,U R a hotheart girl
but i have install nano
i type "nano" it can't display a gragh windows . display in consol all the same!
I am so sorry to tell you that he is not a girl as you said
and I wana konw what you OS is
8.10?9.04?Or 9.10?
头像
jcoco
帖子: 41
注册时间: 2008-04-29 17:53

Re: i can't edit /etc/apt/sources.list

#11

帖子 jcoco » 2009-10-24 0:28

thecoolsummer 写了:
jcoco 写了:
tenzu 写了:you can use 'nano' to edit your source list by the above code.
thank u!,U R a hotheart girl
but i have install nano
i type "nano" it can't display a gragh windows . display in consol all the same!
I am so sorry to tell you that he is not a girl as you said
and I wana konw what you OS is
8.10?9.04?Or 9.10?[/quote]
哈哈 我可以说中文了 呵呵我以为是个女孩子呢!

我用的是9。04 不能用sudo gedit 添加更新源,现在更新东西 速度好慢阿!
怎么办阿
thecoolsummer
帖子: 185
注册时间: 2008-04-27 2:35

Re: i can't edit /etc/apt/sources.list

#12

帖子 thecoolsummer » 2009-10-24 0:30

aoki的梦想 写了::em04 hothearted girl。。。哈哈哈
这个才是超cute的小ubuntu妹妹 :em01
thecoolsummer
帖子: 185
注册时间: 2008-04-27 2:35

Re: i can't edit /etc/apt/sources.list

#13

帖子 thecoolsummer » 2009-10-24 0:31

jcoco 写了:
thecoolsummer 写了:
jcoco 写了:
tenzu 写了:you can use 'nano' to edit your source list by the above code.
thank u!,U R a hotheart girl
but i have install nano
i type "nano" it can't display a gragh windows . display in consol all the same!
I am so sorry to tell you that he is not a girl as you said
and I wana konw what you OS is
8.10?9.04?Or 9.10?[/quote]
哈哈 我可以说中文了 呵呵我以为是个女孩子呢!

我用的是9。04 不能用sudo gedit 添加更新源,现在更新东西 速度好慢阿!
怎么办阿
汗 网络环境如何阿 还以为是国际友人 呵呵 我们邻居北语就有上论坛用西班牙语的
头像
jcoco
帖子: 41
注册时间: 2008-04-29 17:53

Re: i can't edit /etc/apt/sources.list

#14

帖子 jcoco » 2009-10-24 0:35

thecoolsummer 写了:
jcoco 写了:
thecoolsummer 写了:
jcoco 写了:
tenzu 写了:you can use 'nano' to edit your source list by the above code.
thank u!,U R a hotheart girl
but i have install nano
i type "nano" it can't display a gragh windows . display in consol all the same!
I am so sorry to tell you that he is not a girl as you said
and I wana konw what you OS is
8.10?9.04?Or 9.10?[/quote]
哈哈 我可以说中文了 呵呵我以为是个女孩子呢!

我用的是9。04 不能用sudo gedit 添加更新源,现在更新东西 速度好慢阿!
怎么办阿
汗 网络环境如何阿 还以为是国际友人 呵呵 我们邻居北语就有上论坛用西班牙语的
哈哈 不要因为我是国人 就不理我阿!我也不想阿 刚配出了中文!呵呵!我直接网线上的 不是拨号那种,在Xp里 直接插上就能上的!
现在最棘手的就是 GEDIT 不能用
头像
jcoco
帖子: 41
注册时间: 2008-04-29 17:53

Re: i can't edit /etc/apt/sources.list

#15

帖子 jcoco » 2009-10-24 0:38

thecoolsummer 写了:
jcoco 写了:
tenzu 写了:you can use 'nano' to edit your source list by the above code.
thank u!,U R a hotheart girl
but i have install nano
i type "nano" it can't display a gragh windows . display in consol all the same!
I am so sorry to tell you that he is not a girl as you said
and I wana konw what you OS is
8.10?9.04?Or 9.10?
本人QQ 546474931

想交流下经验 其实就是向你学东西的 呵呵
很久前就会用 7,10 就是全忘了!呵呵!
linux的用户就是好!能大家一起研究 帮助对方 那种氛围真的很喜欢!
回复