From: Tobias Geerinckx-Rice via Bug reports for GNU Guix <bug-guix@gnu.org>
To: 42378@debbugs.gnu.org
Subject: bug#42378: [PATCH 1/2] guix-install.sh: Suggest running gpg as root.
Date: Wed, 15 Jul 2020 22:04:46 +0200 [thread overview]
Message-ID: <20200715200447.605-1-me@tobias.gr> (raw)
In-Reply-To: <87k0z4k1za.fsf@nckx>
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
next prev parent reply other threads:[~2020-07-15 20:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-15 19:33 bug#42378: Improve guix-install.sh's messages Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-07-15 20:04 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix [this message]
2020-07-15 20:04 ` bug#42378: [PATCH 2/2] guix-install.sh: Make sure /etc/profile is sourced Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-07-16 10:22 ` bug#42378: Improve guix-install.sh's messages Ludovic Courtès
2020-07-16 18:17 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200715200447.605-1-me@tobias.gr \
--to=bug-guix@gnu.org \
--cc=42378@debbugs.gnu.org \
--cc=me@tobias.gr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.