分页: 1 / 1

更新源的问题

发表于 : 2008-04-30 13:35
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
还有 打开sources.list 里面有很多源的地址,不想用的话是不是在前边加一个# 就可以了?
比如:
# deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-proposed main restricted universe multiverse

发表于 : 2008-04-30 13:38
guoyouwang
等待高手解答~~~~~~~~~~~~~`

Re: 更新源的问题

发表于 : 2008-04-30 13:39
dbzhang800
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

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

发表于 : 2008-04-30 14:21
guoyouwang
源搞完后运行 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:◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆

我想知道是我输入的问题 还是源的问题

发表于 : 2008-04-30 14:24
liangshouyong
路过,学习。

发表于 : 2008-04-30 14:24
guoyouwang
如果是源的问题 请大家推荐一个河北电信或网通的源。

THS!

发表于 : 2008-04-30 14:39
guoyouwang
问题已经解决。是源的原因。换了一个就可以了。