all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kai Mertens <kmx@posteo.net>
To: 37939@debbugs.gnu.org
Subject: bug#37939: guix-install.sh: Fails to detect signing key on Debian10.
Date: Sun, 27 Oct 2019 09:59:39 +0100	[thread overview]
Message-ID: <20191027095752.2b4d8975.kmx@posteo.net> (raw)

[-- 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 --]

             reply	other threads:[~2019-10-27  9:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-27  8:59 Kai Mertens [this message]
2019-10-27 12:15 ` bug#37939: guix-install.sh: Fails to detect signing key on Debian10 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

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=20191027095752.2b4d8975.kmx@posteo.net \
    --to=kmx@posteo.net \
    --cc=37939@debbugs.gnu.org \
    /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.