APT-FTPARCHIVE(1) APT APT-FTPARCHIVE(1) apt-ftparchive - apt-ftparchive [-dsq] [--md5] [--delink] [--readonly] [--contents] [--arch architecture] [-o=] [-c=] {packages [override-file [pathprefix]] | sources [override-file [pathprefix]] | contents | release | generate ... | clean | {-v | --version} | {-h | --help}} 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 release Release Packages, Sources, Contents, Components, icons Release, Index, md5sum.txt (APT::FTPArchive::Release::Default-Patterns) APT::FTPArchive::Release::Patterns () MD5, SHA1, SHA256 SHA512 Release Release APT::FTPArchive::Release (: APT::FTPArchive::Release::Origin) Origin, Label, Suite, Version, Codename, Date, NotAutomatic, ButAutomaticUpgrades, Acquire-By-Hash, Valid-Until, Signed-By, 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 APT::Compressor 1 '. 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 Packages Translation-en 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 Packages Translation-en $(DIST)/$(SECTION)/i18n/Translation-en InternalPrefix $(DIST)/$(SECTION)/ Contents Contents $(DIST)/$(SECTION)/Contents-$(ARCH) Packages Contents () apt-ftparchive Contents::Header contents BinCacheDB FileList apt-ftparchive SourceFileList apt-ftparchive Tree Tree Debian Directory Tree $(DIST) (ArchiveDir) dists/bookworm 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 non-free-firmware Architectures sourceallPackages all LongDescription Packages Translation-en BinOverride SrcOverride ExtraOverride SrcExtraOverride BinDirectory bindirectory Tree SectionArchitecture Packages Packages Sources Sources Packages Sources 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, --sha512 on off checksum : APT::FTPArchive::Checksum APT::FTPArchive::Index::Checksum Index Packages, Sources, Release Checksum MD5, SHA1, SHA256 SHA512 -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 packages contents *_arch.deb *_all.deb : APT::FTPArchive::Architecture APT::FTPArchive::AlwaysStat apt-ftparchive(1) cachedb () "false" APT::FTPArchive::LongDescription "true" apt- ftparchive(1) Translation "false" Translation-en generate -h, --help -v, --version --audit Show audit (and notice) messages. This overrides the quiet option, but only for notice messages, not progress ones. -c, --config-file APT_CONFIG apt.conf(5) -o, --option Set a Configuration Option; This will set an arbitrary configuration option. The syntax is -o Foo::Bar=bar. -o and --option can be used multiple times to set different options. --no-color, --color Turn colors on or off. Colors are on by default on supported terminals for apt(8) and can also be disabled using the NO_COLOR or APT_NO_COLOR environment variables, or further configured by the APT::Color configuration option and scope, see apt.conf(5) for information on that. (.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) (2003-2006,2009-2012), Takuma Yamada (2016), Debian JP Documentation ML Gunthorpe Jason[FAMILY Given] [FAMILY Given] 1. APT https://bugs.debian.org/src:apt APT 2.9.6 29 1 2023 APT-FTPARCHIVE(1)