更新源的问题

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

更新源的问题

#1

帖子 guoyouwang » 2008-04-30 13:35

搞了2天ubuntu了 实在头疼

装的是服务器版本,没有X WINDOW
更新源的时候只能VI编译器吗?

我不太熟悉VI 可以凑合用,可以让我手动输入着么多东西。实在是浪费时间。
想知道有没有 又快有稳的办法。
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-updates main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-updates main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-backports main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-security main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-security main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-proposed main multiverse restricted universe
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-proposed main restricted universe multiverse
还有 打开sources.list 里面有很多源的地址,不想用的话是不是在前边加一个# 就可以了?
比如:
# deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-proposed main restricted universe multiverse
guoyouwang
帖子: 17
注册时间: 2008-04-29 18:43

#2

帖子 guoyouwang » 2008-04-30 13:38

等待高手解答~~~~~~~~~~~~~`
dbzhang800
帖子: 3182
注册时间: 2006-03-10 15:10
来自: xi'an China
联系:

Re: 更新源的问题

#3

帖子 dbzhang800 » 2008-04-30 13:39

guoyouwang 写了:搞了2天ubuntu了 实在头疼

装的是服务器版本,没有X WINDOW
更新源的时候只能VI编译器吗?

我不太熟悉VI 可以凑合用,可以让我手动输入着么多东西。实在是浪费时间。
想知道有没有 又快有稳的办法。
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-updates main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-updates main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-backports main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-security main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-security main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-proposed main multiverse restricted universe
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-proposed main restricted universe multiverse
这个应该手动输入第一行就行了,其它行vi复制粘贴,稍微修改一下就行了
还有 打开sources.list 里面有很多源的地址,不想用的话是不是在前边加一个# 就可以了?
比如:
# deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-proposed main restricted universe multiverse
guoyouwang
帖子: 17
注册时间: 2008-04-29 18:43

#4

帖子 guoyouwang » 2008-04-30 13:49

明白了 谢谢
查到怎么用了。
在纯文本终端下:
(1)使用v进入可视模式,选定文本块;移动光标键选定内容
(2)复制选定块到缓冲区,用y;复制整行,用yy
(3)剪切选定块到缓冲区,用d;剪切整行用dd
(4)粘贴缓冲区中的内容,用p
guoyouwang
帖子: 17
注册时间: 2008-04-29 18:43

#5

帖子 guoyouwang » 2008-04-30 14:21

源搞完后运行 sodo apt-get update 升级

31%以前正常 以后开始出现

W:◆◆◆◆ http://ubuntu.csie.net.edu.tw/ubuntu/dists/……………… (源的地址)/binary-i386/packages.gz 404 not found
W:◆◆◆◆ http://ubuntu.csie.net.edu.tw/ubuntu/dists/……………… (源的地址)/binary-i386/packages.gz 404 not found
W:◆◆◆◆ http://ubuntu.csie.net.edu.tw/ubuntu/dists/……………… (源的地址)/binary-i386/packages.gz 404 not found(路径和文件是不同的。)

……………………………………………………………………
……………………………………………………………………
E:◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆

我想知道是我输入的问题 还是源的问题
头像
liangshouyong
帖子: 12
注册时间: 2008-04-30 14:09
来自: 上海

#6

帖子 liangshouyong » 2008-04-30 14:24

路过,学习。
guoyouwang
帖子: 17
注册时间: 2008-04-29 18:43

#7

帖子 guoyouwang » 2008-04-30 14:24

如果是源的问题 请大家推荐一个河北电信或网通的源。

THS!
guoyouwang
帖子: 17
注册时间: 2008-04-29 18:43

#8

帖子 guoyouwang » 2008-04-30 14:39

问题已经解决。是源的原因。换了一个就可以了。
回复