Translation(s): 한국어(Korean)


This document summarizes 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.

RepositoryFormat (WIP)

APT 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 meta-data used by APT Preferences due to the collision of 2 types of Release files.

For the secure APT compatibility, the modern package archive must be signed by the GPG.

References:

APT Archive Generation Tools

The full package archive similar to the official archive can be created using:

The Private Package Archive (PPA) can be created on a web server with a shell account using:

Both people.debian.org and alioth.debian.org are installed with these packages.

dak (Debian Archive Kit)

mini-dak

reprepro (formerly known as mirrorer)

mini-dinstall

debarchiver

debpool

DebMarshal

Built by Google for their use.

apt-ftparchive

dpkg-scanpackages and dpkg-scansources

APT Archive Mirroring Tools

ftpsync

debmirror

apt-mirror

debpartial-mirror

apt-move

anonftpsync (deprecated)

See also


CategoryPackageManagement