分页: 1 / 1

[问题]更新源的错误,搞得我好累啊

发表于 : 2007-12-05 23:09
xiehuihuang
更新源的错误,
u.tw/ubuntu/ gutsy main restricted universe multiverse
QInputContext: no input method context available
QInputContext: no input method context available
Error: "/var/tmp/kdecache-xiehuihuang" is owned by uid 1000 instead of uid 0.

QInputContext: no input method context available

QInputContext: no input method context available

Error: "/tmp/kde-xiehuihuang" is owned by uid 1000 instead of uid 0.

QInputContext: no input method context available

QInputContext: no input method context available

QInputContext: no input method context available

QInputContext: no input method context available

Error: "/tmp/ksocket-xiehuihuang" is owned by uid 1000 instead of uid 0.

Error: "/var/tmp/kdecache-xiehuihuang" is owned by uid 1000 instead of uid 0.

xiehuihuang@xie:~$ deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy main restricted universe multiverse
bash: deb-src: command not found
xiehuihuang@xie:~$ deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy-updates main restricted universe multiverse
bash: deb: command not found
xiehuihuang@xie:~$ deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy-updates main restricted universe multiverse
bash: deb-src: command not found
xiehuihuang@xie:~$ deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy-backports main restricted universe multiverse
bash: deb: command not found
xiehuihuang@xie:~$ deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy-backports main restricted universe multiverse
bash: deb-src: command not found
xiehuihuang@xie:~$ deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy-security main restricted universe multiverse
bash: deb: command not found
xiehuihuang@xie:~$ deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy-security main restricted universe multiverse
bash: deb-src: command not found
xiehuihuang@xie:~$ deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy-proposed main multiverse restricted universe
bash: deb: command not found
xiehuihuang@xie:~$ deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy-proposed main restricted universe multiverse


搞了我两天啦.不要告诉我又去设置啊.我就是按照那里的方法去做的.哪个高手帮帮我啊.难道我真的与kubuntu无缘????帮帮我啊

发表于 : 2007-12-06 7:35
ljj_jjl2008
你设置的源可能有问题,换个原试试。
比如,注释掉所有行,换成:

deb http://ubuntu.cn99.com/ubuntu/ gutsy main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ gutsy-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ gutsy-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ gutsy-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ gutsy-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-backports main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu-cn/ gutsy main restricted universe multiverse

发表于 : 2007-12-06 17:51
xiehuihuang
http://wiki.ubuntu.org.cn/index.php?tit ... cn这个网站上很多源,我试过很多个不同的源,可还是不行啊。
应该不是源的问题。谁知道啊!?????
难道我命中注定离不开微软????

发表于 : 2007-12-06 17:54
bones7456
deb开头的行不是在命令行里面执行的

发表于 : 2007-12-06 18:05
wangboe
貌似LZ设置源的方法不知道啊~

sudo gedit /etc/apt/sources.list,把2楼的贴进去。

发表于 : 2007-12-06 18:08
xiehuihuang
我是用kdesu kate /etc/apt/sources.list,在它的后面加上一段官方的源,就是
kdesu kate /etc/apt/sources.listdeb http://ubuntu.cn99.com/ubuntu/ gutsy main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ gutsy-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ gutsy-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ gutsy-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ gutsy-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-backports main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu-cn/ gutsy main restricted universe multiverse

它自动运行,就出现了上面所说的错误。

发表于 : 2007-12-06 18:10
wangboe
你的自动运行是什么意思?

发表于 : 2007-12-06 18:13
xiehuihuang
就是说我我在终端输入kdesu kate /etc/apt/sources.listdeb http://ubuntu.cn99.com/ubuntu/ gutsy main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ gutsy-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ gutsy-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ gutsy-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ gutsy-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-backports main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu-cn/ gutsy main restricted universe multiverse

它就自动出现上面一楼所说的错误。

发表于 : 2007-12-06 18:16
wangboe
xiehuihuang 写了:就是说我我在终端输入kdesu kate /etc/apt/sources.listdeb http://ubuntu.cn99.com/ubuntu/ gutsy main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ gutsy-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ gutsy-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ gutsy-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ gutsy-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-backports main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu-cn/ gutsy main restricted universe multiverse

它就自动出现上面一楼所说的错误。

是输入kdesu kate /etc/apt/sources.list


在出来的窗口里贴上你后边的那串东西,保存,退出。运行 kdesu apt-get update 即可更新源了。 :x :x :x

发表于 : 2007-12-06 18:22
xiehuihuang
对啊,我输入kdesu kate /etc/apt/sources.list后面加上长长的一段源的地址。可就自动弹出了这个错误。我试过很多源的地址,还是不行。我不知道是不是与硬件有关,不过我想应该没有吧,应该与系统有关吧。可是在网上找了很久,找不到怎么解决 ,我又是新手,就前几天才拿到一个7.10的盘,自己学着弄。。。
这个问题我真的解决不了。

发表于 : 2007-12-06 18:26
wangboe
xiehuihuang 写了:对啊,我输入kdesu kate /etc/apt/sources.list后面加上长长的一段源的地址。可就自动弹出了这个错误。我试过很多源的地址,还是不行。我不知道是不是与硬件有关,不过我想应该没有吧,应该与系统有关吧。可是在网上找了很久,找不到怎么解决 ,我又是新手,就前几天才拿到一个7.10的盘,自己学着弄。。。
这个问题我真的解决不了。

晕死了,运行命令就行了,源串不是拿来运行的,是加入到设置文件的。 :D

发表于 : 2007-12-06 18:31
xiehuihuang
请原谅我的错误,我是用得WIN太多,所以成了WINDOWS的白痴了。。。现在想改变这一点。我现在试试。。。。

发表于 : 2007-12-06 18:37
wangboe
xiehuihuang 写了:请原谅我的错误,我是用得WIN太多,所以成了WINDOWS的白痴了。。。现在想改变这一点。我现在试试。。。。

呵呵,没有原谅不原谅这么一说。慢慢学,不急的哦。 :em11 :em11 :em11 :em11

发表于 : 2007-12-06 18:40
xiehuihuang
ok!!!!!
thank you!!!! my friend!!!!!