Browse Source

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’.
gn-latest-20200725
Tobias Geerinckx-Rice 1 year ago
parent
commit
4089d7920f
No known key found for this signature in database GPG Key ID: DB0FF884F556D79
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      etc/guix-install.sh

+ 1
- 1
etc/guix-install.sh View File

@ -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
)
}


Loading…
Cancel
Save