Translation(s): English - Fran├žais - Italiano

(!) ?Discussion

Creating repository index files

The tools dpkg-scanpackages(1) and dpkg-scansources(1) (from package dpkg-dev) are used to create the index files:

cd /debian
dpkg-scansources dists/local/custom/source | gzip > dists/local/custom/source/Sources.gz
dpkg-scanpackages dists/local/custom/binary-i586 | gzip > dists/local/custom/binary-i586/Packages.gz

Override File

An override file can be optionally specified. For old versions of Debian (etch or older) if no override file exists, /dev/null must be provided as an explicit argument.