Issue with guix-install.sh script?

DoneSubmitted by operator.name.
Details
3 participants
  • Ludovic Courtès
  • operator.name
  • zimoun
Owner
unassigned
Severity
normal
O
O
operator.name wrote on 24 Apr 2020 01:20
(name . bug-guix@gnu.org)(address . bug-guix@gnu.org)
SlKAPRI5yOfrmaDjpbQv447KCxsqHw4YhOO7CreLJIR3LtHWA-Swfyb-w-AT7Q0T4uodKyrJ0dh19_wJSR5WF7UPy5gBZ1gzbfp0tdiN75A=@protonmail.com
I'd like to preface this with the fact that I have little experience with PGP/GPG.
$ gpg --versiongpg (GnuPG) 2.2.20libgcrypt 1.8.5Copyright (C) 2020 Free Software Foundation, Inc.License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.htmlThis is free software: you are free to change and redistribute it.There is NO WARRANTY, to the extent permitted by law.
Home: /home/operator.name/.gnupgSupported algorithms:Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSACipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, CAMELLIA128, CAMELLIA192, CAMELLIA256Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224Compression: Uncompressed, ZIP, ZLIB, BZIP2
$ wget https://sv.gnu.org/people/viewgpg.php?user_id=15145-qO - | gpg --import -gpg: key 090B11993D9AEBB5: 129 signatures not checked due to missing keysgpg: key 090B11993D9AEBB5: "Ludovic Courtès <ludo@gnu.org>" not changedgpg: key 090B11993D9AEBB5: "Ludovic Courtès <ludo@gnu.org>" not changedgpg: Total number processed: 2gpg: unchanged: 2
$ sudo ./guix-install.sh ░░░ ░░░ ░░▒▒░░░░░░░░░ ░░░░░░░░░▒▒░░ ░░▒▒▒▒▒░░░░░░░ ░░░░░░░▒▒▒▒▒░ ░▒▒▒░░▒▒▒▒▒ ░░░░░░░▒▒░ ░▒▒▒▒░ ░░░░░░ ▒▒▒▒▒ ░░░░░░ ▒▒▒▒▒ ░░░░░ ░▒▒▒▒▒ ░░░░░ ▒▒▒▒▒ ░░░░░ ▒▒▒▒▒ ░░░░░ ░▒▒▒▒▒░░░░░ ▒▒▒▒▒▒░░░ ▒▒▒▒▒▒░ _____ _ _ _ _ _____ _ / ____| \ | | | | | / ____| (_) | | __| \| | | | | | | __ _ _ ___ __ | | |_ | . ' | | | | | | |_ | | | | \ \/ / | |__| | |\ | |__| | | |__| | |_| | |> < \_____|_| \_|\____/ \_____|\__,_|_/_/\_\
This script installs GNU Guix on your system
https://www.gnu.org/software/guix/Press return to continue...[1587683635.547]: Starting installation (Fri 24 Apr 00:13:55 BST 2020)[1587683635.567]: [ PASS ] verification of required commands completed[1587683635.575]: [ FAIL ] Missing OpenPGP public key. Fetch it with this command: wget https://sv.gnu.org/people/viewgpg.php?user_id=15145-qO - | gpg --import -
$ wget https://sv.gnu.org/people/viewgpg.php?user_id=15145-qO - | gpg --import -gpg: key 090B11993D9AEBB5: 129 signatures not checked due to missing keysgpg: key 090B11993D9AEBB5: "Ludovic Courtès <ludo@gnu.org>" not changedgpg: key 090B11993D9AEBB5: "Ludovic Courtès <ludo@gnu.org>" not changedgpg: Total number processed: 2gpg: unchanged: 2
$ sudo ./guix-install.sh ░░░ ░░░ ░░▒▒░░░░░░░░░ ░░░░░░░░░▒▒░░ ░░▒▒▒▒▒░░░░░░░ ░░░░░░░▒▒▒▒▒░ ░▒▒▒░░▒▒▒▒▒ ░░░░░░░▒▒░ ░▒▒▒▒░ ░░░░░░ ▒▒▒▒▒ ░░░░░░ ▒▒▒▒▒ ░░░░░ ░▒▒▒▒▒ ░░░░░ ▒▒▒▒▒ ░░░░░ ▒▒▒▒▒ ░░░░░ ░▒▒▒▒▒░░░░░ ▒▒▒▒▒▒░░░ ▒▒▒▒▒▒░ _____ _ _ _ _ _____ _ / ____| \ | | | | | / ____| (_) | | __| \| | | | | | | __ _ _ ___ __ | | |_ | . ' | | | | | | |_ | | | | \ \/ / | |__| | |\ | |__| | | |__| | |_| | |> < \_____|_| \_|\____/ \_____|\__,_|_/_/\_\
This script installs GNU Guix on your system
https://www.gnu.org/software/guix/Press return to continue...[1587683635.547]: Starting installation (Fri 24 Apr 00:13:55 BST 2020)[1587683635.567]: [ PASS ] verification of required commands completed[1587683635.575]: [ FAIL ] Missing OpenPGP public key. Fetch it with this command: wget https://sv.gnu.org/people/viewgpg.php?user_id=15145-qO - | gpg --import -
Z
Z
zimoun wrote on 24 Apr 2020 01:29
(name . operator.name)(address . operator.name@protonmail.com)(address . 40804@debbugs.gnu.org)
CAJ3okZ3n0eRfUWRyfmU-7SH9mwecOHV+FrA=ppsYp318UFCooQ@mail.gmail.com
On Fri, 24 Apr 2020 at 01:22, operator.name via Bug reports for GNUGuix <bug-guix@gnu.org> wrote:
Toggle quote (2 lines)> $ sudo ./guix-install.sh
[...]
Toggle quote (8 lines)> Press return to continue...> [1587683635.547]: Starting installation (Fri 24 Apr 00:13:55 BST 2020)> [1587683635.567]: [ PASS ] verification of required commands completed> [1587683635.575]: [ FAIL ] Missing OpenPGP public key. Fetch it with this command:> wget https://sv.gnu.org/people/viewgpg.php?user_id=15145 -qO - | gpg --import ->> $ wget https://sv.gnu.org/people/viewgpg.php?user_id=15145 -qO - | gpg --import -
sudo wget https://sv.gnu.org/people/viewgpg.php?user_id=15145-qO - |gpg --import -
Because the root needs to know the keysigning dance to check, not yourregular user.Other said, the ./guix-install.sh script is run as root and it is asroot that it check the public key.

