[sf-lug] apt doc question 1

jim jim at well.com
Sun Nov 23 15:44:08 PST 2008

more thanks. yours is better than mine. 

here's the entirety of what the man page offers concerning 
line construction within the /etc/apt/sources.list file: 
The format of each line is: type uri args The first item, type
determines the format for args uri is a Universal Resource Identifier
(URI), which is a superset of the more specific and well-known Universal
Resource Locator, or URL. The rest of the line can be marked as a
comment by using a #.

this on ubuntu 8.04 

taking one example from the man page 
deb http://nonus.debian.org/debian-non-US stable/non-US main contrib

i surmise the format is 
* deb
* URI 
* subdirectory on mirror (in this case stable/non-US) 
* other qualifiers (in this case main and contrib and non-free) 

On Sun, 2008-11-23 at 18:30 -0500, Kenneth Dombrowski wrote:
> On 08-11-23 14:23 -0800, jim wrote:
> > 
> > thanks, kenneth, 
> >    nope, although better than the tutorial. the man 
> > page for sources.list specifies fields as 
> > type 
> > uri 
> > arguments (which can be commented out) 
> weird, mine says nothing about arguments, on debian or ubuntu.  what it
> says here, exactly, is this:
>    The format for a sources.list entry using the deb and deb-src types are:
>       deb uri distribution [component1] [component2] [...]
> it goes on to say that distribution is typically one of: stable,
> testing, or unstable (the how-to example specifies stable), and that
> various components are called main, contrib, non-free, or non-us (three
> of which you took to be separate "fields" originally).  It also explains
> in what situations the list of components is optional.
> I think you might still be looking for separate fields, rather than a 
> list of components? 
> > the arguments i find in my file and in various examples 
> > do not match those listed for the apt-get command. 
> can you be more specific, please? 
> _______________________________________________
> sf-lug mailing list
> sf-lug at linuxmafia.com
> http://linuxmafia.com/mailman/listinfo/sf-lug

More information about the sf-lug mailing list