Subject: bug#47734: Guix install script on foreign distro fails to add berlin public key

From: Ludovic Courtès <[email-masked]>
Date: Wed, 21 Apr 2021 14:45:01 +0200

Hi Julien,

Julien Lepiller <[email-masked]> skribis:

> When installing Guix on a new machine (foreign distro), substitute were not properly set up:
>
> …
> Permit downloading pre-built package binaries from the project's build farm? (yes/no) yes
> /home/roptat/guix-install.sh: line 445: /root/.config/guix/current/share/guix/ci.guix.gnu.org.pub: No such file or directory
>
> That was the latest version of the script downloaded from savannah. It downloaded and installed the 1.2.0 tarball.
>
> I was able to fix that later manually, but let's make sure the script doesn't fail like that with the release :)

I don’t see how this can happen: ‘sys_create_store’ creates
~root/.config/guix/current, before ‘sys_authorize_build_farms’ runs.

Can you reproduce it, Julien?

Alternatively, could you paste the complete output of the
guix-install.sh script when it failed?

Thanks,
Ludo’.