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 You can try it right now for free, aptly is available both as CLI tool and HTTP REST service
aptly - Download Install Aptly 1 6 2 Debian Ubuntu 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 - 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 - Tutorials How to manage repository of your own software with aptly itself as an example, includes S3 publishing
aptly - Mirroring with snapshots First, install aptly Please verify that you have aptly dependencies installed: packages bzip2 , gnupg and gpgv Second, choose some user that would be running all aptly commands (it shouldn’t be root user)
aptly - Configuration aptly looks for configuration file first in ~ aptly conf then in etc aptly conf and, if no config file found, new one is created in home directory If -config= flag is specified, aptly would use config file at specified location
aptly - Dependency Resolving aptly supports automatic recursive resolving of package dependencies For example, given set of packages pkg-a and pkg-b aptly can figure out all the package dependencies and pull them with the packages
aptly - Managing repositories of your packages In this tutorial I would describe how do I manage aptly releases in repo aptly info repository using aptly itself Adding packages and creating snapshots First, I create local repository that would hold all released versions of aptly: $ aptly repo create -distribution=squeeze -component=main aptly-release Local repo [aptly-release
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
aptly - FAQ If you have older version of apt, you can enable workaround in aptly with option plusWorkaround Q: How do I secure API access to aptly? Most easy way to protect the aptly remote API is to place it behind a reverse proxy like nginx or Apache and leverage their capabilities nginx Example: