This one time, at band camp, Joe Fred said: > Hi, > > I don't understand the format of sources.list after looking at the APT > howto and the source.list man page. > > KDE lists debian packages at some url, e.g.: > > http://www.blarg.org/pub/kde/stable/3.0.3/Debian > > At that URL there are kde directories and the files Packages.gz and > Sources.gz. > > What is the relationship between directories and the source.list > lines? > > What I've read so far refers to a place where the debian distribution > is kept. The url above is not debian, it's kde. I tried: > > http://www.blarg.org/pub/kde/stable/3.0.3/Debian ./ > > But, apt-get update produces: > > Ign ... > > I suppose I can go grab all the deb files, but I'd like to understand this. apt is actually looking for Packages.gz, Sources.gz, and Release. These three files contain the information about all sorts of things (depends, file size, short description, etc). They also contain the location of all the files that this apt source contains. When you type 'apt-cache show foo', apt retrieves the information about foo, invluding the absolute URL for foo.deb, from these files (or, I guess more exactly, from the library it's built out of these files). I think. Steve -- Heisenberg may have been here.
Description: PGP signature