GNU bug report logs -
#47734
Guix install script on foreign distro fails to add berlin public key
Previous Next
Reported by: Julien Lepiller <julien <at> lepiller.eu>
Date: Mon, 12 Apr 2021 19:49:01 UTC
Severity: normal
Tags: moreinfo, notabug
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 47734 in the body.
You can then email your comments to 47734 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#47734
; Package
guix
.
(Mon, 12 Apr 2021 19:49:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Julien Lepiller <julien <at> lepiller.eu>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Mon, 12 Apr 2021 19:49:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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 :)
Added indication that bug 47734 blocks47297
Request was from
Leo Famulari <leo <at> famulari.name>
to
control <at> debbugs.gnu.org
.
(Tue, 13 Apr 2021 18:27:01 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#47734
; Package
guix
.
(Wed, 14 Apr 2021 19:54:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 47734 <at> debbugs.gnu.org (full text, mbox):
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?
Removed indication that bug 47734 blocks
Request was from
Leo Famulari <leo <at> famulari.name>
to
control <at> debbugs.gnu.org
.
(Wed, 14 Apr 2021 19:54:02 GMT)
Full text and
rfc822 format available.
Added indication that bug 47734 blocks47297
Request was from
Leo Famulari <leo <at> famulari.name>
to
control <at> debbugs.gnu.org
.
(Sat, 17 Apr 2021 18:31:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#47734
; Package
guix
.
(Tue, 20 Apr 2021 00:49:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 47734 <at> debbugs.gnu.org (full text, mbox):
On Wed, Apr 14, 2021 at 03:52:56PM -0400, Leo Famulari wrote:
> Can anybody reproduce this bug?
Ping?
Information forwarded
to
bug-guix <at> gnu.org
:
bug#47734
; Package
guix
.
(Wed, 21 Apr 2021 12:46:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 47734 <at> debbugs.gnu.org (full text, mbox):
Hi Julien,
Julien Lepiller <julien <at> 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’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#47734
; Package
guix
.
(Wed, 21 Apr 2021 15:47:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 47734 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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 <at> gnu.org> a écrit :
>Hi Julien,
>
>Julien Lepiller <julien <at> 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’.
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#47734
; Package
guix
.
(Wed, 21 Apr 2021 19:57:01 GMT)
Full text and
rfc822 format available.
Message #26 received at 47734 <at> debbugs.gnu.org (full text, mbox):
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’.
Added tag(s) moreinfo.
Request was from
Ludovic Courtès <ludo <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Fri, 23 Apr 2021 09:32:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#47734
; Package
guix
.
(Sun, 25 Apr 2021 19:56:02 GMT)
Full text and
rfc822 format available.
Message #31 received at 47734 <at> debbugs.gnu.org (full text, mbox):
Ludovic Courtès <ludo <at> 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’.
Added tag(s) notabug.
Request was from
Ludovic Courtès <ludo <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sun, 25 Apr 2021 19:56:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
47734 <at> debbugs.gnu.org and Julien Lepiller <julien <at> lepiller.eu>
Request was from
Ludovic Courtès <ludo <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sun, 25 Apr 2021 19:56:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 24 May 2021 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 331 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.