On Wed, Feb 21, 2007 at 03:32:29PM -0600, Robert Citek wrote: > Is there any advantage/disadvantage to having repository components in > one line or several lines in a sources.list file? > > As far as I can tell, this single line: > > deb http://archive.ubuntu.com/ubuntu/ dapper main restricted universe > multiverse > > is equivalent to these: > > deb http://archive.ubuntu.com/ubuntu/ dapper main > deb http://archive.ubuntu.com/ubuntu/ dapper restricted > deb http://archive.ubuntu.com/ubuntu/ dapper universe > deb http://archive.ubuntu.com/ubuntu/ dapper multiverse > > When I use either the single-line or multiple-line version I get the > same result, which I expected from reading the man page. But is there > anything I should watch out for?
When downloading files, apt parallelizes by opening one conncetion per server. If it considers each line in sources.list a different server, apt would connect four times to archive.ubuntu.com. This may be considerd abuse by the folks at Ubuntu (although they probably would not even notice). If apt does some sort of string comparison to determine unique hosts, then there should no difference. -- David Dooling _______________________________________________ CWE-LUG mailing list [email protected] http://www.cwelug.org/ http://www.cwelug.org/archives/ http://www.cwelug.org/mailinglist/
