From mboxrd@z Thu Jan 1 00:00:00 1970 From: swedebugia Subject: bug#33326: gnupg: error: .config/guix/upstream/trustedkeys.kbx': No such file or directory Date: Fri, 9 Nov 2018 19:20:04 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gLBK9-0005aP-RI for bug-guix@gnu.org; Fri, 09 Nov 2018 13:16:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gLBK6-0002Qt-G3 for bug-guix@gnu.org; Fri, 09 Nov 2018 13:16:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:39677) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gLBK6-0002Qf-A0 for bug-guix@gnu.org; Fri, 09 Nov 2018 13:16:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gLBK6-0004KC-4G for bug-guix@gnu.org; Fri, 09 Nov 2018 13:16:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46846) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gLBIv-0004wL-1Z for bug-guix@gnu.org; Fri, 09 Nov 2018 13:14:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gLBIn-0001Bw-0v for bug-guix@gnu.org; Fri, 09 Nov 2018 13:14:48 -0500 Received: from mx1.riseup.net ([198.252.153.129]:51650) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gLBIc-00014S-2F for bug-guix@gnu.org; Fri, 09 Nov 2018 13:14:34 -0500 Received: from piha.riseup.net (piha-pn.riseup.net [10.0.1.163]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 1E6581A03E6 for ; Fri, 9 Nov 2018 10:14:26 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by piha.riseup.net with ESMTPSA id 51B2265A6F for ; Fri, 9 Nov 2018 10:14:25 -0800 (PST) Content-Language: en-US List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 33326@debbugs.gnu.org This happened in a GuixSD 0.15 VM inside this env: $ guix environment guix --ad-hoc help2man git strace=C2=A0=C2=A0 pkg-conf= ig less=20 binutils coreutils grep guile guile-git guile-json gcc gnupg --no-grafts=20 -l ~/my-packages/guile-gcrypt.scm -- Starting download of /tmp/guix-file.HZZqZi From https://ftpmirror.gnu.org/gnu/artanis/artanis-0.2.5.tar.gz... following redirection to=20 `https://mirror.us-midwest-1.nexcess.net/gnu/artanis/artanis-0.2.5.tar.gz= '... =C2=A0=E2=80=A62.5.tar.gz=C2=A0 506KiB=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 307KiB= /s 00:02=20 [##################] 100.0% Starting download of /tmp/guix-file.7s85Nf >From https://ftpmirror.gnu.org/gnu/artanis/artanis-0.2.5.tar.gz.sig... following redirection to=20 `https://mirrors.tripadvisor.com/gnu/artanis/artanis-0.2.5.tar.gz.sig'... =C2=A0=E2=80=A65.tar.gz.sig=C2=A0 833B=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 395KiB= /s 00:00=20 [##################] 100.0% gpgv: keyblock resource=20 '/home/sdb/.config/guix/upstream/trustedkeys.kbx': No such file or direct= ory gpgv: Signature made Mon 07 May 2018 08:20:36 PM CEST gpgv:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 using RSA key F53B4C5695B5E4D56093432484696772846A0= 058 gpgv: Can't check signature: No public key Would you like to add this key to keyring=20 '/home/sdb/.config/guix/upstream/trustedkeys.kbx'? y gpg: failed to create temporary file=20 '/home/sdb/.gnupg/.#lk0x0000000000f6bb70.komputilo.1978': No such file=20 or directory gpg: connecting dirmngr at '/home/sdb/.gnupg/S.dirmngr' failed: No such=20 file or directory gpg: keyserver receive failed: No dirmngr gpgv: Signature made Mon 07 May 2018 08:20:36 PM CEST gpgv:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 using RSA key F53B4C5695B5E4D56093432484696772846A0= 058 gpgv: Can't check signature: No public key guix refresh: warning: signature verification failed for=20 `mirror://gnu/artanis/artanis-0.2.5.tar.gz' guix refresh: warning: (could be because the public key is not in your=20 keyring) guix refresh: warning: artanis: version 0.2.5 could not be downloaded=20 and authenticated; not updating $ gpg --version gpg (GnuPG) 2.2.8 libgcrypt 1.8.2 -- "gpg" had just been installed for the env and had never been run (thus=20 directories obviously needed was not present) Running gpg and guix again fixed the problem: -- sdb@komputilo ~/guix-tree [env]$ gpg gpg: directory '/home/sdb/.gnupg' created gpg: keybox '/home/sdb/.gnupg/pubring.kbx' created gpg: WARNING: no command supplied.=C2=A0 Trying to guess what you mean ..= . gpg: Go ahead and type your message ... ^C gpg: signal Interrupt caught ... exiting sdb@komputilo ~/guix-tree [env]$ ./pre-inst-env guix refresh artanis -u ;;; note: source file /home/sdb/guix-tree/gnu/packages/guile.scm ;;;=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 newer than compiled /home/sdb/gui= x-tree/gnu/packages/guile.go ;;; note: source file /home/sdb/guix-tree/gnu/packages/guile.scm ;;;=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 newer than compiled=20 /run/current-system/profile/lib/guile/2.2/site-ccache/gnu/packages/guile.= go Starting download of /tmp/guix-file.Egm4qn From https://ftpmirror.gnu.org/gnu/artanis/artanis-0.2.5.tar.gz... following redirection to=20 `https://mirrors.ocf.berkeley.edu/gnu/artanis/artanis-0.2.5.tar.gz'... =C2=A0=E2=80=A62.5.tar.gz=C2=A0 506KiB=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 357KiB= /s 00:01=20 [##################] 100.0% Starting download of /tmp/guix-file.YwaD7f >From https://ftpmirror.gnu.org/gnu/artanis/artanis-0.2.5.tar.gz.sig... following redirection to=20 `https://ftp.wayne.edu/gnu/artanis/artanis-0.2.5.tar.gz.sig'... =C2=A0=E2=80=A65.tar.gz.sig=C2=A0 833B=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 577KiB= /s 00:00=20 [##################] 100.0% gpgv: Signature made Mon 07 May 2018 08:20:36 PM CEST gpgv:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 using RSA key F53B4C5695B5E4D56093432484696772846A0= 058 gpgv: Can't check signature: No public key Would you like to add this key to keyring=20 '/home/sdb/.config/guix/upstream/trustedkeys.kbx'? y gpg: /home/sdb/.gnupg/trustdb.gpg: trustdb created gpg: key 84696772846A0058: public key "Mu Lei (Mu Lei known as=20 NalaGinrut holds this key) " imported gpg: Total number processed: 1 gpg:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 imported: 1 gpgv: Signature made Mon 07 May 2018 08:20:36 PM CEST gpgv:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 using RSA key F53B4C5695B5E4D56093432484696772846A0= 058 gpgv: Good signature from "Mu Lei (Mu Lei known as NalaGinrut holds this=20 key) " gpgv:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 aka "Mu Lei (Alternative) " gnu/packages/guile.scm:556:15: artanis: updating from version 0.2.1-3 to=20 version 0.2.5... -- Success! I think this is a bug in gpg. What do you think? --=20 Cheers Swedebugia