From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kai Mertens Subject: bug#37939: guix-install.sh: Fails to detect signing key on Debian10. Date: Sun, 27 Oct 2019 09:59:39 +0100 Message-ID: <20191027095752.2b4d8975.kmx@posteo.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/AsRnLHeDqdZnLI/FV7ZgDW8"; protocol="application/pgp-signature"; micalg=pgp-sha512 Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:41694) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iOeQ5-0003ON-2h for bug-guix@gnu.org; Sun, 27 Oct 2019 05:01:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iOeQ3-0001GZ-8L for bug-guix@gnu.org; Sun, 27 Oct 2019 05:01:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32848) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iOeQ2-0001GS-6F for bug-guix@gnu.org; Sun, 27 Oct 2019 05:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iOeQ2-000661-3y for bug-guix@gnu.org; Sun, 27 Oct 2019 05:01:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:41680) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iOePm-00032C-RO for bug-guix@gnu.org; Sun, 27 Oct 2019 05:00:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iOePl-0001Ce-F0 for bug-guix@gnu.org; Sun, 27 Oct 2019 05:00:46 -0400 Received: from mout02.posteo.de ([185.67.36.66]:52607) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iOePk-0001C9-Vo for bug-guix@gnu.org; Sun, 27 Oct 2019 05:00:45 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 105B42400FD for ; Sun, 27 Oct 2019 10:00:41 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 471Bdj437Yz9rxG for ; Sun, 27 Oct 2019 10:00:41 +0100 (CET) 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: 37939@debbugs.gnu.org --Sig_/AsRnLHeDqdZnLI/FV7ZgDW8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 directo= ry 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 =E2=80=98sudo gpg=E2=80=99 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 --=20 Kai Mertens OpenPGP Key-ID: 0x40B15AB4B05B5BF1 on keys.gnupg.net Key fingerprint =3D 7C83 0A80 01FF 679C 6E8E AFD3 40B1 5AB4 B05B 5BF1 What is that? Please check: https://emailselfdefense.fsf.org/en/ --Sig_/AsRnLHeDqdZnLI/FV7ZgDW8 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfIMKgAH/Z5xujq/TQLFatLBbW/EFAl21XHsACgkQQLFatLBb W/FefRAApEiOMID58UFXkMKpcOUiZdRpu69W2IbMb2/pXm3mJfJ/inmIqU/TVSyD /Xt3/vuy0YjoVJhkf35FYG7WAAy9/Yvfw6LEHDHJXQ5na/Cn+0JNuL46BkBBUcjx N59C+muL/n5Sz8SuIsrO1NY/ltNgBoYoQt1/yCa6m0xA1I0LHDQtKdtV6EAykia4 d3jDVB7G01UY4asm2rjXfelgypI/Yol8x0RciXXQzHZLKl25lqAob4IjG31sAQ1Z R8AVufgerQEk/+k1ysDPxbknRFCqUVZ810JPx/lohKH401V8SPrz4yGyhSQhhk20 XZ+8CmnAYmejDbGpzgj2+bfC9jsrdsH40DfqIthcYbjSLlPU7H1cbDCLCvTCiDIq a2utjUMymRDo+AYTIrSpDmx24NsJxLTm7PNqatwxqMjN50PPnkNerSSL2ltYvmes /oUc5cg3/PnHQvFPi8YRb5NqPuI75Tot5XnZJDnjRO75203iPwUXUnW26k49hfyt T8qYTGn2abkqBO9f6YStwpLejnNY1g4i0C3vqLdYj/StKsGaQlsj8sf+FlToA8kg C4Pzxke0SG16lftJPF05cv+23B03CJciqIlAvMTphzDCTsac7nFr34cGIdKUvesB DuwjDmSylNwQgnm2uwcGNduU+mb3UZvggtbX7zu7WisK9YgmHb0= =hD7n -----END PGP SIGNATURE----- --Sig_/AsRnLHeDqdZnLI/FV7ZgDW8--