From 0bc1ff0e4f135c43e46008c81f0c19e68d79ba0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Derzsi=20D=C3=A1niel?= Date: Fri, 15 Apr 2022 11:13:28 +0300 Subject: [PATCH] readme: Update import instructions since apt-key is now deprecated --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e04412d..9343e51 100644 --- a/README.md +++ b/README.md @@ -24,8 +24,8 @@ This kind of setup might not be useful (or too risky) for some people, in that c Users will simply have to install the official `https://deb.tohka.us` Debian package repository, by dropping the package list into `/etc/apt/sources.list.d` (or straight into `/etc/apt/sources.list`, if you'd like), and then importing the GPG key that the Linux kernel packages are signed with. ``` -echo "deb https://deb.tohka.us sid main" | sudo tee /etc/apt/sources.list.d/tohka.list -sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E4012B02CD659038 +echo "deb [signed-by=/usr/share/keyrings/kernelcollector-archive-keyring.gpg] https://deb.tohka.us sid main" | sudo tee /etc/apt/sources.list.d/tohka.list +sudo gpg --no-default-keyring --keyring /usr/share/keyrings/kernelcollector-archive-keyring.gpg --keyserver keyserver.ubuntu.com --recv-keys E4012B02CD659038 sudo apt update ```