"deb-src" and "deb"

为当前最终发行版之前的所有版本提供支持
回复
kara
帖子: 26
注册时间: 2005-11-05 22:45
送出感谢: 0
接收感谢: 0

"deb-src" and "deb"

#1

帖子 kara » 2006-07-12 10:08

Could anyone tell the difference between
------------------------------------------------------
deb-src http://archive.ubuntu.com/ubuntu/ dapper main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ dapper main restricted universe multiverse
------------------------------------------------------

Each time I used the form of "deb" , when I update, the error MSG come out as follows:

==================================
Failed to fetch http://mirror.lupaworld.com/ubuntu/arch ... ackages.gz Sub-process gzip returned an error code (1)
Reading package lists... Done
E: Some index files failed to download, they have been ignored, or old ones used instead.
=================================

Yet, using the form of "deb-src", everything seems ok.
Why?
头像
suenr
帖子: 93
注册时间: 2006-07-09 21:22
来自: 香港
送出感谢: 0
接收感谢: 0

deb-src and deb

#2

帖子 suenr » 2006-07-12 10:33

在 sources.list 里,deb-src开头是说下载源码包;而 deb 开头的是说下载 binary 包。

这个报错一般是网络不通所致。
kara
帖子: 26
注册时间: 2005-11-05 22:45
送出感谢: 0
接收感谢: 0

#3

帖子 kara » 2006-07-13 9:29

Thanks :)
jarry
帖子: 4
注册时间: 2006-07-13 11:30
送出感谢: 0
接收感谢: 0

#4

帖子 jarry » 2006-07-13 11:32

看下http://ciyi.net/inthedebianway/Debian_Tools_apt.html
kara
帖子: 26
注册时间: 2005-11-05 22:45
送出感谢: 0
接收感谢: 0

#5

帖子 kara » 2006-07-14 11:14

Learnt a lot for that site~

Thank u, Jarry~
回复

回到 “老旧版本支持”