unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#37939: guix-install.sh: Fails to detect signing key on Debian10.
@ 2019-10-27  8:59 Kai Mertens
  2019-10-27 12:15 ` Bengt Richter
  2020-05-22  0:18 ` bug#37939: guix-install.sh: Fails to detect signing key zimoun
  0 siblings, 2 replies; 6+ messages in thread
From: Kai Mertens @ 2019-10-27  8:59 UTC (permalink / raw)
  To: 37939

[-- Attachment #1: Type: text/plain, Size: 1143 bytes --]

Dear GNU Guix developers,

I just tried to install guix on top of a fresh debian10 system, which
has been installed from debian-live-10.0.0-amd64-gnome.iso and updated.

The guix install script fails in function chk_gpg_keyring(), although
the key is present.

If I remove the discard redirection >/dev/null 2>&1 from the gpg
command, the following message occurs:

 gpg: keyblock resource '/root/.gnupg/pubring.kbx': No such file or directory
 gpg: Fatal: /root/.gnupg: directory does not exist!

Of course these files do not exist, as I imported the key to the user
account, not to the root account. Then I executed the script as user,
using sudo.

This procedure works fine on trisquel7 or 8, but it fails on debian10.

I wonder why ‘sudo gpg’ does not make a difference between being called
via sudo versus being called as root.

Do I use debian the wrong way?

best regards
Kai

-- 
Kai Mertens <kmx@posteo.net>
OpenPGP Key-ID: 0x40B15AB4B05B5BF1 on keys.gnupg.net
Key fingerprint = 7C83 0A80 01FF 679C 6E8E  AFD3 40B1 5AB4 B05B 5BF1
What is that? Please check: https://emailselfdefense.fsf.org/en/


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-05-22  0:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-27  8:59 bug#37939: guix-install.sh: Fails to detect signing key on Debian10 Kai Mertens
2019-10-27 12:15 ` Bengt Richter
2019-11-16  1:29   ` Kai Mertens
2019-11-18 10:24     ` zimoun
2020-02-21 14:24       ` zimoun
2020-05-22  0:18 ` bug#37939: guix-install.sh: Fails to detect signing key zimoun

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).