Provided by: apt-utils_0.8.16~exp12ubuntu10_i386 bug

NAME

       apt-ftparchive -

SYNOPSIS

       apt-ftparchive [-hvdsq] [--md5] [--delink] [--readonly] [--contents]
                      [--arch architecture] [-o config=string] [-c=file]
                      {[packages path... [override [pathprefix]]] |
                      [sources path... [override [pathprefix]]] |
                      [contents path] | [release path] |
                      [generate config-file section...] | [clean config-file]}

       apt-ftparchive APT

       apt-ftparchive dpkg-scanpackages(1) packages contents contents

        apt-ftparchive .deb gzip(1)

       -h --help

       packages
           packages .deb dpkg-scanpackages(1)

           --db  DB

       sources

           sources .dsc dpkg-scansources(1)

           override src --source-override

       contents

           contents .deb

           --db  DB

       release
           The release command generates a Release file from a directory tree.
           It recursively searches the given directory for uncompressed
           Packages and Sources files and the ones compressed with gzip, bzip2
           or lzma as well as Release and md5sum.txt files by default
           (APT::FTPArchive::Release::Default-Patterns). Additional filename
           patterns can be added by listing them in
           APT::FTPArchive::Release::Patterns. It then writes to stdout a
           Release file containing a MD5, SHA1 and SHA256 digest for each
           file.

           Release APT::FTPArchive::Release  (:
           APT::FTPArchive::Release::Origin) Origin, Label, Suite, Version,
           Codename, Date, Valid-Until, Architectures, Components, Description

       generate

           generate cron

       clean

           clean

GENERATE

       generate bind 8  dhcpd  ISC ISC apt.conf(5) Generate apt.conf(5)

       generate  4

   Dir
       Dir

       ArchiveDir
           FTP  Debian ls-LR  dist

       OverrideDir

       CacheDir

       FileListDir

           FileList

   Default
       Default

       Packages::Compress
           Package  '.' (), 'gzip', 'bzip2'  '. gzip'

       Packages::Extensions
            '.deb'

       Sources::Compress

           Packages::Compress Sources

       Sources::Extensions
            '.dsc'

       Contents::Compress

           Packages::Compress Contents

       Translation::Compress

           Packages::Compress Translation-en

       DeLinkLimit
            delink () External-Links

       FileMode
            0644 umask

       LongDescription
           Sets if long descriptions should be included in the Packages file
           or split out into a master Translation-en file.

   TreeDefault
        Tree  $(DIST), $(SECTION), $(ARCH)

       MaxContentsChange
            contents contents

       ContentsAge
            contents  contents  mtime [] contents  .deb  10

       Directory
           .deb $(DIST)/$(SECTION)/binary-$(ARCH)/

       SrcDirectory
            $(DIST)/$(SECTION)/source/

       Packages
           Packages $(DIST)/$(SECTION)/binary-$(ARCH)/Packages

       Sources
           Sources $(DIST)/$(SECTION)/source/Sources

       Translation
           Set the output Translation-en master file with the long
           descriptions if they should be not included in the Packages file.
           Defaults to $(DIST)/$(SECTION)/i18n/Translation-en

       InternalPrefix
           $(DIST)/$(SECTION)/

       Contents
           Contents $(DIST)/Contents-$(ARCH)  Packages  Contents  ()
           apt-ftparchive

       Contents::Header
           contents

       BinCacheDB

       FileList
           apt-ftparchive

       SourceFileList
           apt-ftparchive

   Tree
       Tree  Debian Directory

       Tree $(DIST)  (ArchiveDir) dists/squeeze

       TreeDefault 3 Tree

       Tree apt-ftparchive

           for i in Sections do
              for j in Architectures do
                 Generate for DIST=scope SECTION=i ARCH=j

       Sections
           distribution main contrib non-free

       Architectures
           search  'source'

       LongDescription
           Sets if long descriptions should be included in the Packages file
           or split out into a master Translation-en file.

       BinOverride

       SrcOverride

       ExtraOverride

       SrcExtraOverride

   BinDirectory
       bindirectory Tree SectionArchitecture

       Packages
           Packages

       Sources
           Sources Packages SrcPackages

       Contents
           Contents ()

       BinOverride

       SrcOverride

       ExtraOverride

       SrcExtraOverride

       BinCacheDB
            DB

       PathPrefix

       FileList, SourceFileList

       dpkg-scanpackages(1)  4 2 3

           old [// oldn]* => new

           new

       //  email  new 2

       dpkg-scansources(1)  2 2

       3 2

        -f-,--no-f, -f=no

       --md5, --sha1, --sha256
           Generate the given checksum. These options default to on, when
           turned off the generated index files will not have the checksum
           fields where possible. Configuration Items:
           APT::FTPArchive::Checksum and APT::FTPArchive::Index::Checksum
           where Index can be Packages, Sources or Release and Checksum can be
           MD5, SHA1 or SHA256.

       -d, --db
            DB generate  - APT::FTPArchive::DB

       -q, --quiet
            -  2  q -q=#  - quiet

       --delink
           Delink External-Links  delink  on off --no-delink  -
           APT::FTPArchive::DeLinkAct

       --contents
           contents  DB  DB generate  Contents  on  -
           APT::FTPArchive::Contents

       -s, --source-override

           sources  - APT::FTPArchive::SourceOverride

       --readonly
            - APT::FTPArchive::ReadOnlyDB

       -a, --arch
           Accept in the packages and contents commands only package files
           matching *_arch.deb or *_all.deb instead of all package files in
           the given path. Configuration Item: APT::FTPArchive::Architecture.

       --version

           apt-ftparchive(1) caches as much as possible of metadata in a
           cachedb. If packages are recompiled and/or republished with the
           same version again, this will lead to problems as the now outdated
           cached metadata like size and checksums will be used. With this
           option enabled this will no longer happen as it will be checked if
           the file was changed. Note that this option is set to "false" by
           default as it is not recommend to upload multiply versions/builds
           of a package with the same versionnumber, so in theory nobody will
           have these problems and therefore all these extra checks are
           useless.

       APT::FTPArchive::LongDescription
           This configuration option defaults to "true" and should only be set
           to "false" if the Archive generated with apt-ftparchive(1) also
           provides Translation files. Note that the Translation-en master
           file can only be created in the generate command.

       -h, --help

       -v, --version

       -c, --config-file
            APT_CONFIG apt.conf(5)

       -o, --option
            -o Foo::Bar=bar  -o --option

        (.deb)  Packages

           apt-ftparchive packages directory | gzip > Packages.gz

       apt.conf(5)

       apt-ftparchive  0  100

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

        <nabetaro@debian.or.jp> (2003-2006,2009-2010), Debian JP Documentation
       ML <debian-doc@debian.or.jp>

AUTHORS

       Jason Gunthorpe

       APT

NOTES

        1. APT
           http://bugs.debian.org/src:apt