LocalAptGetRepositories

If you packaging software for [WWW] Debian Linux or [WWW] (K)Ubuntu sometimes you need not only one package, but you have to provide a dependency like a library or whatever. When those dependencies are not in the official repositories, the only way to fulfill those dependencies is to put your package inside the repository.

But what, if you don't have the permission to upload to main/universe/multiverse? So, inject your packages to your pbuilder enviroment via a local apt-get repository.

In this document I will describe how to setup a local apt-get repository, how to upload it to your root server via rsync and how to change your pbuilders sources.list.

You might wish to also check out LocalAptGetRepositoriesTrivial for a slightly easier way to make a local repository.