guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

16/17: guix-install.sh: Suggest running gpg as root.


From: guix-commits
Subject: 16/17: guix-install.sh: Suggest running gpg as root.
Date: Thu, 16 Jul 2020 14:13:34 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 4089d7920fc5f27fefdde6b0fec17f3224e62377
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Wed Jul 15 21:22:01 2020 +0200

    guix-install.sh: Suggest running gpg as root.
    
    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 54bd813..efcc3d8 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
     )
 }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]