Hope that helps.
All the best,simon
L
L
Ludovic Courtès wrote on 24 Apr 2020 16:24
(name . zimoun)(address . zimon.toutoune@gmail.com)
875zdphsg7.fsf@gnu.org
Hi,
zimoun <zimon.toutoune@gmail.com> skribis:
Toggle quote (18 lines)> On Fri, 24 Apr 2020 at 01:22, operator.name via Bug reports for GNU> Guix <bug-guix@gnu.org> wrote:>>> $ sudo ./guix-install.sh>> [...]>>> Press return to continue...>> [1587683635.547]: Starting installation (Fri 24 Apr 00:13:55 BST 2020)>> [1587683635.567]: [ PASS ] verification of required commands completed>> [1587683635.575]: [ FAIL ] Missing OpenPGP public key. Fetch it with this command:>> wget https://sv.gnu.org/people/viewgpg.php?user_id=15145 -qO - | gpg --import ->>>> $ wget https://sv.gnu.org/people/viewgpg.php?user_id=15145 -qO - | gpg --import ->> sudo wget https://sv.gnu.org/people/viewgpg.php?user_id=15145 -qO - |> gpg --import -
Rather:
wget https://sv.gnu.org/people/viewgpg.php?user_id=15145-qO - | \ sudo gpg --import -
:-)
Ludo’.
L
L
Ludovic Courtès wrote on 24 Apr 2020 16:25
control message for bug #40804
(address . control@debbugs.gnu.org)
874kt9hsfy.fsf@gnu.org
tags 40804 notabugclose 40804quit
Z
Z
zimoun wrote on 24 Apr 2020 17:27
Re: bug#40804: Issue with guix-install.sh script?
(name . Ludovic Courtès)(address . ludo@gnu.org)
CAJ3okZ3MgGnQ0N=3M9f65qSTdUqVyqApA-Ff0PWxv_Rhk=etOQ@mail.gmail.com
On Fri, 24 Apr 2020 at 16:24, Ludovic Courtès <ludo@gnu.org> wrote:
Toggle quote (7 lines)> Rather:>> wget https://sv.gnu.org/people/viewgpg.php?user_id=15145 -qO - | \> sudo gpg --import ->> :-)
Nothing good happens after 1am. ;-)
Well, it is not a bug so closing.

Feel free "operator.name" to ask such questions on help-guix@gnu.org.
All the best,simon
Closed
?