summaryrefslogtreecommitdiffhomepage
path: root/g3doc
diff options
context:
space:
mode:
authorNicolas stig124 FORMICHELLA <stigpro@outlook.fr>2021-09-19 15:35:22 +0200
committerNicolas stig124 FORMICHELLA <stigpro@outlook.fr>2021-09-19 15:35:22 +0200
commitcdf61f3a40c74e3d3331e9bba5690e19b9a45b1d (patch)
tree9e6bb876f8416959f6c02ee6bf95d0cbd3d261f2 /g3doc
parent09477db2bc0535c93a09442c6b5216497b3bc7db (diff)
Deprecating apt-key
As apt-key got deprecated in Debian 11 and will be deleted from Debian 12 Replace apt-key by the supported keyring + signed-by method Related : docker/docker.github.io#11625 Debian wiki : https://wiki.debian.org/DebianRepository/UseThirdParty Signed-off-by: Nicolas stig124 FORMICHELLA <stigpro@outlook.fr>
Diffstat (limited to 'g3doc')
-rw-r--r--g3doc/user_guide/install.md9
1 files changed, 4 insertions, 5 deletions
diff --git a/g3doc/user_guide/install.md b/g3doc/user_guide/install.md
index 85ba6a161..73e953905 100644
--- a/g3doc/user_guide/install.md
+++ b/g3doc/user_guide/install.md
@@ -51,18 +51,17 @@ sudo apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
- gnupg-agent \
- software-properties-common
+ gnupg
```
Next, configure the key used to sign archives and the repository.
NOTE: The key was updated on 2021-07-13 to replace the expired key. If you get
-errors about the key being expired, run the `apt-key add` command below again.
+errors about the key being expired, run the `curl` command below again.
```bash
-curl -fsSL https://gvisor.dev/archive.key | sudo apt-key add -
-sudo add-apt-repository "deb [arch=amd64,arm64] https://storage.googleapis.com/gvisor/releases release main"
+curl -fsSL https://gvisor.dev/archive.key | sudo gpg --dearmor -o /usr/share/keyrings/gvisor-archive-keyring.gpg
+echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/gvisor-archive-keyring.gpg] https://storage.googleapis.com/gvisor/releases release main" | sudo tee /etc/apt/sources.list.d/gvisor.list > /dev/null
```
Now the runsc package can be installed: