#language en ||~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[fr/CreateLocalRepositoryIndex|Français]] - [[it/CreateLocalRepositoryIndex|Italiano]]-~|| (!) [[/Discussion|Discussion]]|| ---- = Creating repository index files = The tools [[DebianMan:1/dpkg-scanpackages|dpkg-scanpackages(1)]] and [[DebianMan:1/dpkg-scansources|dpkg-scansources(1)]] (from package DebPkg: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.