From d888ddb7b5a301e35993d5f01cbbed27b23f7a5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Roth?= Date: Sat, 11 Jan 2025 11:19:43 +0100 Subject: [PATCH] update README --- README.rst | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/README.rst b/README.rst index a53990db6..243b3cbb3 100644 --- a/README.rst +++ b/README.rst @@ -42,21 +42,22 @@ Current limitations: Install Stable Version ----------------------- -To install aptly on Debian/Ubuntu, add new repository to ``/etc/apt/sources.list``:: +Aptly packages (aptly, aptly-api) are available in `Debian ` and `Ubuntu `. - deb http://repo.aptly.info/ squeeze main +To install upstream aptly versions, add the following to ``/etc/apt/sources.list.d/aptly.list``:: + + deb [signed-by=/etc/apt/keyrings/aptly.asc] http://repo.aptly.info/release DIST main +Where DIST needs to be changed to the distribution: buster / bullseye / bookworm (Debian) or focal / jammy / noble (Ubuntu). And import key that is used to sign the release:: - $ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EE727D4449467F0E + $ sudo wget -O /etc/apt/keyrings/aptly.asc https://www.aptly.info/pubkey.txt +For releases older than Debian 12 and Ubuntu 22.04, create the directory first: ``sudo mkdir /etc/apt/keyrings``. After that you can install aptly as any other software package:: $ apt-get update - $ apt-get install aptly - -Don't worry about squeeze part in repo name: aptly package should work on Debian squeeze+, -Ubuntu 10.0+. Package contains aptly binary, man page and bash completion. + $ apt-get install aptly # aptly-api Other Binaries ~~~~~~~~~~~~~~~~~