aptly

Debian repository management tool for creating and managing package mirrors

brewmacoslinux
Try with needOr install directly
Source

About

Swiss army knife for Debian repository management

Commands

aptly

Examples

Create a local repository for Debian packages$ aptly repo create -comment='My repo' my-repo
Mirror a remote Debian repository$ aptly mirror create -architectures=amd64,i386 debian-mirror http://deb.debian.org/debian bullseye
Publish a repository snapshot for APT clients$ aptly publish snapshot -architectures=amd64 my-snapshot