bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New “guix refresh” command


From: Ludovic Courtès
Subject: Re: New “guix refresh” command
Date: Sat, 11 May 2013 12:10:43 +0200
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.3 (gnu/linux)

Nikita Karetnikov <address@hidden> 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’t fe3e603 address this?  Oh, maybe it doesn’t distinguish between
“command not found” and some other error, that’s what 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’t

I’m not sure why this is the case, but I think we’ll 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’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]