Provided by: apt_0.8.16~exp12ubuntu10_i386 bug


       sources.list - APT

       Debian GNU/Linux /etc/apt/sources.list

        1  uri uri  Universal Resource Identifier (URI)  Universal Resource
       Locator (URL)  #


       The /etc/apt/sources.list.d directory provides a way to add
       sources.list entries in separate files. The format is the same as for
       the regular sources.list file. File names need to end with .list and
       may only contain letters (a-z and A-Z), digits (0-9), underscore (_),
       hyphen (-) and period (.) characters. Otherwise APT will print a notice
       that it has ignored a file if the file doesn't match a pattern in the
       Dir::Ignore-Files-Silently configuration list - in this case it will be
       silently ignored.


       The deb type describes a typical two-level Debian archive,
       distribution/component. Typically, distribution is generally an
       archivename like stable or testing or a codename like squeeze or wheezy
       while component is one of main contrib or non-free. The deb-src type
       describes a debian distribution's source code in the same form as the
       deb type. A deb-src line is required to fetch source indexes.

       deb deb-src sources.list

           deb [ options ] uri distribution [component1] [component2] [...]

       deb  URI APT Debian distribution  component distribution  (/)  URL
       distribution component

       distribution $(ARCH) $(ARCH)  Debian  (i386, m68k, powerpc, ...)
       sources.list APT  URI

        distribution, component 1  1 distribution  URI APT  URI  FTP 1  FTP

       options is always optional and needs to be surounded by square
       brackets. It can consist of multiple settings in the form
       setting=value. Multiple settings are separated by spaces. The following
       settings are supported by APT, note though that unsupported settings
       will be ignored silently:

       o   arch=arch1,arch2,...  can be used to specify for which
           architectures packages information should be downloaded. If this
           option is not set all architectures defined by the
           APT::Architectures option will be downloaded.

       o   trusted=yes can be set to indicate that packages from this source
           are always authenificated even if the Release file is not signed or
           the signature can't be checked. This disables parts of apt-
           secure(8) and should therefore only be used in a local and trusted
           context.  trusted=no is the opposite which handles even correctly
           authenificated sources as not authenificated.

        (CD-ROM )


           deb squeeze main contrib non-free
           deb squeeze/updates main contrib non-free


        URI cdrom, file, http, ftp, copy, ssh, rsh .PP
           file  NFS

           cdrom APT  CD-ROM  cdrom apt-cdrom(8)

           http HTTP http_proxy http://server:port/ http_proxy  HTTP/1.1

           ftp  FTP APT  FTP apt.conf(5) ftp ftp_proxy http  (http  ftp url)
           http ftp

           copy file zip APT

       rsh, ssh
           rsh/ssh  rsh/ssh  RSA  rhosts find dd

           APT can be extended with more methods shipped in other optional
           packages which should follow the nameing scheme
           apt-transport-method. The APT team e.g. maintains also the
           apt-transport-https package which provides access methods for
           https-URIs with features similar to the http method, but other
           methods for using e.g. debtorrent are also available, see apt-

       /home/jason/debian  stable/main, stable/contrib, stable/non-free  (

           deb file:/home/jason/debian stable main contrib non-free


           deb file:/home/jason/debian unstable main contrib non-free

           deb-src file:/home/jason/debian unstable main contrib non-free

       The first line gets package information for the architectures in
       APT::Architectures while the second always retrieves amd64 and armel.

           deb squeeze main
           deb [ arch=amd64,armel ] squeeze main  HTTP hamm/main

           deb hamm main  FTP debian  squeeze/contrib

           deb squeeze contrib  FTP debian  unstable/contrib sources.list  FTP

           deb unstable contrib

       Uses HTTP to access the archive at, under the
       universe directory, and uses only files found under
       unstable/binary-i386 on i386 machines, unstable/binary-amd64 on amd64,
       and so forth for other supported architectures. [Note this example only
       illustrates how to use the substitution variable; official debian
       archives are not structured like this]

           deb unstable/binary-$(ARCH)/

       apt-cache(8) apt.conf(5)

       APT [1]  APT /usr/share/doc/debian/bug-reporting.txt reportbug(1)

        <> (2003-2006,2009-2010), Debian JP Documentation
       ML <>


       Jason Gunthorpe



        1. APT