diff --git a/installation-linux-deb.md b/installation-linux-deb.md index fd50d63..89c103e 100644 --- a/installation-linux-deb.md +++ b/installation-linux-deb.md @@ -22,13 +22,14 @@ sudo apt-get install dirmngr Then import the repository key to your `gpg` keyring and export it to your `apt` keyring: ``` +sudo mkdir -p /usr/local/apt-keys gpg --fetch-keys https://neilalexander.s3.dualstack.eu-west-2.amazonaws.com/deb/key.txt -gpg --export 569130E8CA20FBC4CB3FDE555898470A764B32C9 | sudo apt-key add - +gpg --export 569130E8CA20FBC4CB3FDE555898470A764B32C9 | sudo tee /usr/local/apt-keys/yggdrasil-keyring.gpg > /dev/null ``` Add the repository into your `apt` sources: ``` -echo 'deb http://neilalexander.s3.dualstack.eu-west-2.amazonaws.com/deb/ debian yggdrasil' | sudo tee /etc/apt/sources.list.d/yggdrasil.list +echo 'deb [signed-by=/usr/local/apt-keys/yggdrasil-keyring.gpg] http://neilalexander.s3.dualstack.eu-west-2.amazonaws.com/deb/ debian yggdrasil' | sudo tee /etc/apt/sources.list.d/yggdrasil.list sudo apt-get update ```