Réalisées par des traducteurs professionnels, des entreprises, des pages web ou traductions disponibles gratuitement.
usage: apt-ftparchive [options] command commands: packages binarypath [overridefile [pathprefix]] sources srcpath [overridefile [pathprefix]] contents path release path generate config [groups] clean config apt-ftparchive generates index files for debian archives. it supports many styles of generation from fully automated to functional replacements for dpkg-scanpackages and dpkg-scansources apt-ftparchive generates package files from a tree of .debs. the package file contains the contents of all the control fields from each package as well as the md5 hash and filesize. an override file is supported to force the value of priority and section. similarly apt-ftparchive generates sources files from a tree of .dscs. the --source-override option can be used to specify a src override file the 'packages' and 'sources' command should be run in the root of the tree. binarypath should point to the base of the recursive search and override file should contain the override flags. pathprefix is appended to the filename fields if present. example usage from the debian archive: apt-ftparchive packages dists/potato/main/binary-i386/ > \\ dists/potato/main/binary-i386/packages options: -h this help text --md5 control md5 generation -s=? source override file -q quiet -d=? select the optional caching database --no-delink enable delinking debug mode --contents control contents file generation -c=? read this configuration file -o=? set an arbitrary configuration option
วิธีใช้: apt-ftparchive [ตัวเลือก] คำสั่ง คำสั่ง: packages binarypath [overridefile [pathprefix]] sources srcpath [overridefile [pathprefix]] contents path release path generate config [groups] clean config apt-ftparchive ใช้สร้างแฟ้มดัชนีสำหรับแหล่งแพกเกจเดเบียน รองรับวิธีสร้างหลายแบบ ตั้งแต่แบบอัตโนมัติทั้งหมด ไปจนถึงการใช้แทน dpkg-scanpackages และ dpkg-scansources apt-ftparchive สร้างแฟ้ม package จากต้นไม้ไดเรกทอรีที่เก็บ .deb แฟ้ม package จะรวมเนื้อหาข้อมูลควบคุมทุกรายการของแต่ละแพกเกจ รวมถึง md5 hash และขนาดแฟ้ม และรองรับการสร้างแฟ้ม override เพื่อบังคับค่าลำดับความสำคัญและหมวดแพกเกจด้วย ในทำนองเดียวกัน apt-ftparchive จะสร้างแฟ้ม sources จากต้นไม้ไดเรกทอรีที่เก็บ .dsc คุณสามารถใช้ตัวเลือก --source-override เพื่อระบุแฟ้ม override สำหรับซอร์สได้ คำสั่ง 'packages' และ 'sources' ควรเรียกที่ตำแหน่งรากของต้นไม้ไดเรกทอรี ค่า binarypath ควรชี้ไปที่ตำแหน่งฐานที่จะค้นหาแบบทั่วถึง และแฟ้ม override ก็ควรมีแฟล็ก override ต่างๆ สำหรับแพกเกจ ค่า pathprefix จะถูกเพิ่มเข้าที่หน้าข้อมูล filename ถ้ามี ตัวอย่างการใช้งานจากแหล่งแพกเกจเดเบียน: apt-ftparchive packages dists/potato/main/binary-i386/ > \\ dists/potato/main/binary-i386/packages ตัวเลือก: -h แสดงข้อความช่วยเหลือนี้ --md5 ควบคุมการสร้าง md5 -s=? แฟ้ม override สำหรับซอร์ส -q ทำงานแบบเงียบ -d=? เลือกฐานข้อมูลแคชอื่น --no-delink เปิดโหมดดีบั๊กสำหรับการตัดลิงก์ --contents ควบคุมการสร้างแฟ้มสารบัญ -c=? อ่านแฟ้มค่าตั้งนี้ -o=? กำหนดตัวเลือกค่าตั้งเป็นรายตัว