From d50a208eddad661d0c93cbc61d37793ad73dad23 Mon Sep 17 00:00:00 2001 From: Chau Thai Date: Mon, 2 Dec 2019 23:18:59 +0100 Subject: [PATCH] Fixed sudo sudo issue --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 11ce44c4e..d0d3b6029 100644 --- a/README.md +++ b/README.md @@ -242,9 +242,9 @@ To install from a Debian Repository: For Debian-based systems like Ubuntu, configure the Debian ROCm repository as follows: - wget -qO - http://repo.radeon.com/rocm/apt/debian/rocm.gpg.key | - sudo sudo apt-key add -sudo sh -c 'echo deb [arch=amd64] http://repo.radeon.com/rocm/apt/debian/ xenial main - > /etc/apt/sources.list.d/rocm.list' + wget -qO - http://repo.radeon.com/rocm/apt/debian/rocm.gpg.key | sudo sudo apt-key - + + echo 'deb [arch=amd64] http://repo.radeon.com/rocm/apt/debian/ xenial main' | sudo tee /etc/apt/sources.list.d/rocm.list The gpg key may change; ensure it is updated when installing a new release. If the key signature verification fails while updating, re-add the key from the ROCm apt repository.