From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: New =?utf-8?Q?=E2=80=9Cguix_refresh=E2=80=9D?= command Date: Sat, 11 May 2013 12:10:43 +0200 Message-ID: <877gj5su70.fsf@gnu.org> References: <87ehdzlg89.fsf@gnu.org> <87d2t2ehnp.fsf@karetnikov.org> <87d2t24ejj.fsf@gnu.org> <87bo8jfziy.fsf@karetnikov.org> <87obcjt1x5.fsf@gnu.org> <87fvxu30pi.fsf@karetnikov.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53090) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ub6lT-0002EZ-CS for bug-guix@gnu.org; Sat, 11 May 2013 06:10:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ub6lS-0003pT-9H for bug-guix@gnu.org; Sat, 11 May 2013 06:10:55 -0400 Received: from [2a01:e0b:1:123:ca0a:a9ff:fe03:271e] (port=42505 helo=xanadu.aquilenet.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ub6lS-0003oy-3H for bug-guix@gnu.org; Sat, 11 May 2013 06:10:54 -0400 In-Reply-To: <87fvxu30pi.fsf@karetnikov.org> (Nikita Karetnikov's message of "Sat, 11 May 2013 02:54:33 +0400") 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-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Nikita Karetnikov Cc: bug-guix@gnu.org Nikita Karetnikov skribis: >>> In execlp of gpg2: No such file or directory > >> You need to have GnuPG 2.x installed: > >> guix package -i gnupg > > Why is it trying to download tarballs after this error? I think it > should print an error message and exit. Doesn=E2=80=99t fe3e603 address this? Oh, maybe it doesn=E2=80=99t disting= uish between =E2=80=9Ccommand not found=E2=80=9D and some other error, that=E2=80=99s wh= at you mean? > How can I use packages from my profile? I've added > '/root/.guix-profile' to PATH + /bin > '/root/.guix-profile/bin/gpg2' fails to resolve host 'keys.gnupg.net'. Interesting: guile -c '(gethostbyname "keys.gnupg.net")' works guile -c '(getaddrinfo "keys.gnupg.net")' doesn=E2=80=99t I=E2=80=99m not sure why this is the case, but I think we=E2=80=99ll switch= to pgp.mit.edu for now (keys.gnupg.net also seems to be down from time to time anyway.) > '/etc/resolv.conf' isn't empty; '/usr/bin/gpg' works fine. /usr/bin/gpg uses a different libc, and perhaps it uses the IPv4-only gethostbyname too. > And I still think that 'guix refresh' must ask before importing a key. Patches welcome. :-) Ludo=E2=80=99.