Skip to content

Commit 707ed36

Browse files
authored
Merge pull request #722 from ZephOne/doc-remove-apt-key-use-as-deprecated
Use gpg instead of apt-key during for deb install
2 parents b57be41 + d19f9a2 commit 707ed36

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

docs/installation.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,19 @@ Configure the repository:
3939

4040
.. code-block:: ini
4141
42-
deb [arch=amd64] https://ltb-project.org/debian/stable stable main
42+
deb [arch=amd64 signed-by=/etc/apt/keyrings/ltb-project.gpg] https://ltb-project.org/debian/stable stable main
43+
44+
Create repository key folder, if it doesn't exist:
45+
46+
.. prompt:: bash #
47+
48+
sudo mkdir -p /etc/apt/keyrings
4349

4450
Import repository key:
4551

4652
.. prompt:: bash #
4753

48-
wget -O - https://ltb-project.org/documentation/_static/RPM-GPG-KEY-LTB-project | sudo apt-key add -
54+
wget -O - https://ltb-project.org/documentation/_static/RPM-GPG-KEY-LTB-project | gpg --dearmor -o /etc/apt/keyrings/ltb-project.gpg
4955

5056
Then update:
5157

0 commit comments

Comments
 (0)