unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#47734: Guix install script on foreign distro fails to add berlin public key
@ 2021-04-12 19:48 Julien Lepiller
  2021-04-14 19:52 ` Leo Famulari
  2021-04-21 12:45 ` Ludovic Courtès
  0 siblings, 2 replies; 7+ messages in thread
From: Julien Lepiller @ 2021-04-12 19:48 UTC (permalink / raw)
  To: 47734

Hi Guix!

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 :)




^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#47734: Guix install script on foreign distro fails to add berlin public key
  2021-04-12 19:48 bug#47734: Guix install script on foreign distro fails to add berlin public key Julien Lepiller
@ 2021-04-14 19:52 ` Leo Famulari
  2021-04-20  0:48   ` Leo Famulari
  2021-04-21 12:45 ` Ludovic Courtès
  1 sibling, 1 reply; 7+ messages in thread
From: Leo Famulari @ 2021-04-14 19:52 UTC (permalink / raw)
  To: Julien Lepiller; +Cc: 47734

On Mon, Apr 12, 2021 at 03:48:10PM -0400, Julien Lepiller wrote:
> Hi Guix!
> 
> 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 ran the script, following the instructions in the manual, on a fresh
Debian system. I had no problems.

I also ran the script, not following the instructions exactly, but
instead doing `sudo ./guix-install.sh`, and it still worked fine. I
thought that maybe there were some 'sudo' vs 'sudo --login' shenanigans,
but nothing went wrong.

Can anybody reproduce this bug?




^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#47734: Guix install script on foreign distro fails to add berlin public key
  2021-04-14 19:52 ` Leo Famulari
@ 2021-04-20  0:48   ` Leo Famulari
  0 siblings, 0 replies; 7+ messages in thread
From: Leo Famulari @ 2021-04-20  0:48 UTC (permalink / raw)
  To: Julien Lepiller; +Cc: 47734

On Wed, Apr 14, 2021 at 03:52:56PM -0400, Leo Famulari wrote:
> Can anybody reproduce this bug?

Ping?




^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#47734: Guix install script on foreign distro fails to add berlin public key
  2021-04-12 19:48 bug#47734: Guix install script on foreign distro fails to add berlin public key Julien Lepiller
  2021-04-14 19:52 ` Leo Famulari
@ 2021-04-21 12:45 ` Ludovic Courtès
  2021-04-21 15:46   ` Julien Lepiller
  1 sibling, 1 reply; 7+ messages in thread
From: Ludovic Courtès @ 2021-04-21 12:45 UTC (permalink / raw)
  To: Julien Lepiller; +Cc: 47734

Hi Julien,

Julien Lepiller <julien@lepiller.eu> 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’.




^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#47734: Guix install script on foreign distro fails to add berlin public key
  2021-04-21 12:45 ` Ludovic Courtès
@ 2021-04-21 15:46   ` Julien Lepiller
  2021-04-21 19:56     ` Ludovic Courtès
  0 siblings, 1 reply; 7+ messages in thread
From: Julien Lepiller @ 2021-04-21 15:46 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 47734

[-- Attachment #1: Type: text/plain, Size: 1191 bytes --]

I can't copy-paste easily to my email client right now, so here's a paste. I'll send the content later.

https://paste.debian.net/1194563/

Le 21 avril 2021 08:45:01 GMT-04:00, "Ludovic Courtès" <ludo@gnu.org> a écrit :
>Hi Julien,
>
>Julien Lepiller <julien@lepiller.eu> 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’.

[-- Attachment #2: Type: text/html, Size: 1631 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#47734: Guix install script on foreign distro fails to add berlin public key
  2021-04-21 15:46   ` Julien Lepiller
@ 2021-04-21 19:56     ` Ludovic Courtès
  2021-04-25 19:54       ` Ludovic Courtès
  0 siblings, 1 reply; 7+ messages in thread
From: Ludovic Courtès @ 2021-04-21 19:56 UTC (permalink / raw)
  To: Julien Lepiller; +Cc: 47734

Here’s the paste, for posterity:

--8<---------------cut here---------------start------------->8---
This script installs GNU Guix on your system

