Useful links:
Very short todo list follows:
Install the software
aptitude install reprepro
Create your repository
mkdir -p /srv/debian-myrepos/conf cd /srv/debian-myrepos/conf cat > distributions <<EOM Origin: my own repos Label: my own repos Codename: lenny Suite: stable Architectures: i386 amd64 Components: main Description: my own APT Repository SignWith: yes EOM cat > options <<EOM verbose ask-passphrase basedir . EOM
Create your gpg key to sign the Release file
gpg --gen-key
Export pub key
gpg --export -a 76CE518A > myown.pubkey
Add .deb files to your repos
cd /srv/debian-myreos reprepro includedeb lenny /path/to/package_xyz.deb
And, as a last step: configure Apache to serve your repos files …
Add the new repos to /etc/apt/sources
echo "deb http://debmirror.example.com/debian-myrepos/ lenny main" >> /etc/apt/sources
Import public key
wget http://debmirror.example.com/myown.pubkey apt-key add myown.pubkey
And ready to use