How To Create a Debian/Ubuntu Repository for DEB Packages
Initial Setup Required Debian packages: reprepro Create a directory for the repository and its configuration: $ mkdir -p repo/conf Create a conf/distributions configuration file like this: Put my putinrepo script into the repo or next to it: "Export" the repo to create the metadata files for the empty repo: $ repo/putinrepo.sh $ tree repo repo ├── putinrepo.sh ├── conf │ └── distributions ├── db │ ├── checksums.db │ ├── contents.cache.db │ ├── packages.db │ ├── references.db │ ├── release.caches.db │ └── version └── dists ├── precise │ ├── main │ │ ├── binary-amd64 │ │ │ ├── Packages │ │ │ ├── Packages.gz │ │ │ └── Release │ │ ├── binary-armel │ │ │ ├── Packages │ │ │ ├── Packages.gz │ │ │ └── Release │ │ └── binary-i386 │ │ ├── Packages │ │ ├── Packages.gz │ │ └── Release │ └── Release ├── quantal │ ├──