From 3f4815f3ee88376cab1fa65cfd1db177e62e32c5 Mon Sep 17 00:00:00 2001 From: ThamesDev <86201791+ThamesDev@users.noreply.github.com> Date: Sun, 20 Jun 2021 18:53:42 +0100 Subject: [PATCH 1/4] Changing a line of the Linux installation apt-key has been deprecated. Here I have suggested an alternative, (slightly more future-proof) way to install. Apologies if the code isn't the most efficient, I'm very new to this! --- content/getting-started/sections/installing-atom.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/getting-started/sections/installing-atom.md b/content/getting-started/sections/installing-atom.md index 62faa36106..a281de0f9b 100644 --- a/content/getting-started/sections/installing-atom.md +++ b/content/getting-started/sections/installing-atom.md @@ -78,7 +78,9 @@ To install Atom on Debian, Ubuntu, or related distributions, add our official package repository to your system by running the following commands: ``` command-line -$ wget -qO - https://packagecloud.io/AtomEditor/atom/gpgkey | sudo apt-key add - +# apt-key has been deprecated. These two commands are used in its place. +$ sudo touch /usr/share/keyrings/atom-archive-keyring.gpg +$ wget -qO - https://packagecloud.io/AtomEditor/atom/gpgkey | gpg --dearmor | sudo tee /usr/share/keyrings/atom-archive-keyring.gpg $ sudo sh -c 'echo "deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main" > /etc/apt/sources.list.d/atom.list' $ sudo apt-get update ``` From fe50243deb3b12d7022d076d26db6cc498c4e727 Mon Sep 17 00:00:00 2001 From: Thames <86201791+ThamesDev@users.noreply.github.com> Date: Sun, 20 Jun 2021 21:47:43 +0100 Subject: [PATCH 2/4] Clean up installing-atom.md Clean up the code, remove an unnecessary comment. --- content/getting-started/sections/installing-atom.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/content/getting-started/sections/installing-atom.md b/content/getting-started/sections/installing-atom.md index a281de0f9b..5b80f8cdfb 100644 --- a/content/getting-started/sections/installing-atom.md +++ b/content/getting-started/sections/installing-atom.md @@ -78,8 +78,6 @@ To install Atom on Debian, Ubuntu, or related distributions, add our official package repository to your system by running the following commands: ``` command-line -# apt-key has been deprecated. These two commands are used in its place. -$ sudo touch /usr/share/keyrings/atom-archive-keyring.gpg $ wget -qO - https://packagecloud.io/AtomEditor/atom/gpgkey | gpg --dearmor | sudo tee /usr/share/keyrings/atom-archive-keyring.gpg $ sudo sh -c 'echo "deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main" > /etc/apt/sources.list.d/atom.list' $ sudo apt-get update From 6962340bcce354f9afe3752bea9aa0f29b604554 Mon Sep 17 00:00:00 2001 From: Thames <86201791+ThamesDev@users.noreply.github.com> Date: Wed, 7 Jul 2021 08:11:04 +0100 Subject: [PATCH 3/4] Update installing-atom.md --- content/getting-started/sections/installing-atom.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/getting-started/sections/installing-atom.md b/content/getting-started/sections/installing-atom.md index 5b80f8cdfb..0edebc3438 100644 --- a/content/getting-started/sections/installing-atom.md +++ b/content/getting-started/sections/installing-atom.md @@ -79,7 +79,7 @@ package repository to your system by running the following commands: ``` command-line $ wget -qO - https://packagecloud.io/AtomEditor/atom/gpgkey | gpg --dearmor | sudo tee /usr/share/keyrings/atom-archive-keyring.gpg -$ sudo sh -c 'echo "deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main" > /etc/apt/sources.list.d/atom.list' + $ sudo sh -c 'echo "deb [signed-by=/usr/share/keyrings/atom-archive-keyring.gpg arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main" > /etc/apt/sources.list.d/atom.list' $ sudo apt-get update ``` From 7059c322e810401c807b77795afeaac6b0e33e3a Mon Sep 17 00:00:00 2001 From: Thames <86201791+ThamesDev@users.noreply.github.com> Date: Wed, 7 Jul 2021 08:11:36 +0100 Subject: [PATCH 4/4] Update installing-atom.md --- content/getting-started/sections/installing-atom.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/getting-started/sections/installing-atom.md b/content/getting-started/sections/installing-atom.md index 0edebc3438..2e9c1b0476 100644 --- a/content/getting-started/sections/installing-atom.md +++ b/content/getting-started/sections/installing-atom.md @@ -79,7 +79,7 @@ package repository to your system by running the following commands: ``` command-line $ wget -qO - https://packagecloud.io/AtomEditor/atom/gpgkey | gpg --dearmor | sudo tee /usr/share/keyrings/atom-archive-keyring.gpg - $ sudo sh -c 'echo "deb [signed-by=/usr/share/keyrings/atom-archive-keyring.gpg arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main" > /etc/apt/sources.list.d/atom.list' +$ sudo sh -c 'echo "deb [signed-by=/usr/share/keyrings/atom-archive-keyring.gpg arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main" > /etc/apt/sources.list.d/atom.list' $ sudo apt-get update ```