https://www.gnu.org/software/guix/
Press return to continue...
[1618245319.405]: Starting installation (Mon 12 Apr 2021 12:35:19 PM EDT)
[1618245319.409]: [ PASS ] verification of required commands completed
[1618245319.445]: [ INFO ] init system is: systemd
[1618245319.465]: [ WARN ] We recommend installing and/or starting your distribution 'nscd' service
[1618245319.467]: [ WARN ] Please read 'info guix "Application Setup"' about "Name Service Switch"
[1618245319.468]: [ INFO ] system is x86_64-linux
[1618245319.593]: [ PASS ] Release for your system: guix-binary-1.2.0.x86_64-linux
[1618245319.595]: [ INFO ] Downloading Guix release archive
guix-binary-1.2.0.x86_64-linux.tar.xz                       100%[=========================================================================================================================================>]  76.00M  68.5MB/s    in 1.1s    
guix-binary-1.2.0.x86_64-linux.tar.xz.sig                   100%[=========================================================================================================================================>]     833  --.-KB/s    in 0s      
[1618245320.829]: [ PASS ] download completed.
[1618245321.262]: [ PASS ] Signature is valid.
[1618245328.424]: [ PASS ] unpacked archive
[1618245328.426]: [ INFO ] Installing /var/guix and /gnu...
[1618245329.506]: [ INFO ] Linking the root user's profile
[1618245329.516]: [ PASS ] activated root profile at /root/.config/guix/current
[1618245330.001]: [ PASS ] group <guixbuild> created
[1618245330.698]: [ PASS ] user added <guixbuilder01>
[1618245331.389]: [ PASS ] user added <guixbuilder02>
[1618245332.274]: [ PASS ] user added <guixbuilder03>
[1618245332.907]: [ PASS ] user added <guixbuilder04>
[1618245333.583]: [ PASS ] user added <guixbuilder05>
[1618245334.203]: [ PASS ] user added <guixbuilder06>
[1618245334.874]: [ PASS ] user added <guixbuilder07>
[1618245335.520]: [ PASS ] user added <guixbuilder08>
[1618245336.215]: [ PASS ] user added <guixbuilder09>
[1618245336.853]: [ PASS ] user added <guixbuilder10>
Created symlink /etc/systemd/system/guix-daemon.service.wants/gnu-store.mount → /etc/systemd/system/gnu-store.mount.
Created symlink /etc/systemd/system/multi-user.target.wants/guix-daemon.service → /etc/systemd/system/guix-daemon.service.
[1618245337.848]: [ PASS ] enabled Guix daemon via systemd
[1618245337.849]: [ INFO ] making the guix command available to other users
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
[1618245340.514]: [ PASS ] installed shell completion
[1618245340.516]: [ INFO ] cleaning up /tmp/guix.ySI
[1618245340.528]: [ PASS ] Guix has successfully been installed!
[1618245340.529]: [ INFO ] Run 'info guix' to read the manual.
[1618245340.530]: [ INFO ] Please log out and back in to complete the installation.
--8<---------------cut here---------------end--------------->8---

We see these lines:

  [ INFO ] Installing /var/guix and /gnu...
  [ INFO ] Linking the root user's profile
  [ PASS ] activated root profile at /root/.config/guix/current

which is evidence that ~root/.config/guix/current was created and is not
a dangling symlink.  Further more, the binary tarball does contain that
.pub file:

--8<---------------cut here---------------start------------->8---
$ wget -qO - https://ftp.gnu.org/gnu/guix/guix-binary-1.2.0.x86_64-linux.tar.xz | xz -d | tar tv | grep '\.pub$'
-r--r--r-- root/root       118 1970-01-01 01:00 ./gnu/store/6rn4l3h0p9x0m615pp1ynlv9v0743kl3-guix-1.2.0/share/guix/berlin.guix.gnu.org.pub
-r--r--r-- root/root       118 1970-01-01 01:00 ./gnu/store/6rn4l3h0p9x0m615pp1ynlv9v0743kl3-guix-1.2.0/share/guix/ci.guix.gnu.org.pub
-r--r--r-- root/root       118 1970-01-01 01:00 ./gnu/store/6rn4l3h0p9x0m615pp1ynlv9v0743kl3-guix-1.2.0/share/guix/ci.guix.info.pub
--8<---------------cut here---------------end--------------->8---

So I don’t see what happened.

Julien, could it be that “something else” removed /root/.config or
/var/guix/profiles while it was running?  Or… any other idea?

Thanks,
Ludo’.




^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#47734: Guix install script on foreign distro fails to add berlin public key
  2021-04-21 19:56     ` Ludovic Courtès
@ 2021-04-25 19:54       ` Ludovic Courtès
  0 siblings, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2021-04-25 19:54 UTC (permalink / raw)
  To: Julien Lepiller; +Cc: 47734

Ludovic Courtès <ludo@gnu.org> skribis:

> Julien, could it be that “something else” removed /root/.config or
> /var/guix/profiles while it was running?  Or… any other idea?

Following our discussion on IRC, it seems likely that “something”
interfered with the installation process.  Closing as “notabug”.

Thanks,
Ludo’.




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-04-25 19:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-12 19:48 bug#47734: Guix install script on foreign distro fails to add berlin public key Julien Lepiller
2021-04-14 19:52 ` Leo Famulari
2021-04-20  0:48   ` Leo Famulari
2021-04-21 12:45 ` Ludovic Courtès
2021-04-21 15:46   ` Julien Lepiller
2021-04-21 19:56     ` Ludovic Courtès
2021-04-25 19:54       ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).