[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#42378: [PATCH 1/2] guix-install.sh: Suggest running gpg as root.
From: |
Tobias Geerinckx-Rice |
Subject: |
bug#42378: [PATCH 1/2] guix-install.sh: Suggest running gpg as root. |
Date: |
Wed, 15 Jul 2020 22:04:46 +0200 |
The original example regularly prevented new users from installing Guix
at all.
* etc/guix-install.scm (chk_gpg_keyring): Suggest ‘sudo -i gpg’.
---
etc/guix-install.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/etc/guix-install.sh b/etc/guix-install.sh
index 54bd813efd..efcc3d81d8 100755
--- a/etc/guix-install.sh
+++ b/etc/guix-install.sh
@@ -111,7 +111,7 @@ chk_gpg_keyring()
# systems where gpg has never been used, causing errors and confusion.
gpg --dry-run --list-keys ${OPENPGP_SIGNING_KEY_ID} >/dev/null 2>&1 || (
_err "${ERR}Missing OpenPGP public key. Fetch it with this command:"
- echo " wget https://sv.gnu.org/people/viewgpg.php?user_id=15145 -qO -
| gpg --import -"
+ echo " wget https://sv.gnu.org/people/viewgpg.php?user_id=15145 -qO -
| sudo -i gpg --import -"
exit 1
)
}
--
2.27.0