Translation(s): 한국어(Korean)


This document summarises setting up a Debian package repository.

I have taken care to provide the most accurate information at the time of writing but should you find any mistakes, please fix them.

Archive Types

There are 2 kinds of repositories from user's perspective:

archive style

apt line

apt-pinning

secure APT

status

official archive

"deb http://example.org/debian unstable main"

Yes

Yes

preferred

trivial archive

"deb http://example.org/debian ./"

No

Yes

deprecated

These archives have different meta-data structure. Both archives can store actual package files. Many older repository HOWTOs (e.g. old "Debian Reference (sarge)" and "APT HOWTO (sarge)") address creation of a "trivial archive" and are problematic since the "trivial archive" lacks support for apt-pinning and modern secure APT due to the collision of 2 types of Release files.

For creating something similar to the official archive, there are some good packages to help you but they tend to require a database server.

Available Tools

anonftpsync

dak (Debian Archive Kit)

mini-dak

reprepro (formerly known as mirrorer)

mini-dinstall

apt-ftparchive

debarchiver

dpkg-scanpackages and dpkg-scansources

debpool

DebMarshal

Built by Google for their use.

HowTos

How to setup a mini-dinstall repository on people.debian.org

See also


CategoryPackageManagement