aptly - Debian repository management tool Aptly allows you to mirror remote repositories, manage local package repositories, take snapshots, pull new versions of packages along with dependencies, publish as Debian repository
aptly - Download aptly package is available in Debian as well as Ubuntu If you would like to install a upstream release of aptly with a different version than then Debian Ubuntu package, aptly can be installed by adding a new repository to etc apt sources list d aptly list:
aptly - Tutorials Pulling new versions of packages How to pull some packages from backports and 3rd party repositories Managing repositories of your packages How to manage repository of your own software with aptly itself as an example, includes S3 publishing
aptly - Overview aptly's goal is to establish repeatability and controlled changes in package environments aptly produces a fixed set of packages in the repository, so that package installation and upgrade becomes deterministic
aptly - Features Features List of aptly features, in no particular order: mirroring remote repositories: regular and flat repositories HTTP (S) and FTP servers are supported mirror only specified architectures components partial mirrors (with filters on packages) search mirror for packages matching query udeb packages support (Debian installer) local
aptly - Why aptly? Why aptly? A Linux distribution is a well-tested collection of packages that are carefully organized and supported by the vendor There’s support for the released version, including updates, security fixes, etc For many of us that is just enough But sooner or later our requirements start to evolve:
aptly - Mirroring with snapshots aptly is complaining about missing keys in our trusted keyring, as it’s not possible to verify authencity of files being downloaded Let’s follow the advice and import default Debian keyring:
aptly - FAQ aptly stores package files in deduplicated way in the package pool (by default in directory ~ aptly pool) You can create new mirror with new HTTP source URL and update it: aptly won’t download any files if they’re already available in the pool
aptly - REST API Documentation Aptly operations are also available via REST API served with aptly api serve On Debian based systems, a package aptly-api is available, which will run aptly as systemd service as dedicated aptly-api user
aptly - Commands Commands aptly supports commands in several basic categories: mirror: manage, update mirrors of remote repositories repo: manage local package repositories, add, remove, move, copy packages snapshot: create, merge, manage snapshots publish: publish snapshot or local repository serve: quickly export published repositories via HTTP task: manage