+ -
当前位置:首页 → 问答吧 → 套件管理员更新一直丢出debian could not download all repository indexes

套件管理员更新一直丢出debian could not download all repository indexes

时间:2010-03-30

来源:互联网

http://ftp.tw.debian.org lenny/updates/main Sources 404 Not Found
http://ftp.tw.debian.org lenny/updates/contrib Sources 404 Not Found
http://ftp.tw.debian.org lenny/updates/non-free Sources 404 Not Found

不知道是出了什么问题?
爬了一下google没看到其他人跟我有相同问题.

作者: mason   发布时间: 2010-03-30

因为那边本来就没有放 updates 啊…

updates 请改成:
代码: 选择全部deb http://security.debian.org/ lenny/updates main contrib non-free

作者: mason   发布时间: 2010-03-30

感谢您的回应.
我刚刚想说去改一下sources.list
下面是我的cat出来的结果:
# deb cdrom:[Debian GNU/Linux 5.0.4 _Lenny_ - Official i386 DVD Binary-1 20100131-19:16]/ lenny contrib main

# deb cdrom:[Debian GNU/Linux 5.0.4 _Lenny_ - Official i386 DVD Binary-1 20100131-19:16]/ lenny contrib main

deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://ftp.tw.debian.org/debian/ lenny/updates main contrib non-free

deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib
deb http://ftp.tw.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.tw.debian.org/debian/ lenny main contrib non-free
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main contrib

deb http://www.debian-multimedia.org lenny main

是否是直接注解掉所有http://ftp.tw.debian.org的网址呢?
有点怕注解错就无法更新了,谢谢.

作者:   发布时间: 2010-03-30

如果你把所有ftp.tw.debian.org的来源都注解了的话,就无法安装新套件了。

ftp.tw.debian.org 里面的东西就是该 stage (stable,testing)所有可供安装的套件。
security.debian.org 呢?里面就是放以上ftp.tw.debian.org 所述的更新套件(像 windows update 那样)

建议留这样就好:
(如果没有需要抓 source 回来 build 的话,deb-src 可以不用加,加了只是浪费频宽与apt-get update的时间)
代码: 选择全部# deb cdrom:[Debian GNU/Linux 5.0.4 _Lenny_ - Official i386 DVD Binary-1 20100131-19:16]/ lenny contrib main

# deb cdrom:[Debian GNU/Linux 5.0.4 _Lenny_ - Official i386 DVD Binary-1 20100131-19:16]/ lenny contrib main

deb http://security.debian.org/ lenny/updates main contrib non-free

# deb-src http://ftp.tw.debian.org/debian/ lenny/updates main contrib non-free

deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib
deb http://ftp.tw.debian.org/debian/ lenny main contrib non-free

# deb-src http://ftp.tw.debian.org/debian/ lenny main contrib non-free
# deb-src http://volatile.debian.org/debian-volatile lenny/volatile main contrib

deb http://www.debian-multimedia.org lenny main

作者:   发布时间: 2010-03-30

真是太感谢您了!
我照您的建议注解掉之后,就没有上述问题了.
还可加快apt-get update的时间,真是万分感谢.

作者:   发布时间: 2010-03-31